ChatGPT-API-server  by acheong08

API server for ChatGPT

created 2 years ago
780 stars

Top 45.7% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides an API server for interacting with ChatGPT, enabling developers to integrate its capabilities into their own applications. It targets developers seeking a self-hosted solution to manage ChatGPT access, offering features like user token management and conversation history support.

How It Works

The server is built in Go and exposes RESTful API endpoints for sending prompts and receiving responses. It supports managing conversation context through conversation_id and parent_id parameters, allowing for multi-turn dialogues. The server also includes administrative endpoints for managing API tokens, enabling granular control over access.

Quick Start & Requirements

Highlighted Details

  • Supports conversation history via conversation_id and parent_id.
  • Includes admin endpoints for user and token management.
  • Offers a Docker Compose setup for easier deployment.
  • Provides a Firefox agent example for client integration.

Maintenance & Community

The project is maintained by acheong08. No specific community channels or roadmap are detailed in the README.

Licensing & Compatibility

The project is licensed under the MIT License, permitting commercial use and integration with closed-source applications.

Limitations & Caveats

The README explicitly states that the official OpenAI API should be used instead, suggesting this project may be outdated or superseded. The Python client is noted as Work In Progress (WIP).

Health Check
Last commit

2 years ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.