Files
2026-04-27 12:43:12 +08:00

985 B

Workspace

Overview

Standalone TypeScript API server with CLI-only deployment configuration.

Stack

  • Node.js version: 24
  • Package manager: pnpm
  • TypeScript version: 5.9
  • API framework: Express 5
  • Build: esbuild

Provider Endpoints

Use Replit AI Integrations endpoints through CLI flags:

  • --openai-base-url
  • --openai-api-key
  • --anthropic-base-url
  • --anthropic-api-key

Never use public official provider endpoints.

Key Commands

  • pnpm install --ignore-workspace — install dependencies without joining a parent workspace
  • pnpm dev — run API server locally on port 3000
  • pnpm run typecheck — typecheck the server
  • pnpm run build — typecheck and build dist/index.mjs
  • pnpm start — run the built server

Routes

  • / and /dashboard — static model dashboard
  • /api/healthz — health check
  • /v1/models — OpenAI-compatible model list
  • /v1/chat/completions — OpenAI-compatible chat proxy