ChatGPT  by PawanOsman

Reverse proxy for free ChatGPT API access

created 2 years ago
5,802 stars

Top 9.0% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a free, self-hosted reverse proxy for the OpenAI ChatGPT API, specifically targeting the gpt-3.5-turbo model. It aims to offer free access to advanced AI capabilities, allowing users to integrate ChatGPT into their applications without incurring API costs or requiring an OpenAI API key for self-hosted instances.

How It Works

The project acts as a middleware, intercepting requests intended for OpenAI's API and forwarding them to a backend that provides access to gpt-3.5-turbo. It maintains compatibility with the official OpenAI API structure, enabling seamless integration with existing libraries and codebases. The key advantage is offering a free, self-hostable alternative, with support for streaming responses for a more interactive user experience.

Quick Start & Requirements

  • Docker: docker run -dp 3040:3040 pawanosman/chatgpt:latest
  • Self-Hosting (Manual): Requires Node.js v19+. Clone the repository and run start.bat (Windows) or start.sh (Linux/Termux).
  • Termux (Android): Install Termux, update packages, install git and nodejs, clone the repo, cd into it, and run bash start.sh.
  • Hosted API: Join Discord, obtain an API key from #Bot channel using /key command.
  • Documentation: Installation Guide

Highlighted Details

  • Offers free, complimentary access to gpt-3.5-turbo.
  • Full compatibility with OpenAI API endpoints and libraries.
  • Supports streaming responses for real-time output.
  • Can be integrated with third-party chat UIs like BetterChatGPT and LobeChat.

Maintenance & Community

  • The project is currently outdated and not working, with a stated intention to update it later.
  • Community support is available via Discord. Users must have a Discord account at least 7 days old to join.

Licensing & Compatibility

  • License: AGPL-3.0.
  • The AGPL-3.0 license is a strong copyleft license. It requires that any derivative works or modifications distributed to others must also be made available under the AGPL-3.0 license. This may have implications for commercial or closed-source applications.

Limitations & Caveats

The project is explicitly stated as "a bit outdated and isn’t working right now," with the development team currently occupied with another project. This indicates potential instability or a need for significant updates before reliable use. Self-hosting is also noted as not available in all countries, suggesting potential regional restrictions or network dependencies.

Health Check
Last commit

11 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
111 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.