64ce70daa4f2a6b73ac0cc892c083fae78848848
- NextAuth v5 with email+password credentials, JWT sessions - Registration, login, email verification, password reset flows - Stripe integration: Free (15/day), Starter ($5/1k/mo), Pro ($20/100k/mo) - API key management (cb_ prefix) with hash-based validation - Dashboard with generations history, settings, billing management - Rate limiting: Redis daily counter (free), DB monthly (paid) - Generate route auth: Bearer API key + session, anonymous allowed - Worker userId propagation for generation history - Pricing section on landing page, auth-aware navbar - Middleware with route protection, CORS for codeboard.vectry.tech - Docker env vars for auth, Stripe, email (smtp.migadu.com)
CodeBoard
Codebase → Onboarding Docs Generator. Paste a GitHub repo URL, get interactive developer onboarding documentation in minutes.
Architecture
codeboard/
├── apps/
│ ├── web/ # Next.js 14 frontend + API routes
│ └── worker/ # BullMQ job processor
├── packages/
│ ├── shared/ # TypeScript types
│ ├── parser/ # Babel-based AST parser (JS/TS) + regex (Python)
│ ├── llm/ # OpenAI/Anthropic abstraction + prompt pipeline
│ ├── diagrams/ # Mermaid diagram generators
│ └── database/ # Prisma schema + client
Quick Start
# Install dependencies
npm install
# Build all packages
npm run build
# Start with Docker
docker compose up
Development
# Run dev server (all workspaces)
npm run dev
# Build
npm run build
Tech Stack
- Frontend: Next.js 14, React 18, Tailwind CSS 4
- Backend: BullMQ workers, Redis pub/sub for real-time progress
- Parser: @babel/parser for JS/TS, regex-based for Python
- LLM: Provider abstraction (OpenAI GPT-4o / Anthropic Claude)
- Diagrams: Mermaid.js auto-generated architecture & dependency graphs
- Database: PostgreSQL + Prisma
- Queue: Redis + BullMQ
- Deployment: Docker multi-stage builds
License
MIT
Built by Vectry — Engineering AI into your workflow.
Description
Codebase → Onboarding Docs Generator. Paste a GitHub repo URL, get interactive developer onboarding documentation in minutes.
v0.2.4
Latest
Languages
TypeScript
86%
JavaScript
10.5%
CSS
2.7%
Dockerfile
0.8%