Skip to content

ericciarla/napkins

 
 

Repository files navigation

Napkins

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
  • Firecrawl for website screenshot fetching
  • S3 for image storage
  • 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/napkins
  2. Create a .env file and add your Together AI API key: TOGETHER_API_KEY=
  3. Add your Firecrawl API key to the .env file
  4. 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.
  5. 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

About

napkins.dev – from screenshot to app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.3%
  • CSS 1.6%
  • JavaScript 0.1%