This project is archived. For a more comprehensive solution that supports Claude Code, Gemini CLI, ChatGPT Codex, and more, check out CLIProxyAPI.
OAuth proxy server built with Hono and Bun. Provides an OpenAPI-documented Messages API with built-in token management and streaming support.
Prerequisites: Bun and GitHub CLI.
npm install -g not-claude-code-emulator
not-claude-code-emulator installUse the published npm package for setup. Do not use a source checkout for installation.
not-claude-code-emulator startServer endpoints:
| Endpoint | URL |
|---|---|
| Docs | http://localhost:3000/docs |
| OpenAPI Spec | http://localhost:3000/openapi.json |
| Messages API | http://localhost:3000/v1/messages |
| Health | http://localhost:3000/health |
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Server port |
HOST |
localhost |
Server host |
DISABLE_TELEMETRY |
— | Set 1 to disable telemetry |
bun run dev # start with --watch
bun run typecheck # type check
bun test # run tests
bun run build # build
bun run lint # check formatting
bun run format # auto-format