Skip to content

Open source Claude Artifacts – built with Llama 3.1 405B

Notifications You must be signed in to change notification settings

AshGhannam/llamacoder

 
 

Repository files navigation

Llama Coder

An open source Claude Artifacts – generate small apps with one prompt. Powered by Llama 3 405B & Together.ai.

Tech stack

  • 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

Cloning & running

  1. Clone the repo: git clone https://github.com/Nutlope/llamacoder
  2. Create a .env file and add your [Together AI API key](Together AI): TOGETHER_API_KEY=
  3. Run npm install and npm run dev to install dependencies and run locally

Future Tasks

  • New route for updateCode that only sends the latest generated code + the modify request
  • 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
  • Support different kinds of apps (not just React) & scripts with Python for example

About

Open source Claude Artifacts – built with Llama 3.1 405B

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.6%
  • CSS 4.7%
  • JavaScript 0.7%