![Llama Coder](./public/og-image.png)
An open source Claude Artifacts – generate small apps with one prompt. Powered by Llama 3 405B & Together.ai.
- Llama 3.1 405B from Meta for the LLM
- Together AI for LLM inference
- Sandpack for the code sandbox
- Next.js app router with Tailwind
- Helicone for observability
- Plausible for website analytics
- Clone the repo:
git clone https://github.com/Nutlope/llamacoder
- Create a
.env
file and add your [Together AI API key](Together AI):TOGETHER_API_KEY=
- Run
npm install
andnpm run dev
to install dependencies and run locally
- New route for updateCode that only sends the latest generated code + the modify request
- Make it generate more consistent apps by only importing from a component library like shadcn
- Try to resolve the npm libraries issue, look into how Claude Artifacts and others deal with it
- Fix bug where if a user edits the code, then does a change, it doesn't use the edited code
- Save previous versions so people can go back and forth between the generated ones
- Apply code diffs directly instead of asking the model to generate the code from scratch'
- Add the ability to upload things like a screenshot to it for it to start from that
- Support different kinds of apps (not just React) & scripts with Python for example