Run a self-hosted ChatGPT-style interface with branching, mergeable conversations.
Convert your own ChatGPT plan into an OpenAI-compatible API key for other tools.
Self-host the full stack on your own Cloudflare and Vercel accounts for privacy.
| safalbhandari12/bettergpt | 0labs-in/vision-link | alfons-fhl/cursor-plan2api | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 4/5 | 3/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Full deployment needs a Cloudflare account for the backend plus a separate host like Vercel for the frontends.
BetterGPT is a chat app that looks and feels like ChatGPT but adds branching conversations, meaning you can split a chat into different paths and merge them back together, all using your own existing ChatGPT plan instead of a separate subscription. Alongside it sits a second tool called Mile-Post, which lets you sign in with your ChatGPT account and turn it into a standard API key that works anywhere an OpenAI key is expected, complete with a built-in playground to test it without writing any code. The project is organized as a monorepo, meaning several related apps live together in one codebase and share tools for building and running them. There are three parts: a web app for the branching chat interface, the Mile-Post app for generating API keys, and a backend service that stores conversation history, login sessions, and encrypted account tokens. The backend never talks to ChatGPT directly. Instead, it purely stores data, while the two frontend apps handle making the actual requests, because routing that traffic through the backend's hosting provider would get flagged as suspicious by OpenAI's bot protection. Sensitive information like login tokens and generated API keys are encrypted before being stored, and every request between the apps passes through a shared internal secret so the backend can trust which app is asking. Conversations are saved as structured data that preserves the branching and merging structure created in the chat interface. To run the project locally, you install dependencies with pnpm and start all three apps at once with a single command, and the repository already includes matching development secrets so the pieces can talk to each other right away. Deploying to production involves setting up a Cloudflare Worker with its own database and key-value storage, then hosting the two frontend apps separately, with instructions provided for a full self-hosted setup if you would rather run your own instance than use a hosted one.
A ChatGPT-style chat app with branching conversations, plus a companion tool that turns your ChatGPT login into a reusable API key.
Mainly TypeScript. The stack also includes TypeScript, Next.js, Cloudflare Workers.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.