Ubah ide aplikasi jadi tech stack, PRD (Product Requirement Document), dan task breakdown yang siap dikerjakan — dibantu AI.
Alur:
- Mau bikin apa? — ceritain ide aplikasimu dalam 1-2 kalimat
- Preferensi teknologi — biarkan AI rekomendasikan stack, atau pilih sendiri
- Beberapa pertanyaan — AI nanya hal spesifik (target user, skala, monetisasi, dll) biar rencananya akurat
- Struktur — mind-map interaktif fitur, dikelompokkan per fase pengembangan
- PRD — dokumen requirement lengkap, bisa diedit, didownload sebagai
.md - Mockup landing page — pilih salah satu dari 3 konsep tampilan yang di-generate AI
- Task — breakdown kerja teknis per fitur, bisa dicentang
- Prompt — semuanya dirangkum jadi satu prompt siap tempel ke Claude Code / Cursor / AI coding assistant lain
⚠️ PostCSS Advisory (GHSA-qx2v-qp2m-jg93) — PostCSS < 8.5.10 memiliki XSS vulnerability lewat</style>yang tidak di-escape di CSS stringify output. Versi terpasang (postcss@8.4.31) adalah bundled dependency Next.js; fix resmi di Next.js belum dirilis. Pantau Next.js release untuk update.
- Next.js 15 (App Router) + TypeScript
- Tailwind CSS v4 + komponen ala shadcn/ui (ditulis manual, tanpa CLI)
- Drizzle ORM + libSQL/Turso — SQLite untuk lokal, Turso untuk production (serverless)
- @xyflow/react (React Flow) — mind-map interaktif di halaman Struktur
- Google Gemini API / Anthropic Claude / Custom — AI generation (multi-provider)
- NextAuth v5 — Google OAuth login
- Framer Motion — animasi dock & loader
- JSZip — download ZIP project
- React Markdown + remark-gfm — render PRD
- Multi-provider AI: pakai Gemini, Claude, atau API kustom — diatur dari halaman
/apikeys - Google OAuth: login biar data dan riwayat tersimpan per akun, bukan cuma di browser
- Settings persist: API key, provider, dan konfigurasi database tersimpan di database + localStorage
- History page: lihat dan hapus rencana sebelumnya (perlu login)
- Usage tracker: counter pemakaian Gemini per hari, estimasi sisa prompt
- GitHub push: push PRD, struktur, tech stack, dan prompt final langsung ke repo GitHub dari dalam app
- Model fallback: otomatis coba beberapa model Gemini berurutan (
GEMINI_MODEL→gemini-3-flash-preview→gemini-2.0-flash→gemini-2.5-flash) - Retry logic: 3 percobaan dengan exponential backoff kalau kena rate limit (429/503)
- Download prompt: hasil akhir bisa di-copy atau di-download sebagai
.md - Animated dock: Apple-style dock di landing page hero
- Step indicator: stepper visual di wizard (Tech → Q&A → Struktur → PRD → Landing → Task → Prompt)
- QuantumPulseLoader: animasi kustom untuk loading state generasi AI
npm installcp .env.local.example .env.localIsi minimal:
GEMINI_API_KEY=AIzaSy... # ambil gratis di https://aistudio.google.com/apikey
AUTH_SECRET=... # node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
AUTH_GOOGLE_ID=... # dari Google Cloud Console
AUTH_GOOGLE_SECRET=... # dari Google Cloud Console
AUTH_URL=http://localhost:3000 # ganti port sesuai jalannpm run devBuka http://localhost:3000 — database SQLite (ideforge.sqlite) otomatis dibuat di root project.
npm install -g turso
turso auth login
turso db create ideforge
turso db show ideforge --url # ambil URL
turso db tokens create ideforge # ambil tokenAtau lewat dashboard web https://turso.tech
TURSO_DATABASE_URL=libsql://...
TURSO_AUTH_TOKEN=eyJ...
GEMINI_API_KEY=AIzaSy...
AUTH_SECRET=...
AUTH_GOOGLE_ID=...
AUTH_GOOGLE_SECRET=...
AUTH_URL=https://[app-mu].vercel.app
Tambah di Google Cloud Console:
https://[app-mu].vercel.app/api/auth/callback/google
src/
app/
plan/ # halaman input ide
plans/[id]/ # wizard: tech → questions → structure → prd → landing → tasks → prompt
apikeys/ # pengaturan API key, provider, database
history/ # riwayat rencana (perlu login)
panduanpenggunaan/ # panduan lengkap dengan studi kasus
api/
plans/... # CRUD plans + tiap step wizard
settings/ # settings CRUD + test key/test db
config/ # usage counter
auth/ # NextAuth route handler
components/
ui/ # primitives ala shadcn (button, card, input, dock, loader, dll)
steps/ # tech-step, questions-step
structure/ # React Flow custom nodes/edges untuk mind-map
lib/
ai/ # Gemini client, prompt templates, response schemas
db/ # Drizzle schema + Turso client + repo functions + usage tracker
auth.ts # NextAuth config
types.ts # semua tipe domain
| Variable | Wajib | Fungsi |
|---|---|---|
GEMINI_API_KEY |
Ya* | API key Gemini (opsional kalau pake Claude/kustom via UI) |
AUTH_SECRET |
Ya | NextAuth encryption key |
AUTH_GOOGLE_ID |
Ya | Google OAuth Client ID |
AUTH_GOOGLE_SECRET |
Ya | Google OAuth Client Secret |
AUTH_URL |
Ya | Base URL (http://localhost:3000 lokal / https://... production) |
TURSO_DATABASE_URL |
Untuk Vercel | URL database Turso |
TURSO_AUTH_TOKEN |
Untuk Vercel | Token autentikasi Turso |
GEMINI_MODEL |
Tidak | Paksa model Gemini tertentu |
*Wajib kalau tidak pakai provider lain via UI.
MIT — gunakan bebas untuk keperluan pribadi maupun komersial.