AI Website Builder Live Demo → forge-one-nu.vercel.app
Forge is a full-stack AI-powered website builder inspired by Lovable. It allows users to:
- Generate and manage websites using AI.
- Sign up and manage billing with Clerk.
- Build at scale with PostgreSQL + Prisma.
- Handle background AI workflows with Inngest.
- Fetch and mutate data efficiently with tRPC + TanStack Query.
- AI Website Builder – Generate full websites instantly.
- Authentication & Billing with Clerk – Free & Pro tiers.
- Background Jobs with Inngest – Handle AI workflows asynchronously.
- Typed API Layer with tRPC – End-to-end typesafety.
- Data Management with TanStack Query – Optimistic updates, caching, and syncing.
- Prisma + PostgreSQL – Robust and scalable database.
- Form Handling –
react-hook-form+ Zod validation. - UI/UX – Built with shadcn/ui, TailwindCSS, Radix primitives, lucide-react icons, Sonner toasts.
- Developer Experience – SuperJSON for serialization, ESLint + TypeScript strict mode.
| Layer | Tech Used |
|---|---|
| Frontend | Next.js 15, React 19, TailwindCSS, shadcn/ui |
| Auth & Billing | Clerk |
| Backend | PostgreSQL, Prisma |
| Async Jobs | Inngest |
| API Layer | tRPC + TanStack Query |
| Validation | Zod |
| Forms | React Hook Form |
| UI/UX | lucide-react, Sonner |
| Utils | SuperJSON, rate-limiter-flexible, random-word-slugs |
| Deployment | Vercel |
forge
├─ prisma
│ ├─ migrations/...
│ └─ schema.prisma
├─ public
│ ├─ logo.svg
│ └─ favicon.ico
├─ sandbox-templates
│ └─ nextjs
│ ├─ compile_page.sh
│ ├─ e2b.Dockerfile
│ └─ e2b.toml
├─ src
│ ├─ app
│ │ ├─ (home)
│ │ │ ├─ layout.tsx
│ │ │ ├─ page.tsx
│ │ │ ├─ pricing/page.tsx
│ │ │ ├─ sign-in/[[...sign-in]]/page.tsx
│ │ │ └─ sign-up/[[...sign-in]]/page.tsx
│ │ ├─ api
│ │ │ ├─ inngest/route.ts
│ │ │ └─ trpc/[trpc]/route.ts
│ │ ├─ error.tsx
│ │ ├─ globals.css
│ │ ├─ layout.tsx
│ │ └─ projects/[projectId]/page.tsx
│ ├─ components
│ │ ├─ code-view/
│ │ ├─ file-explorer.tsx
│ │ ├─ hint.tsx
│ │ ├─ tree-view.tsx
│ │ ├─ ui/...
│ │ └─ user-control.tsx
│ ├─ hooks
│ │ ├─ use-current-theme.ts
│ │ ├─ use-mobile.ts
│ │ └─ use-scroll.ts
│ ├─ inngest
│ │ ├─ client.ts
│ │ ├─ functions.ts
│ │ ├─ types.ts
│ │ └─ utils.ts
│ ├─ lib
│ │ ├─ db.ts
│ │ ├─ usage.ts
│ │ └─ utils.ts
│ ├─ middleware.ts
│ ├─ modules
│ │ ├─ home/...
│ │ ├─ messages/server/procedures.ts
│ │ ├─ projects/...
│ │ └─ usage/server/procedures.ts
│ ├─ prompt.ts
│ ├─ trpc
│ │ ├─ client.tsx
│ │ ├─ init.ts
│ │ ├─ query-client.ts
│ │ ├─ routers/_app.ts
│ │ └─ server.tsx
│ └─ types.tsx
├─ .env.example (recommended)
├─ next.config.ts
├─ package.json
├─ postcss.config.mjs
├─ tsconfig.json
└─ README.md
git clone https://github.com/SameedIlyas/Forge.git
cd Forgenpm install
# or
yarn installUpdate .env.example file in the root and change its name to .env
npx prisma migrate devnpm run devVisit http://localhost:3000
- Powered by Clerk.
- Free & Pro plans.
- Integrated billing system.
- Uses Inngest for async workflows.
- Handles AI site generation reliably.
- Hosted on Vercel.
- Live at forge-one-nu.vercel.app.
To deploy your own:
- Push repo to GitHub.
- Import to Vercel.
- Configure env variables.
- Deploy
- Fork repo.
- Create branch (
git checkout -b feature-xyz). - Commit (
git commit -m "Add feature xyz"). - Push (
git push origin feature-xyz). - Open PR.
Licensed under the MIT License.
Forge – The AI Website Builder Try it Live