← all repositories

linweiyuan/go-chatgpt-api

A Go-based proxy service that routes ChatGPT access through a local API endpoint, simulating OpenAI API format to enable third-party clients.

go-chatgpt-api
Velocity · 7d
+1.2
★ / day
Trend
steady
star history

This project creates a local proxy server that accesses ChatGPT by bypassing Cloudflare protections. It intercepts ChatGPT login to extract access tokens, then exposes a compatible API endpoint at /imitate/v1/chat/completions that mimics OpenAI’s API format. This allows users to use ChatGPT with clients that only support standard API keys, effectively converting browser-based ChatGPT access into an API-compatible service.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.