mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 10:47:52 +01:00
Production is fully self-hosted on the Hetzner box (bitbaum, behind Caddy) with self-hosted Supabase. This scrubs the remaining Vercel footprint: Code (src/ now has zero Vercel references): - security page: "Hosted on Vercel" → self-hosted infrastructure - FleetCrown URL fleetcrown.vercel.app → fleetcrown.orangecat.ch (entity registry + external-publish allowlist; the dead vercel.app subdomain was also a re-registration risk in an allowlist) - webhook-secret error + cron/env comments point at the box, not Vercel - corrected stale "Vercel kills the function on response" comments (false on a persistent server) to accurate await-before-respond reasoning Security/config: - supabase/config.toml: dropped dead *.vercel.app auth redirect URLs - @vercel/mcp-adapter dependency removed (unused) Artifacts removed: - scripts/auth/vercel-login.js, scripts/preview-url.sh, scripts/dev/merge-env.js, scripts/monitoring/deployment-monitor.js, scripts/db/setup-env.js, mcp-servers/vercel-openapi.json, .vercel/ - setup_vercel_secrets MCP tool in mcp-servers/github-server.js - .gitignore Vercel section; env scripts stripped of vercel-login/token Docs + .claude rules/commands rewritten to the self-host deploy flow (scripts/deploy-selfhost.sh / .github/workflows/cd.yml; env at /opt/orangecat/app/.env). Historical/archive records left intact. Verified: tsc 0 errors, SELF_HOST=1 build green, cron unit tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
OrangeCat Documentation
Documentation for the OrangeCat platform. Start with the area you need.
| Area | What's inside |
|---|---|
| getting-started/ | First-time setup and orientation |
| architecture/ | System design, entity model, the Cat, ADRs (adr/), DB schema (database/) |
| development/ | Day-to-day dev: standards, contributing, guides, examples, templates, components |
| operations/ | Running prod: deployment, devops/runbooks, self-hosted Supabase |
| design-system/ | Design tokens, UI/UX, navigation, branding |
| features/ | Feature-level docs (posting, messaging, etc.) |
| security/ | Security model and practices |
| testing/ | Test strategy and coverage |
| business/ | Executive, legal, marketing |
| reference/ | API, changelog, content, misc reference material |
| forward-looking/ | Plans, proposals, in-flight ideas |
| non-public/ | Internal-only material |
| archive/ | Frozen historical docs (incl. the retired managed-cloud era) |
Ground truth (2026-06)
- Database — self-hosted Supabase at
supabase.orangecat.chon the Hetzner box (bitbaum). The managed Supabase Cloud was retired 2026-06. Schema = SQL files in../supabase/migrations/applied viapsql. See operations/supabase/. - Deployment — self-hosted on Hetzner behind Caddy; GitHub Actions CI gates merges but does not deploy. See operations/deployment/.
- Bitcoin — BTC is the canonical stored unit (
NUMERIC(18,8)); satoshis are display-only.
Conventions
- Point-in-time reports, audits, and completed runbooks live in archive/ — keep active docs current, not historical.
- Engineering rules the AI agent follows live in
../.claude/, not here.