CatHub is an AI cat digital-twin platform for cat identity, care records, social timeline sharing, lineage tracking, and a native mobile companion.
- Project vision
- Documentation index
- Current context
- Development guide
- GitHub workflow
- Contributing guide
Install dependencies:
pnpm installIf pnpm is not installed globally, use the pinned package manager through
npx:
npx pnpm@10.33.2 installRun the preferred local web environment:
pnpm dev:vercelRun the Expo mobile app:
pnpm mobileFor mobile UI-only work that should not depend on a running CatHub API, database, or Blob configuration, enable the first mock slice:
EXPO_PUBLIC_MOBILE_API_MODE=mock pnpm mobile
pnpm mobile:mock-api:check
pnpm mobile:mock-preview:checkFor real mobile API testing on a non-default local port:
EXPO_PUBLIC_API_PORT=3100 pnpm mobile
pnpm mobile:dev-api:checkRun these before code changes are merged:
pnpm lint
pnpm buildCommon focused checks:
pnpm --filter @cathub/mobile typecheck
pnpm shared:typecheck
pnpm mobile:dev-api:check
pnpm mobile:mock-api:check
pnpm mobile:mock-preview:checkSchema changes require:
pnpm db:generateUse pnpm db:push only when intentionally syncing the active development
database.
- VISION.md - product thesis, roadmap horizons, and maintenance alignment.
- docs/README.md - documentation index and owner-decision follow-up list.
- docs/CONTEXT.md - current product truth, routes, data model, local commands, validation, and known risks.
- docs/DEVELOPMENT.md - local development, mobile mock/dev API modes, validation, and schema notes.
- docs/GITHUB_WORKFLOW.md - issue, branch, PR, check, merge, and owner authorization rules.
- DEVLOG.md - current status, recent changes, validation, and next step.
- CONTRIBUTING.md - contribution flow, validation, docs routing, and owner approval boundaries.
- docs/HISTORY.md - longer historical implementation notes.
Routine maintenance follows the GitHub-native flow: issue, codex/ topic
branch, pull request, checks, then review or low-risk green merge under the
standing authorization documented in docs/GITHUB_WORKFLOW.md.
Production deploys, formal releases/tags/package publishing, real production/cloud resource operations, sensitive credential use, destructive git operations, and major product direction changes still require separate explicit owner approval.