Skip to content

GitHub technical reference

This page is generated from sync/contract.json and points to canonical technical docs in the octafuse-gateway repository. This website keeps user-facing summaries; APIs, deployments, migrations, architecture, and behavior semantics live with gateway code.

DocWhat it covers
Documentation indexEntry points organized by users, developers, operators, and maintainers.
QuickstartMinimal Docker and Cloudflare local D1 startup paths.
Admin configurationConfigure providers, routes, users, and API keys after deployment.
DocWhat it covers
System integrationBoundaries, key types, and common flows for portals, backends, or SaaS integrations.
API overviewProxy/Admin base URLs, authentication, and error shapes.
User-facing APIsOpenAI / Anthropic / Gemini compatible fronts, model list, and budget state.
Admin HTTP APIAutomation APIs for providers, models, routes, users, keys, config, and logs.
Local development and testingD1, Node + Postgres, Node + MySQL, Docker, and smoke test combinations.
DocWhat it covers
Runtime and data storageCloudflare / Node and D1 / Postgres / MySQL combination matrix.
Proxy request lifecycleAuth, routing, rate limits, circuit breakers, stickiness, failover, and async billing.
Users and API key data modelRelationships and constraints for users, API keys, budgets, request logs, and audit logs.
Streaming billing and cancellationStreaming chat, client cancellation, usage parsing, and charge state.
Image modelsgpt-image-2 and Seedream: endpoints, parameters, billing conversion, and ops acceptance.
Time and timezoneUTC storage, API output, Admin display, and business day boundaries.
DocWhat it covers
Deployment patternsOverview of Cloudflare, Hybrid, full self-hosted, MySQL, and Zeabur modes.
Cloudflare deploymentWorker, Admin, D1, Build variables, Workers Builds, and migration order.
Docker / self-hostedDocker images, Compose, GHCR, Postgres / MySQL, and Zeabur notes.
D1 ↔ Postgres cutoverETL, reconciliation, canary, cutover, and rollback notes.
Cloudflare command cheatsheetCommands for Cloudflare local dev, dev demo, and production Git deploy.
DocWhat it covers
Release and versioningChangesets, Version PRs, tags, GitHub Releases, and GHCR images.
Documentation boundaries and secret hygieneRepository docs layers, website boundaries, placeholders, and forbidden values.
Minimal curl examplesMinimal curl commands for health, user inference, and Admin config.