explaingit

wholock2210/luna-proxy

Analysis updated 2026-05-18

29JavaScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A local proxy that lets OpenAI- and Anthropic-compatible tools talk to Qwen's web chat instead, with a browser dashboard for setup.

Mindmap

mindmap
  root((LunaProxy))
    What it does
      Mimics OpenAI style API
      Routes requests to Qwen
      Runs fully local
    Tech stack
      Node.js
      React dashboard
      Qwen web chat
    Use cases
      Reuse existing AI clients
      Multi account management
      Tool call translation
    Audience
      Developers
      Hobbyists
    Setup
      Node.js 18 or newer
      Qwen credentials required

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 an existing OpenAI or Anthropic-compatible client at Qwen without changing its code.

USE CASE 2

Manage multiple Qwen accounts with queueing and concurrency control from one dashboard.

USE CASE 3

Bridge tool-calling requests between OpenAI/Anthropic formats and Qwen's chat interface.

What is it built with?

JavaScriptNode.jsReact

How does it compare?

wholock2210/luna-proxyable-rip/cc-visionrouteraisatan/poe2dire
Stars292929
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasyeasy
Complexity3/52/51/5
Audiencedeveloperdevelopergeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 18+ and Qwen account credentials, author states it is for learning and personal use only, no warranty.

In plain English

LunaProxy is a small program that runs on your own computer and pretends to be an OpenAI-style chat service, while actually talking to Qwen's web chat behind the scenes. The point is that any tool already set up to call OpenAI or Anthropic can be pointed at LunaProxy instead, and the requests get routed through to Qwen with no cloud relay in between. The project ships with a React admin dashboard that runs on the same port as the API, so configuration happens in a browser tab. The README is clear that this is for learning, research, and personal use. There is no commercial license, no warranty, and the author takes no responsibility for account suspensions, data loss, or any other consequence of running it. The feature list covers OpenAI-compatible endpoints at /v1/chat/completions and /v1/models, Anthropic-compatible endpoints at /v1/messages for Claude-style clients, server-sent-event streaming, and a tool-call bridge that wraps Qwen calls in an XML contract and translates the results back into OpenAI or Anthropic shapes. There is also queue and concurrency control across multiple Qwen accounts, persistent session and run tracking, and automatic offload of very large prompts to file-backed context. To run it you need Node.js 18 or newer, one of npm, pnpm, or Bun, and a set of Qwen credentials. Credentials can be captured automatically by letting LunaProxy open a real Chrome window for OAuth login, or pasted in manually as a token and cookie header. The default listening address is 127.0.0.1 on port 8080, and runtime settings live in data/config.json.

Copy-paste prompts

Prompt 1
How do I configure a client that expects the OpenAI API to work with LunaProxy instead?
Prompt 2
Explain how LunaProxy translates tool calls between OpenAI, Anthropic, and Qwen formats.
Prompt 3
Walk me through capturing Qwen credentials automatically with LunaProxy's Chrome login flow.
Prompt 4
What does LunaProxy's queue and concurrency control do across multiple Qwen accounts?

Frequently asked questions

What is luna-proxy?

A local proxy that lets OpenAI- and Anthropic-compatible tools talk to Qwen's web chat instead, with a browser dashboard for setup.

What language is luna-proxy written in?

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

How hard is luna-proxy to set up?

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

Who is luna-proxy for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.