Commit Graph
4 Commits
Author SHA1 Message Date
Georgy ButaevandClaude Opus 4.8 a52836c793 chore: remove all Vercel — everything runs on Hetzner
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>
2026-06-23 08:50:43 +02:00
Georgy ButaevandClaude Opus 4.8 d82805dd43 docs: bring docs up to date with self-host reality; archive dead cloud docs
Product/infra evolved (managed Supabase Cloud retired 2026-06; prod now
self-hosted on Hetzner). Reconciled the canonical/entry docs:

- README + CLAUDE.md: Deployment Vercel → self-hosted Hetzner; DB → self-host
- SETUP / ENVIRONMENT: drop 'cloud Supabase only' + Vercel prod setup; use
  supabase.orangecat.ch, env on the box, psql migrations
- implementation-guide / cleanup-summary: 'npx supabase db push' → psql apply
- CURRENCY_SYSTEM_EXPLAINED: amounts stored in BTC NUMERIC(18,8), sats are
  display-only (not stored in satoshis)
- SUPABASE_SCHEMA_GUIDE / functions-guide: dashboard + *.supabase.co → psql /
  supabase.orangecat.ch
- TECHNICAL: top note that it predates the self-host migration; Next.js 14→15
- troubleshooting / BEST_PRACTICES / environment-management: self-host notes

Archived to docs/archive/2026-h1/ (managed-cloud-only, now misleading):
SUPABASE_MIGRATION_WORKFLOW, MIGRATION_QUICK_REFERENCE,
MIGRATION_LESSONS_LEARNED, preview-automation (no Vercel workflow exists),
mcp-supabase (MCP targets retired cloud). Rewrote docs/workflows/README as a
concise accurate index.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:04:49 +02:00
g-butandClaude Opus 4.5 2df79381f1 feat: streaming AI, canonical rate limiting, cleanup demo pages
Major changes:
- AI streaming: Add unified client for OpenRouter SSE and local (Ollama) providers
- Local AI detection: Auto-detect and configure local model providers
- Rate limiting: Canonical adapters with X-RateLimit-* headers across APIs
- SSE: Add lib/sse.ts for consistent event-stream parsing

Cleanup:
- Remove /demo, /donate, /fund-us, /funding, /fundraising pages
- Simplify ModelSelector component (288 → 80 lines)
- Consolidate timeline queries

New features:
- Voice input component and hook
- Query provider for React Query
- Model registry with status badges
- HTTP headers config

Tests & Docs:
- E2E tests for project creation wizard
- Unit tests for auth, streaming, components
- CHANGELOG.md for version tracking
- Deployment checklist and PR summary docs

Bug fixes:
- Timeline schema and functions migration fixes
- Messaging RLS recursion fix
- Auth callback improvements
- Bitcoin formatting precision
- Lint fixes for unused variables

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:02:26 +01:00
cato 7bd344de18 � PRODUCTION READY: Complete deployment preparation - Security hardening (vulnerabilities 13→1), build fixes (TypeScript/auth), performance optimizations (SWC/caching), 83.3% test success rate, modular architecture - Ready for GitHub→Vercel deployment 2025-06-08 20:33:33 +02:00