Sistine Docs

Project structure

Configuration, tools, billing and docs entry points.

Working map

  • config/: public site/content/billing/tools/legal data.
  • lib/payments/: unified checkout/providers/frozen snapshot/fulfillment/webhooks.
  • lib/tools/: typed handler registration/API factory/persistent limiter/result utilities.
  • lib/credits.ts and lib/billing/: atomic credits/paid-period access/annual grants.
  • app/api/tools/ and app/api/payments/: shared APIs; original AI APIs remain.
  • components/: ToolPlayground, PayButton, FAQ, HowItWorks and original marketing UI.
  • content/docs/: paired en/zh MDX; .source is generated, never hand-edit.
  • tests/integration/: isolated TEST_DATABASE_URL migration/TRUNCATE tests only.
  • scripts/: initialization/env/docs/scoped formatting tools.
  • .github/workflows/verify.yml and vercel.json: verification and cron.

See AGENTS.md for coding rules. Preserve compatibility exports and historical IDs.

On this page