git404hub

what is gptgrok2api fr?

auucoder/gptgrok2api — explained in plain English

Analysis updated 2026-05-18

72PythonAudience · developerComplexity · 4/5Setup · hard

tl;dr

A self hosted server that turns ChatGPT and Grok accounts into an OpenAI style API, with tools for managing accounts, proxies, and automated registration.

vibe map

mindmap
  root((GPTGrok2API))
    What it does
      Unified API gateway
      Account pool management
      Proxy routing
    Tech stack
      Python
      Docker Compose
      SQLite
      PostgreSQL
    Use cases
      Self hosted API access
      Account and proxy management
      Server deployment
    Audience
      Developers
      Self hosters
      Server operators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Expose a self hosted OpenAI compatible API backed by existing ChatGPT or Grok accounts.

VIBE 2

Manage a pool of connected accounts, proxies, and their access tokens from one console.

VIBE 3

Route API traffic through rotating proxies or a WARP connection for network stability.

VIBE 4

Automate email based account registration workflows through a management dashboard.

what's the stack?

PythonDockerDocker ComposeSQLitePostgreSQL

how it stacks up fr

auucoder/gptgrok2apiderekh-233/amdljuneyaooo/nihaixia
Stars727272
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity4/53/52/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires Docker Compose, at least 2GB RAM, an auth key configuration, and network access to upstream services.

No license information is provided in this repository.

in plain english

GPTGrok2API is a self hosted gateway that takes existing ChatGPT and Grok subscription accounts and exposes their capabilities through an API that looks like OpenAI's own API format, along with an Anthropic compatible message format. It bundles a management console for handling accounts, proxies, logs, images, and system status in one place. The project combines several pieces: a unified API layer that merges GPT and Grok model access behind familiar endpoints like chat completions, image generation, and image editing, a runtime that manages pools of connected accounts and automatically checks and refreshes their access if it expires, and a registration module that can create new accounts using various temporary and disposable email providers, including a built in Apple iCloud email helper. It also ships its own local tool for automatically solving the CAPTCHA challenges that appear during account registration, running inside a headless browser in Docker. Beyond account handling, the project supports routing traffic through proxies and services like Cloudflare WARP to keep network access stable, and can store its account data in JSON files, SQLite, or PostgreSQL. It also supports syncing accounts to and from other similar external systems. It is distributed as a Docker Compose setup, and getting it running means cloning the repository, copying an example environment file, setting an authorization key, and starting the containers. Detailed setup guides are provided for both macOS and Ubuntu Linux deployments, along with troubleshooting documentation for common errors in email delivery, CAPTCHA solving, and account registration. The project is written primarily in Python and is intended to be run on a server or personal machine the user controls.

prompts (copy fr)

prompt 1
Help me set up the .env file and config.json needed to run this Docker Compose project.
prompt 2
Explain how the account pool and automatic access token refresh work in this project.
prompt 3
Walk me through deploying this with Docker Compose and the WARP proxy setup.
prompt 4
What do I need installed on Ubuntu to run the systemd service for this project?

Frequently asked questions

what is gptgrok2api fr?

A self hosted server that turns ChatGPT and Grok accounts into an OpenAI style API, with tools for managing accounts, proxies, and automated registration.

What language is gptgrok2api written in?

Mainly Python. The stack also includes Python, Docker, Docker Compose.

What license does gptgrok2api use?

No license information is provided in this repository.

How hard is gptgrok2api to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is gptgrok2api for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.