A full-stack Next.js application that generates complete web applications using AI agents. Users describe what they want to build, and the system generates functional Next.js applications with working code, components, and live previews.
Live : https://unlovable.ucokman.web.id
- Node.js 20+
- PostgreSQL
- E2B Sandboxes
- OpenAI Api Keys
- Clerk Account
git clone <repo-url>
cd unlovable
pnpm install- Visit https://platform.openai.com/api-keys
- Get <OPENAI_API_KEY> by creating new one.
-
Login to Clerk
Visit https://dashboard.clerk.com/sign-in -
Create a new application
Navigate to Application → Dashboard and create a new application -
Configure sign-in options
Enable Email and Google as sign-in methods -
Get your API keys
Go to Configure → Developers → API Keys and copy:CLERK_PUBLISHABLE_KEYCLERK_SECRET_KEY
-
Login to E2B
Visit https://e2b.dev/sign-in -
Setup CLI
- Install e2b cli
pnpm install -g @e2b/cli - Login your account
e2b auth login
- Install e2b cli
-
Push Template
- Make sure you have docker running
- Move context
cd ./sandbox-templates/nextjs - Run
e2b template build --name unlovable-nextjs --cmd compile_page.sh - Under Manage -> Api Keys get new <E2B_API_KEY>
cp .env.example .env
# fill in all the credentials you collectedpnpm prisma generate
pnpm prisma db pushStart the application:
pnpm run devYour app is now running! 🎊
Visit http://localhost:3000 to see it in action.