API server for ChatGPT
Top 45.7% on sourcepulse
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
go install github.com/acheong08/ChatGPT-API-server@latest
Highlighted Details
conversation_id
and parent_id
.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).
2 years ago
Inactive