Thanks for your interest in Gitdog. This guide covers how the repository is organized, how to run it locally and what a pull request needs.
| Path | What lives there |
|---|---|
src/ |
React web app (Vite, Tailwind CSS, react-i18next) |
convex/ |
Convex backend: GitHub App, AI workflows, billing, data |
packages/cli |
The gitdog npm CLI (bun workspace) |
test/ |
Vitest suites for the web app and backend |
e2e/ |
Opt-in end-to-end runners against a development backend |
docs/ |
Conventions, GitHub App setup and AI model notes |
| Layer | Technology |
|---|---|
| Frontend | React 19, TypeScript, Vite, Tailwind CSS, react-i18next (en, ko, ja) |
| Backend | Convex |
| AI | Claude Opus 5.5 with GPT-6.2 Sol fallback; users' own keys optional |
| GitHub | GitHub App (OAuth, webhooks, repository access) |
| Payments | Lemon Squeezy |
| Hosting | Firebase Hosting |
GitHub webhook ─▶ Convex ─▶ repository index (keyword search)
│
▼
Claude Opus 5.5 (GPT-6.2 Sol fallback)
│
▼
draft reply or review ─▶ approval ─▶ GitHub comment / PR review
See docs/ai-models.md for model routing, pricing and usage accounting.
Use Node.js 26 (nvm use) and Bun 1.4.4.
bun install
cp .env.example .env.local # fill in your own development values
bunx convex dev # creates or connects your Convex dev deployment
bun run dev # web app and Convex togetherA development GitHub App is required for repository features; follow docs/github-app-setup.md.
| Command | Purpose |
|---|---|
bun run dev |
Run the web app and Convex dev backend together |
bun run typecheck |
Type-check the web app, backend and e2e runners |
bun run lint |
ESLint across the monorepo |
bun run format:check |
Prettier check |
bun run test |
Web and backend test suites |
bun run test:cli |
CLI test suite |
bun run check:api |
Verify the CLI API catalog matches the backend |
bun run test:e2e:recall |
Measure review recall on past commits (real provider calls) |
Run these before opening a pull request:
bun run typecheck
bun run lint
bun run format:check
bun run testWhen you change public Convex functions, also run bun run check:api (and
regenerate the CLI catalog with bun packages/cli/scripts/sync-api.mjs if it
reports drift). For CLI changes, run bun run typecheck:cli && bun run test:cli.
- Use Conventional Commits with a
lowercase subject, for example
fix: keep the review checkpoint on retry. - Write commit messages, PR titles and descriptions in English.
- Keep each pull request focused, and add or update tests with behavior changes.
- Follow docs/convention.md and CLAUDE.md for code style.
- AI models and pricing: routing, quota weights and usage accounting
- GitHub App setup
- Code conventions
- CLI reference
Please do not open public issues for security problems. Email hyo@hyo.dev instead.
By contributing, you agree that your contributions are licensed under the
GNU Affero General Public License v3.0 (AGPL-3.0-only).