# pawanosman/chatgpt

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/pawanosman-chatgpt).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

5,894 stars · 1,006 forks · TypeScript · AGPL-3.0

## Links

- GitHub: https://github.com/PawanOsman/ChatGPT
- Homepage: https://discord.pawan.krd
- awesome-repositories: https://awesome-repositories.com/repository/pawanosman-chatgpt.md

## Topics

`ai` `api` `bard` `bing` `chat` `chatbot` `chatgpt` `chatgpt-api` `free` `gpt-3` `gpt-4` `openai` `openai-api` `reverse-proxy`

## Description

This project provides a self-hosted reverse proxy that forwards requests to ChatGPT's gpt-3.5-turbo model, accepting the same request format and authentication pattern as the official OpenAI API. It functions as a drop-in replacement, allowing any library or tool built for the OpenAI API to work without code changes.

The proxy delivers model output incrementally to clients as it is generated, enabling real-time streaming responses. It processes each request independently without storing session state, and uses environment variables or configuration files to determine the upstream API URL and authentication tokens at startup.

The project includes Docker Compose configuration for running the proxy alongside third-party chat web interfaces like BetterChatGPT and LobeChat as a unified stack.

## Tags

### Networking & Communication

- [ChatGPT](https://awesome-repositories.com/f/networking-communication/api-proxies/chatgpt.md) — Provides a self-hosted proxy that forwards requests to ChatGPT models with full OpenAI API compatibility. ([source](https://cdn.jsdelivr.net/gh/pawanosman/chatgpt@main/README.md))
