Napkins.dev
An open source wireframe to app generator. Powered by Llama 3.2 Vision & Together.ai.
Tech stack
- Llama 3.1 405B from Meta for the LLM
- Llama 3.2 Vision from Meta for the Vision model
- Together AI for LLM inference
- Sandpack for the code sandbox
- S3 for image storage
- Next.js app router with Tailwind
- Helicone for observability
- Plausible for website analytics
Cloning & running
- Clone the repo:
git clone https://github.com/Nutlope/napkins
- Create a
.env
file and add your Together AI API key: TOGETHER_API_KEY=
- Create an S3 bucket and add the credentials to your
.env
file. Follow this guide to set them up. All required values are in the .env.example
file.
- Run
npm install
and npm run dev
to install dependencies and run locally
Future Tasks
- [ ] Make sure it looks nicer and less cluttered on mobile
- [ ] On the sidebar, show the output from the vision model
- [ ] Experiment with making it better through few shot prompts
- [ ] Add a shadcn toggle to allow folks to use or not use it
- [ ] Allow folks to edit the generated app with a prompt
- [ ] Allow folks to choose from different themes
- [ ] Show versions as the user edits the app