{"version":"v1","licence":"CC-BY-4.0","id":"fragments","name":"Fragments","repo":"e2b-dev/fragments","repository_url":"https://github.com/e2b-dev/fragments","docs_url":"https://github.com/e2b-dev/fragments#readme","description":"Next.js template from E2B that generates small Next.js, Vue, Streamlit, Gradio or Python apps from a prompt and runs them in E2B cloud sandboxes.","summary":"Fragments is an Apache-2.0 Next.js app by E2B, the open-source counterpart to Claude Artifacts or v0. You prompt it, it writes a small app (Next.js, Vue.js, Streamlit, Gradio or a Python script) and runs it in an E2B cloud sandbox with a live preview. It supports OpenAI, Anthropic, Google, Mistral, Groq, Fireworks, Together AI and Ollama, but an E2B API key is always needed because code runs on E2B's cloud. No database, auth or publishing for the generated apps. Active in October 2026.","capabilities":["prompt-to-web-app","live-app-preview"],"tags":["Web app","Self-hosted","Hosted version","Bring your own API key","Local LLM support"],"alternatives":[{"product":"lovable","jobs":["prompt-to-web-app","live-app-preview"],"coverage":"partial","note":"Single-file prototypes and data apps with a preview; no backend setup, editing canvas or publishing."},{"product":"bolt-new","jobs":["prompt-to-web-app","live-app-preview"],"coverage":"partial","note":"Code runs in E2B cloud sandboxes instead of the browser; small apps only."}],"facts":{"runs_locally":{"status":"partial","value":"The web app runs on your machine, but generated code runs in E2B's cloud sandboxes","source_url":"https://github.com/e2b-dev/fragments#features","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","modes":["self-hosted","hosted"],"untrusted_source_quote":"to securely execute code generated by AI."},"code_license":{"status":"yes","value":"Apache-2.0","source_url":"https://github.com/e2b-dev/fragments/blob/main/LICENSE","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","spdx":"Apache-2.0"},"model_license":{"status":"yes","value":"No separate model weights","source_url":"https://github.com/e2b-dev/fragments#readme","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","spdx":null,"applies":false},"commercial_use":{"status":"yes","value":"Yes, Apache-2.0","source_url":"https://github.com/e2b-dev/fragments/blob/main/LICENSE","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review"},"paid_services":{"status":"no","value":"An E2B API key (hosted sandbox service) is required; the LLM can be local via Ollama","source_url":"https://github.com/e2b-dev/fragments#prerequisites","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","required":["E2B API key"],"optional":["OpenAI","Anthropic","Google","Mistral","Groq","Fireworks","Together AI or xAI keys","Morph fast-apply"],"untrusted_source_quote":"E2B API Key"},"hardware":{"status":"partial","value":"No GPU needed with hosted LLM providers; AI-generated code runs in remote E2B sandboxes; the app needs Node.js and npm; no RAM figures (Ollama is also supported for local models)","source_url":"https://github.com/e2b-dev/fragments#prerequisites","checked_at":"2026-10-22","confidence":"medium","validation":"documentation_review","cpu_ok":true,"min_vram_gb":null,"min_ram_gb":null,"untrusted_source_quote":"LLM Provider API Key"},"platforms":{"status":"partial","value":"Web app: a Next.js app run with Node.js and npm and used in a browser, with code running in remote E2B sandboxes; no host operating systems named","source_url":"https://github.com/e2b-dev/fragments#readme","checked_at":"2026-10-26","confidence":"medium","validation":"documentation_review","windows":"unknown","macos":"unknown","linux":"unknown","untrusted_source_quote":"Recent version of Node.js and npm package manager"},"setup":{"status":"yes","value":"Medium; clone, npm install, set E2B and model keys, run the dev server","source_url":"https://github.com/e2b-dev/fragments#get-started","checked_at":"2026-10-15","confidence":"high","validation":"documentation_review","level":"medium","untrusted_source_quote":"Recent version of Node.js and npm package manager"}},"metrics":{"stars":6418,"forks":863,"contributors":17,"archived":false,"last_push_at":"2026-12-01T04:38:28Z","latest_release":null,"fetched_at":"2026-12-02T01:21:17.154Z"},"url":"https://repoquarry.dev/projects/fragments","note":"Installation guidance: follow docs_url. This service never installs or runs code."}