Commit Graph

16 Commits

Author SHA1 Message Date
Vectry
9a51856896 feat: add GlitchTip error monitoring integration
All checks were successful
Deploy CodeBoard / deploy (push) Successful in 3m13s
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-Claude)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-11 01:35:05 +00:00
Vectry
64ce70daa4 feat: add subscription service — user auth, Stripe billing, API keys, dashboard
- 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)
2026-02-10 20:08:13 +00:00
Vectry
7ff493a89a feat: add command palette, accessibility, scroll animations, and keyboard navigation
Implements COMP-139 (command palette), COMP-140 (accessibility), COMP-141 (scroll animations), COMP-145 (keyboard navigation)

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-Claude)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-02-10 18:06:47 +00:00
Vectry
38d5b4806c feat: align design tokens with Vectry unified design language
- Change background from #0a0a0f to #0a0a0a (matching vectry.tech + AgentLens)
- Remove unused --accent-cyan and --shadow-card tokens
- Add shared Vectry design aliases (surface-page, surface-card, border-default, radius-card, etc.)
- Fix hardcoded #0a0a0f in layout.tsx, history/page.tsx, and mermaid-diagram.tsx
2026-02-10 17:22:53 +00:00
Vectry
de8b827562 feat: SEO improvements — Twitter cards, canonical URL, sitemap, robots, llms.txt
Adds metadataBase, og:image, og:url, Twitter card tags, canonical
URL, sitemap.ts, robots.ts with AI crawler directives, and llms.txt.
2026-02-10 02:21:19 +00:00
Vectry
40d60b1ce6 feat: add favicon and logo icon, replace gradient square in navbar, fix company.repi.fun → vectry.tech 2026-02-09 21:51:00 +00:00
Vectry
72de50dffa feat: add version history page with side-by-side comparison
New /history page shows all past generations for a repo and allows
selecting two to compare side-by-side. Displays tech stack diffs,
architecture diagrams, key metrics changes, and module breakdowns.
Added Version History link to doc viewer header.
2026-02-09 20:48:53 +00:00
Vectry
30bfd88075 feat: add PostgreSQL persistence for permanent shareable links
- Add PostgreSQL service to docker-compose with health checks
- Add migrate service that runs prisma migrate deploy on startup
- Integrate Prisma client in worker: checks for existing generations
  (same repo+commit) before regenerating, writes to Postgres on completion
- Update /api/docs/[id] with Redis → PostgreSQL fallback + cache repopulation
- Update Dockerfile: prisma generate in build, copy Prisma engine to worker/web
- Add @codeboard/database dependency to web and worker packages
- Add initial SQL migration for Generation and User tables
- Change removeOnComplete to { age: 3600 } for job retention
2026-02-09 20:23:41 +00:00
Vectry
a49f05e8df fix: clean up mermaid diagram rendering — separate dangerouslySetInnerHTML from children 2026-02-09 18:55:15 +00:00
Vectry
dd03d86642 fix: remove code block language label overlap, add diagram zoom/pan/fullscreen
- Remove 'bash' language label that overlapped with code text
- Add zoom (scroll), pan (drag), and fullscreen toggle to Mermaid diagrams
- Fullscreen mode with dark overlay, controls toolbar, and Esc to close
- Zoom percentage indicator and reset button
2026-02-09 18:45:47 +00:00
Vectry
31be269aab chore: update demo doc IDs after regeneration with parseSteps fix 2026-02-09 18:24:41 +00:00
Vectry
cbe52f32b3 fix: doc rendering — markdown prose styling, code blocks with copy button, proper step parsing
- Add @tailwindcss/typography plugin for prose styling
- Create CodeBlock component with copy button and language labels
- Create Md wrapper component using ReactMarkdown with custom renderers
- Replace all plain text renders with Md for proper markdown formatting
- Fix parseSteps() in pipeline to group numbered steps with code blocks
- Add First Task subtitle explaining its purpose
- Add conditional file.purpose render in module key files
2026-02-09 18:18:24 +00:00
Vectry
029cd82f1a Link featured examples to pre-generated docs with View Docs buttons 2026-02-09 17:43:30 +00:00
Vectry
327e19df8f feat: overhaul landing page with demo gallery, preview mockup, and fix links
- Add 'Featured Examples' section with 6 popular repos (express, flask, zod, etc.)
- Add browser window mockup in hero showing what generated docs look like
- Fix all links: company.repi.fun → vectry.tech, github.com → gitea.repi.fun
- Update stats: ~3 min generation, 10+ languages supported
- New ExampleRepos client component with generate-on-click functionality
2026-02-09 17:14:56 +00:00
Vectry
03d9c297e2 fix: rename BullMQ queue to avoid colon (not allowed in newer versions)
- codeboard:generate → codeboard-generate in worker and web
- Update docker-compose: remove postgres (unused), use non-conflicting ports
- Exclude tests/ from Docker build context
2026-02-09 16:28:04 +00:00
Vectry
79dad6124f feat: initial CodeBoard monorepo scaffold
Turborepo monorepo with npm workspaces:
- apps/web: Next.js 14 frontend with Tailwind v4, SSE progress, doc viewer
- apps/worker: BullMQ job processor (clone → parse → LLM generate)
- packages/shared: TypeScript types
- packages/parser: Babel-based AST parser (JS/TS) + regex (Python)
- packages/llm: OpenAI/Anthropic provider abstraction + prompt pipeline
- packages/diagrams: Mermaid architecture & dependency graph generators
- packages/database: Prisma schema (PostgreSQL)
- Docker multi-stage build (web + worker targets)

All packages compile successfully with tsc and next build.
2026-02-09 15:22:50 +00:00