AI-powered knowledge management — save anything, understand everything, find it instantly.
cd web
npm install
cp .env.example .env.local
# Fill in your DATABASE_URL and BETTER_AUTH_SECRET in .env.local
npm run dev- Frontend: Next.js 16 + Tailwind CSS v4
- Backend: Next.js API routes
- Database: Neon (serverless Postgres)
- Auth: Better Auth (email/password)
- ORM: Drizzle ORM
- Hosting: Vercel
web/ — Next.js application
src/
app/ — App Router pages and API routes
lib/ — Shared utilities (auth, db)
db/ — Drizzle schema
drizzle/ — Database migrations (generated)
.github/workflows/ — CI (lint + typecheck + format)
docs/ — Product docs
agents/ — Agent persona files
npm run dev # Start dev server
npm run build # Production build
npm run lint # ESLint
npm run format # Prettier
npm run typecheck # TypeScript check
npm run db:generate # Generate Drizzle migrations
npm run db:migrate # Run Drizzle migrations
npm run db:studio # Open Drizzle Studio