Discover and explore top open-source AI tools and projects—updated daily.
Access OpenAI models via your ChatGPT subscription
New!
Top 59.1% on SourcePulse
ChatMock provides a local server that exposes an OpenAI-compatible API, allowing users to programmatically access OpenAI models through their existing ChatGPT Plus/Pro subscription without needing an API key. This is beneficial for developers and power users who want to integrate advanced AI models into their applications or use alternative chat UIs with their paid ChatGPT account.
How It Works
ChatMock leverages the OAuth client of OpenAI's Codex CLI tool to authenticate with your ChatGPT account. It then acts as a proxy, forwarding requests to OpenAI's services and returning responses. This approach bypasses the need for traditional API keys, instead relying on your logged-in session, and enables access to models like GPT-5.
Quick Start & Requirements
git clone https://github.com/RayBytes/ChatMock.git
cd ChatMock
python chatmock.py login
python chatmock.py serve
python chatmock.py login
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
prompt.md
are not modifiable.1 week ago
Inactive