explaingit

maowuzz/chatgpt-session-forge

Analysis updated 2026-05-18

34JavaScriptAudience · ops devopsComplexity · 3/5Setup · moderate

TLDR

A local tool that automates logging into many ChatGPT accounts and exports the session credentials for other proxy tools.

Mindmap

mindmap
  root((chatgpt-session-forge))
    What it does
      Bulk ChatGPT login
      Outlook email import
      Credential export
    Tech stack
      JavaScript
      Node.js
      Express
    Use cases
      Manage many accounts
      Export CPA sub2api Cockpit
      Refresh expired sessions
    Audience
      Ops and automation users

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 build with it?

USE CASE 1

Import a batch of Outlook accounts and log each one into ChatGPT automatically.

USE CASE 2

Export session credentials in CPA, sub2api, or Cockpit format for use with other proxy tools.

USE CASE 3

Scan for expired credentials, refresh them by logging in again, and remove disabled accounts.

What is it built with?

JavaScriptNode.jsExpress

How does it compare?

maowuzz/chatgpt-session-forgeblacksnowskill/comfyui-bss_flsamplermomolm/codex-mainline
Stars343434
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audienceops devopsvibe coderdeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Outlook OAuth credentials (client ID, refresh token) and Node.js 18 or higher.

No license has been chosen yet, so default copyright rules apply and reuse is not explicitly permitted.

In plain English

ChatGPT Session Forge is a locally run JavaScript tool for managing multiple ChatGPT accounts in bulk. It runs as a small web server on your own computer and provides a browser-based interface for importing Outlook email accounts, automating the ChatGPT login process for each account, and exporting the resulting session credentials in formats that other proxy tools can consume. The workflow starts by importing Outlook account details, including email address, password, and Microsoft OAuth credentials. The tool then connects to Outlook via standard email protocols to retrieve verification codes that OpenAI sends during login, completing the authentication process automatically. You can run multiple logins at the same time by setting a concurrency limit, and the interface shows progress and status updates in real time. The tool also detects when an account has been suspended or deleted. Once accounts are logged in, you can export the session credentials in three formats: CPA format saves one JSON file per account, sub2api format creates a single combined JSON file with all accounts, and Cockpit format produces a JSON array compatible with a separate tool called cockpit-tools. There is also a management feature that scans for expired credentials, attempts to refresh them by logging in again, and removes credentials for accounts that have been permanently disabled. All account data and logs are stored locally on your machine and are excluded from version control. The README includes a security warning noting that the tool handles sensitive data including passwords, OAuth tokens, and session tokens, and advising users not to commit or share any of that data. The project currently has no license selected.

Copy-paste prompts

Prompt 1
Explain how this tool retrieves OpenAI verification codes from an Outlook inbox automatically.
Prompt 2
Walk me through setting up the Outlook OAuth credentials this project needs to run.
Prompt 3
What is the difference between the CPA, sub2api, and Cockpit export formats in this repo?
Prompt 4
Show me how the CPA management feature detects and refreshes expired credentials.

Frequently asked questions

What is chatgpt-session-forge?

A local tool that automates logging into many ChatGPT accounts and exports the session credentials for other proxy tools.

What language is chatgpt-session-forge written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, Express.

What license does chatgpt-session-forge use?

No license has been chosen yet, so default copyright rules apply and reuse is not explicitly permitted.

How hard is chatgpt-session-forge to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is chatgpt-session-forge for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.