Redirect existing OpenAI API client code to this local proxy by changing only the base URL, keeping all other code unchanged
Run the proxy in Docker with a single command and attach third-party chat UIs via Docker Compose
Request a free API key from the hosted version through a Discord bot and use it in your code without self-hosting
Currently marked outdated and not working, the hosted endpoint requires joining Discord and having an account at least 7 days old.
This repository is a reverse proxy server that exposes a local API endpoint matching the structure of OpenAI's chat completions API, but routes requests without requiring a paid OpenAI API key. The idea is that existing code written against the OpenAI Python or Node.js libraries can point at this local server instead by changing only the base URL, and the rest of the code stays the same. You can run it yourself on a Windows or Linux PC, inside Docker, on an Android phone using Termux, or connect to a pre-hosted version maintained by the project author. The self-hosted Docker setup takes a single command and starts the proxy on port 3040. A Docker Compose option is also included for running third-party chat interfaces alongside the proxy. To use the hosted version (rather than self-hosting), you join the project's Discord server, request an API key through a bot command in a specific channel, and use that key with the hosted endpoint URL instead of OpenAI's. The README notes that a Discord account must be at least seven days old to join. The README states that the project is currently outdated and not working as of the last update. The author says it will be updated when time permits, and points users toward the hosted API in the meantime. The project is written in TypeScript and licensed under AGPL-3.0.
← pawanosman on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.