explaingit

chatboxai/chatbox

Analysis updated 2026-06-20

39,819TypeScriptAudience · generalComplexity · 1/5LicenseSetup · easy

TLDR

A desktop and mobile app that gives you one polished interface to chat with ChatGPT, Claude, Gemini, and local AI models, with all conversations stored privately on your own device.

Mindmap

mindmap
  root((Chatbox))
    What it does
      Multi-provider AI chat
      Local conversation storage
      Offline model support
    Tech stack
      TypeScript
      Electron desktop
      iOS and Android
    Use cases
      Private AI assistant
      Multi-model switching
      Team API key sharing
    Audience
      Power users
      Privacy-minded users
      Small teams
Click or tap to explore — scroll the page freely

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

Chat with multiple AI providers like ChatGPT and Claude from one app without switching browser tabs.

USE CASE 2

Keep all your AI conversation history stored locally on your device for privacy.

USE CASE 3

Run an entirely offline AI assistant using local models through Ollama with no data leaving your machine.

USE CASE 4

Share an API key across a small team so everyone uses the same AI model without individual accounts.

What is it built with?

TypeScriptElectron

How does it compare?

chatboxai/chatboxappsmithorg/appsmithtrpc/trpc
Stars39,81939,75040,130
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderatemoderate
Complexity1/53/53/5
Audiencegeneraldeveloperdeveloper

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

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires your own API key from OpenAI, Anthropic, or another provider, local Ollama models work fully offline.

Free to use and modify, but any software you distribute that includes this code must also be released under the same open-source license.

In plain English

Chatbox is a desktop and mobile application that gives you a polished, privacy-respecting interface for interacting with large language models like ChatGPT, Claude, Google Gemini, and locally-run models through Ollama. The problem it solves is simple: the official web interfaces for these AI services are browser-only, store your conversations on the provider's servers, and lack features that power users want, such as a prompt library, keyboard shortcuts, and offline access to conversation history. Chatbox works by connecting to AI provider APIs using your own API key, which you configure in the app's settings. This means all your conversation data is stored locally on your device rather than in a cloud account. The app renders responses in real time with full support for Markdown formatting, code syntax highlighting, and mathematical notation via LaTeX, so technical and scientific output looks clean and readable. It also supports local models through Ollama, meaning you can run an entirely offline AI assistant on your own hardware with no data leaving your machine at all. You would use Chatbox if you want a single, consistent interface to switch between multiple AI providers without juggling browser tabs, if you care about keeping your conversation history private and stored locally, or if you want advanced features like saved prompt templates, message quoting, and dark mode in a native desktop application. Teams can also share an OpenAI API key through a built-in team collaboration feature. The application is built with TypeScript and runs as a native desktop app using Electron on Windows, macOS, and Linux, as well as offering native iOS and Android apps. The community edition is open-source under the GPLv3 license.

Copy-paste prompts

Prompt 1
I want to set up Chatbox to connect to my OpenAI API key so I can chat with GPT-4 from a desktop app. Walk me through the configuration steps.
Prompt 2
How do I configure Chatbox to use a locally running Ollama model so all my conversations stay completely offline?
Prompt 3
I want to create a saved prompt template in Chatbox for code reviews so I can reuse it quickly. How do I set that up?
Prompt 4
Show me how to switch between Claude and ChatGPT in Chatbox within the same session without losing my conversation history.
Prompt 5
How do I export my Chatbox conversation history so I can back it up or move it to another machine?

Frequently asked questions

What is chatbox?

A desktop and mobile app that gives you one polished interface to chat with ChatGPT, Claude, Gemini, and local AI models, with all conversations stored privately on your own device.

What language is chatbox written in?

Mainly TypeScript. The stack also includes TypeScript, Electron.

What license does chatbox use?

Free to use and modify, but any software you distribute that includes this code must also be released under the same open-source license.

How hard is chatbox to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is chatbox for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub chatboxai on gitmyhub

Verify against the repo before relying on details.