Commit Graph

11 Commits

Author SHA1 Message Date
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
f4ed838f77 config: switch default LLM to kimi-k2-turbo-preview via MoonshotAI 2026-02-09 16:44:42 +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
d0c4b1ae28 test: add integration tests for clone/parse/pipeline, fix chunker edge case
- tests/integration-test.ts: clones p-limit repo, parses, generates diagrams (11/11 pass)
- tests/pipeline-test.ts: mock LLM provider pipeline test (29/29 pass)
- Fix chunkCode to handle single lines exceeding maxChars limit
- Add tsx devDependency for test execution
2026-02-09 16:21:21 +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
efdc282da5 Initial commit 2026-02-09 14:43:15 +00:00