Watch LLMs battle to build the same app and see a live leaderboard of the best OSS coding LLMs.
- LLMs on Together AI on Together AI to generate code
- Sandpack for rendering the UI code
- Next.js with TypeScript for the app framework
- Shadcn for UI components & Tailwind for styling
- Plausible & Helicone for analytics & observability
- Clone the repo:
git clone https://github.com/Nutlope/codearena
- Create a
.env
file and add your Together AI API key:TOGETHER_API_KEY=
- Create a postgres DB (I recommend Neon) and add connection details to
.env
:DATABASE_URL=
- Run
npm install
andnpm run dev
to install dependencies and run locally.
- Add two chained LLM calls generations for better results (also do a DB migration to tag each app/battle with single/multi calls)
- Add Elo scores
- Add the abilty to generate + run scripts