whatisgithub

What is qoder-proxy?

avaritiachaos/qoder-proxy — explained in plain English

Analysis updated 2026-06-24

22JavaScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A local proxy server that wraps the Qoder CLI, a Chinese AI coding service, and exposes it as a drop-in OpenAI or Anthropic-compatible API so any app that supports those formats can use Qoder models without code changes.

Mindmap

mindmap
  root((qoder-proxy))
    What It Does
      Wraps Qoder CLI
      OpenAI format support
      Anthropic format support
      Streaming via SSE
    Supported Models
      Qwen3.7-Max
      GLM-5.1
      Kimi-K2.6
      DeepSeek-V4 Pro
    Backends
      CN backend token auth
      Global backend OAuth
    Audience
      Personal use only
      Developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Point any OpenAI-compatible desktop app at localhost to use Qoder AI models instead of the official OpenAI service.

USE CASE 2

Use GLM-5.1 or Qwen3.7-Max through the Anthropic messages API format without changing any client code.

USE CASE 3

Switch between Qoder's CN and Global backends by changing a single environment variable.

USE CASE 4

Test streaming responses and tool-call simulations with Qoder models using the built-in local web console.

What is it built with?

JavaScriptNode.js

How does it compare?

avaritiachaos/qoder-proxyim-ashar/reactiveblazoramazingsyp/pokemon-ontology
Stars222221
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatemoderateeasy
Complexity3/53/53/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a Qoder account with a personal access token or OAuth credentials, plus the Qoder CLI installed globally via npm.

Free to use for any purpose, including commercial use, as long as you keep the copyright notice. MIT license.

So what is it?

Qoder Proxy is a local adapter that wraps the Qoder CLI tool and exposes it as an HTTP server compatible with the OpenAI and Anthropic API formats. The Qoder CLI is a command-line interface for a Chinese AI coding service. This proxy lets local applications that know how to talk to OpenAI or Anthropic instead talk to Qoder, without any code changes on the client side. The proxy only listens on the local machine (127.0.0.1) and is explicitly not intended for public deployment, shared use, or commercial resale. Users must supply their own Qoder account credentials. The readme opens with a disclaimer in both Chinese and English stressing that this is for personal protocol research only. It supports two Qoder backends: a CN backend connecting to qoder.com.cn, authenticated with a personal access token, and a Global backend connecting to qoder.com, authenticated via OAuth login. You switch between them by changing a single environment variable. Supported models include Qwen3.7-Max, GLM-5.1, Kimi-K2.6, DeepSeek-V4 Pro, and several others. The proxy exposes two API paths: one following the OpenAI chat completions format and one following the Anthropic messages format. It handles streaming output by forwarding the CLI stream as server-sent events. Tool calling is simulated by injecting format instructions into the prompt and parsing the text output, since the CLI does not have a native tool-calling channel. The readme notes this is less reliable than calling official APIs directly. Installation requires Node.js 18 or later, plus installing the Qoder CLI package globally via npm. A small web console is available at a local URL for testing chat, viewing models, and checking local usage statistics. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Set up qoder-proxy so I can use Qwen3.7-Max in my OpenAI-compatible chat app by pointing it at localhost instead.
Prompt 2
How do I configure qoder-proxy to switch from the CN backend to the Global Qoder backend using OAuth login?
Prompt 3
My app uses the Anthropic messages API format, walk me through redirecting it to Qoder models with qoder-proxy running locally.
Prompt 4
Help me install qoder-proxy on Node.js 18, start it, and send a test streaming request using the local web console.
Prompt 5
What are the limitations of tool calling in qoder-proxy, and how does it simulate function calls through prompt injection?

Frequently asked questions

What is qoder-proxy?

A local proxy server that wraps the Qoder CLI, a Chinese AI coding service, and exposes it as a drop-in OpenAI or Anthropic-compatible API so any app that supports those formats can use Qoder models without code changes.

What language is qoder-proxy written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js.

What license does qoder-proxy use?

Free to use for any purpose, including commercial use, as long as you keep the copyright notice. MIT license.

How hard is qoder-proxy to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is qoder-proxy for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.