A Next.js app for building and exporting webpages with an interactive playground for real-time edit, protected authentication, and AI-assisted content tools.
- Interactive Playground for designing pages and editing element settings
- Prebuilt UI components (Tailwind + Shadcn) and a responsive layout system
- Clerk authentication and serverless DB with Drizzle + Neon
- AI model integration for content generation (requires
Gemini API key) - Image uploads and handling via ImageKit
Prerequisites:
- Node 18+ and npm/yarn/pnpm
- Create a
.envfile with the required environment variables (see below)
Install and run locally:
npm install
npm run dev # local dev server (http://localhost:3000)
npm run build # production build
npm start # start production serverCreate a .env (or .env.local) with the following (examples):
DATABASE_URL— your Neon/Postgres connection stringOPENROUTER_API_KEY— AI provider keyNEXT_PUBLIC_APP_URL— e.g.http://localhost:3000NEXT_PUBLIC_IMAGEKIT_PUBLIC_KEYNEXT_PUBLIC_IMAGEKIT_PRIVATE_KEYNEXT_PUBLIC_IMAGEKIT_URL- Clerk-related keys (see Clerk docs)
Files referencing env variables include
drizzle.config.ts,app/api/ai-model/route.ts, andapp/playground/_components/ImageSettings.tsx.
Note: .env* is in .gitignore by default.
app/— Next.js App Router pages and routes (playground, auth, api)components/— UI primitives (Tailwind + Radix)app/playground/— editor and design tools for page generationapp/api/— serverless API routes (AI, chats, projects, users, frames)config/,lib/,hooks/— infra and utilities
- Next.js (App Router), TypeScript, Tailwind CSS
- Drizzle ORM + Neon for DB
- Clerk for auth, ImageKit for images, OpenRouter for AI
{
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
}
}- Fork the repo
- Create a feature branch
- Open a PR with a clear description and screenshots
- Email: dayotoru@gmail.com
- Portfolio: https://torutgabriel.site