# CatGPT-Gateway

> Self-hosted gateway turning ChatGPT/Claude browser sessions into an OpenAI-compatible API with tool calling, vision, and file attachments.

- **Category:** AI
- **Licence:** MIT
- **Open source:** oss
- **Languages:** Python
- **Platforms:** Docker Compose, Python, Nix
- **Tags:** Chatbot, LLM, Chatgpt, Anthropic, Claude, Openai, Vision, Playwright, Api Gateway, Langchain, Docker, AI, Python, Fastapi, Browser automation, Self Hosted, Openai Api, Function Calling, Tool calling, Openai compatible, Dall e

## Description

A self-hosted gateway that automates a real Chromium browser to turn your ChatGPT or Claude web login into an OpenAI-compatible API. It delivers chat completions with streaming, tool calling, vision, file uploads, and DALL-E 3 image generation (ChatGPT only). The FastAPI service works with OpenAI SDKs, LangChain, and any OpenAI-protocol client. Run it via Docker Compose (with virtual display and noVNC), local Python, or Nix. Auth is a Bearer token; browser profiles survive restarts. MIT licensed, active development.

## Links

- [Homepage](https://github.com/GautamVhavle/CatGPT-Gateway)
- [GitHub Repository](https://github.com/GautamVhavle/CatGPT-Gateway)
- [Documentation](https://github.com/GautamVhavle/CatGPT-Gateway/blob/main/docs/API.md)

---
Source: https://selfhost.directory/project/catgpt-gateway