{"repo":"e2b-dev/fragments","free":true,"listed":false,"github":"https://github.com/e2b-dev/fragments","clone":"git clone https://github.com/e2b-dev/fragments.git","description":"Open-source Next.js template for building apps that are fully generated by AI. By E2B.","language":"TypeScript","stars":6369,"topics":["ai","ai-code-generation","anthropic","claude","e2b","javascript","llm","nextjs","react","typescript"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Fragments by E2B This is an open-source version of apps like Anthropic's Claude Artifacts, Vercel v0, or GPT Engineer. Powered by the E2B SDK. → Try on fragments.e2b.dev Features - Based on Next.js 14 (App Router, Server Actions), shadcn/ui, TailwindCSS, Vercel AI SDK. - Uses the E2B SDK by E2B to securely execute code generated by AI. - Streaming in the UI. - Can install and use any package from npm, pip. - Supported stacks (add your own): - 🔸 Python interpreter - 🔸 Next.js - 🔸 Vue.js - 🔸 Streamlit - 🔸 Gradio - Supported LLM Providers (add your own): - 🔸 OpenAI - 🔸 Anthropic - 🔸 Google AI - 🔸 Mistral - 🔸 Groq - 🔸 Fireworks - 🔸 Together AI - 🔸 Ollama - Integrates with Morph Apply model for token efficient, accurate and faster code editing. Make sure to give us a star! Get started Prerequisites - git - Recent version of Node.js and npm package manager - E2B API Key - LLM Provider API Key 1. Clone the repository In your terminal: 2. Install the dependencies Enter the repository: Run the following to install the required dependencies: 3. Set the environment variables Create a .env.local file and set the following: 4. Start the development server 5. Build the web app Customize Adding custom personas 1. Make sure E2B CLI is installed and you're logged in. 2. Add a new folder under sandbox-templates/ 3. Initialize a new template using E2B CLI: This will create a new file called e2b.Dockerfile . 4. Adjust the e2b.Dockerfile Here's an example streamlit template: 5. Speci","default_branch":null,"files":null,"tree":[],"storefront":"/r/e2b-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/e2b-dev/fragments/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}