ahmedhosssam

chatbang: Access ChatGPT from the Terminal Without an API Key

Chatbang is a Go CLI for accessing ChatGPT from a terminal without an API key. It uses a Chromium-based browser session, so you need to log in to ChatGPT and grant clipboard permission.

InactiveGoMITCLIAITerminal
View on GitHub Compare
Stars
181
Forks
26
Stars, last 30 days
-2
Last commit
1.2 years ago
Contributors
3

Our take

Inactiveno commits in over a year

Health score

21/100

How it is scored
Activity
19
Community
24
Issues
21
Pull requests
20

-2 stars in the last 30 days

  • Fewer contributors than 82% of the projects we track

Chatbang offers a straightforward terminal entry point to ChatGPT, but its inactive status and reliance on a browser session make it a better fit for personal experimentation than a maintained team dependency.

Good fit if

  • You use Linux, have a Chromium-based browser installed outside Snap, and are comfortable logging in to ChatGPT in a separate session.
  • You want terminal access without setting up an API key and can accept that the project has had no commits in over a year.
  • You are comfortable with an MIT-licensed Go project whose work is concentrated among a small contributor group, mostly one person.

Look elsewhere if

  • You need an actively maintained tool: there have been no commits in over a year and no releases in the past year.
  • Your browser is installed with Snap, or you need a workflow that does not depend on a Chromium-based browser and clipboard permission.
  • Your team needs evidence of recent issue or pull-request handling; none was recorded in the recent period measured.
All health signals
Last commit2025-09-05 (1.2 years ago)
Commits, last 90 days0
Releases, last 12 months0 (latest v0.1.0, 2025-08-17)
Contributors3 (top contributor: 87% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age18 months

Checked on 2026-11-06 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

179

Forks

27

Change since Nov 16, 2026: 0 stars·0 forks

Overview

Chatbang is a Go command-line tool for accessing ChatGPT from a terminal without an API key. It works through a Chromium-based browser session with ChatGPT, rather than requiring an API key, so it is aimed at people who want a terminal interface and are willing to use their ChatGPT account in that browser session.

The documented installation is for Linux. You need a supported Chromium-based browser, a ChatGPT login, and clipboard permission for ChatGPT in Chatbang's browser session.

Key Features

  • Opens ChatGPT through a terminal command.
  • Uses a logged-in Chromium-based browser session instead of an API key.
  • Lets you set the browser executable path in its config file.
  • Provides a Linux release binary and instructions for building from source with Go.

Use Cases

  • A Linux user who prefers starting ChatGPT from a terminal and does not want to configure an API key.
  • Someone who already uses ChatGPT and wants to reuse an account through a separate browser session.
  • A Go developer who wants to build the CLI from source and can accommodate its browser and clipboard requirements.

What you need

Detected in the repository

  • Go 1.24 or newer (from go.mod)

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

On Linux, download the latest binary and install it:

curl -L https://github.com/ahmedhosssam/chatbang/releases/latest/download/chatbang -o chatbang
chmod +x chatbang
sudo mv chatbang /usr/bin/chatbang

Run chatbang --config to create the configuration and open its browser session, then log in to ChatGPT and allow clipboard access. See the README for browser configuration and source-build instructions.

Considerations

The project is marked inactive, with no commits in over a year. Its latest release is older than a year, and most of the code comes from one person, which may matter if you rely on fixes or continued compatibility. The README also notes that Snap-installed browsers are unsupported. Chatbang avoids API-key setup, but still requires a ChatGPT account and a logged-in Chromium session. The repository is MIT-licensed.

Found this useful?

Share it with someone who would like chatbang.

Comparisons