From 0e883102ed199ad845ea6bdce46c2ffe1c879dbc Mon Sep 17 00:00:00 2001 From: Developers Digest <124798203+developersdigest@users.noreply.github.com> Date: Fri, 8 Aug 2025 09:04:21 -0400 Subject: [PATCH] first commit --- README.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..10013ab --- /dev/null +++ b/README.md @@ -0,0 +1,66 @@ +# E2B AI Code Editor + +Chat with AI to build React apps instantly. + +## Setup + +1. **Clone & Install** +```bash +git clone https://github.com/yourusername/e2b.git +cd e2b +npm install +``` + +2. **Add `.env.local`** +```env +# Required +E2B_API_KEY=your_e2b_api_key +FIRECRAWL_API_KEY=your_firecrawl_api_key + +# Optional (need at least one AI provider) +ANTHROPIC_API_KEY=your_anthropic_api_key +OPENAI_API_KEY=your_openai_api_key +GROQ_API_KEY=your_groq_api_key +``` + +3. **Run** +```bash +npm run dev +``` + +Open [http://localhost:3000](http://localhost:3000) + +## Get API Keys + +[firecrawl.dev](https://firecrawl.dev) → Web scraping +[e2b.dev](https://e2b.dev) → Sandboxes +[console.groq.com](https://console.groq.com) → Fast inference (Kimi K2 - recommended) +[platform.openai.com](https://platform.openai.com) → GPT-5 + +## Example Chat + +``` +You: "Clone the Stripe pricing page" +AI: *generates full pricing component* + +You: "Make it dark mode" +AI: *adds theme switching* + +You: "Add animations" +AI: *implements Framer Motion* + +You: "Deploy this" +AI: *guides deployment* +``` + +## Features + +- Live preview with hot reload +- Automatic package installation +- Multiple AI models +- Web scraping with Firecrawl +- Sandboxed execution + +## License + +MIT \ No newline at end of file