An AI product prototyping platform inspired by Lovable. Turn natural-language prompts into runnable Next.js fragments, with iterative chat, code snapshots, live previews, and multi-project management.
- Conversation-driven build flow; user messages trigger generation
- Inngest + Agent Kit orchestration; results are persisted and revisitable
- E2B Sandbox runs code fragments with embedded iframe preview
- Fragment cards for preview switching, refresh, copy link, and open in new tab
- Full-stack stack: Next.js App Router + tRPC + TanStack Query
- Prisma + Postgres for projects, messages, and fragment persistence
- Resizable split workspace optimized for chat + preview
- User creates a project or sends a message
- tRPC writes the message and triggers an Inngest event
- The agent generates code and a summary in E2B Sandbox
- The result is stored as a Fragment and is previewable
- The UI polls for updates; selecting a Fragment shows it live
- Frontend: Next.js 16 (App Router), React 19, Tailwind CSS, Shadcn UI
- Data: Prisma, PostgreSQL
- Orchestration: tRPC, TanStack Query
- AI Runtime: Inngest Agent Kit, Anthropic models, E2B Sandbox
npm installCreate a .env file with:
DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DB_NAME"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
ANTHROPIC_API_KEY="your-anthropic-api-key"
ANTHROPIC_API_BASE_URL="https://api.anthropic.com" # Optional: proxy or private gateway
E2B_API_KEY="your-e2b-api-key"If you use Inngest Cloud, also add the required signature/event keys.
npx prisma migrate devnpm run devOpen http://localhost:3000.
npx inngest-cli dev -u http://localhost:3000/api/inngestsrc/
app/ # Next.js App Router
inngest/ # Inngest client & functions
modules/
messages/ # Message tRPC + UI
projects/ # Project tRPC + UI
trpc/ # tRPC setup and client
prisma/ # Prisma schema & migrations
public/ # Static assets
npm run dev # Local development
npm run build # Production build
npm run start # Production server
npm run lint # Lint checksIssues and PRs are welcome. Let’s make Doro a truly usable Lovable alternative.