[UNTESTED] [utksh1/conduit] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,123 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:3040/v1/chat/completions
Source: https://github.com/utksh1/conduit
# Conduit
[](https://www.rust-lang.org)
[](LICENSE)
[](Cargo.toml)
A high-performance Rust proxy that transforms ChatGPT's web interface into an OpenAI-compatible API. Use your ChatGPT subscription with any tool that supports the OpenAI protocol — Cursor, Continue, custom scripts, and more.
---
## Features
### Core Capabilities
- **OpenAI-Compatible API** — Drop-in replacement for `/v1/chat/completions` and `/v1/models`
- **Automatic Token Management** — Refreshes session tokens on expiry with exponential backoff retry
- **Advanced Proof-of-Work Solver** — Dual-mode solver with browser fingerprinting
- **New Algorithm**: OmniRoute-compatible with 18-element prekey config (hex prefix comparison)
- **Legacy Support**: Original SHA3-512 solver with leading zero bits (backward compatible)
- **Sentinel Prepare Token**: Two-step PoW process for enhanced challenge handling
- **Stateful Conversations** — Maps OpenAI message histories to ChatGPT threads via SHA-256 fingerprinting
- **SSE Streaming** — Full support for real-time streaming responses with delta computation
- **Continue Generation** — Automatically handles max_tokens cutoffs by continuing responses
### Cloudflare & Bot Detection Evasion
- **🌐 Browser-Like Headers** — Complete Firefox 152 header emulation with OAI-specific fields
- Stable device ID generation (SHA-256 of session token)
- Random session IDs per conversation
- Sec-Fetch-* headers, proper Accept-Encoding
- **Advanced Cookie Handling** — Supports all ChatGPT token formats
- Chunked tokens (`__Secure-next-auth.session-token.0`, `.1`, `.2`)
- Unchunked tokens (single value)
- Full Cookie header parsing
- Cloudflare cookie preservation (cf_clearance, __cf_bm, _cfuvid)
- Automatic token rotation handling
- **Session W