chatbang: Access ChatGPT from the Terminal

chatbang: Access ChatGPT from the Terminal

Summary

Chatbang is a Go CLI that provides terminal access to ChatGPT without requiring an API key. It uses a Chromium browser session, so it suits users who prefer a terminal interface and already have a compatible browser installed.

At a glance

Language
Go
License
MIT
Stars
180
Forks
26
Added to OSRepos
October 17, 2025
Last analyzed
October 3, 2026
View on GitHub

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Overview

Chatbang lets you access ChatGPT from the terminal without configuring an API key. It is intended for people who want a command-line way to interact with ChatGPT using their logged-in browser session.

Rather than connecting through an API, the tool relies on a Chromium-based browser and a ChatGPT login. This makes it relevant when avoiding API-key setup is more important than using a dedicated API integration.

Key Features

  • Opens ChatGPT through a Chromium-based browser session.
  • Provides a terminal command for starting an interaction with ChatGPT.
  • Works without a ChatGPT API key.
  • Offers configuration to set the browser executable path.
  • Uses the browser session for account login and requires clipboard permission for ChatGPT.
  • Can be installed from a release binary or built from source.

Use Cases

  • Terminal users who want to access ChatGPT without switching to a browser window for each interaction.
  • Individuals who do not have an API key and prefer to use their existing ChatGPT login.
  • Developers who want to try a small Go-based command-line interface for ChatGPT.

Project Facts

  • Language: Go
  • License: MIT
  • Stars: 180
  • Forks: 26
  • Archived: No

Getting Started

On Linux, download and install the latest release:

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

Then run chatbang --config to create configuration and open the browser session. See the README for browser setup and source installation details.

Alternatives

  • zero: Zero focuses on coding tasks in repositories and supports hosted or local models, while chatbang provides terminal access to ChatGPT through a browser session.

Considerations

Chatbang requires a Chromium-based browser, a ChatGPT account login in its browser session, and clipboard permission for ChatGPT. The README says Snap-installed browsers are not supported and recommends a browser executable located in /bin or /usr/bin. The documented binary installation instructions are for Linux.

Found this useful?

Share it with someone who would like chatbang.

Comparisons

Source repository

Open the original repository on GitHub.

22 counted GitHub visits

View on GitHub

Related repositories

Similar repositories that may be relevant next.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️