Skip to content

longduoduo112/chatbox

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

932 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

English | ็ฎ€ไฝ“ไธญๆ–‡

This is the repository for the Chatbox Community Edition, open-sourced under the GPLv3 license.

Chatbox is going open-source Again!

We regularly sync code from the pro repo to this repo, and vice versa.

Download for Desktop

Windows MacOS Linux

Setup.exe

Intel

Apple Silicon

AppImage

Download for iOS/Android

.APK

For more information: chatboxai.app

Quick Start

For End Users

  1. Download the appropriate installer for your platform from the releases page
  2. Install and launch Chatbox
  3. Configure your AI provider (OpenAI, Claude, etc.) in settings
  4. Start chatting!

System Requirements

Platform Minimum Version Architecture
Windows Windows 10 x64
macOS macOS 11 (Big Sur) Intel/Apple Silicon
Linux Ubuntu 20.04+ / AppImage supported distros x64


Chatbox (Community Edition)

Your Ultimate AI Copilot on the Desktop.
Chatbox is a desktop client for ChatGPT, Claude and other LLMs, available on Windows, Mac, Linux

macOS Windows Linux Downloads Privacy

Chatbox - Better UI & Desktop App for ChatGPT, Claude and other LLMs. | Product Hunt

Features

๐Ÿค– AI Model Support

  • Support for Multiple LLM Providers
    โš™๏ธ Seamlessly integrate with a variety of cutting-edge language models:

    • OpenAI (ChatGPT)
    • Azure OpenAI
    • Claude
    • Google Gemini Pro
    • Ollama (enable access to local models like llama2, Mistral, Mixtral, codellama, vicuna, yi, and solar)
    • ChatGLM-6B
  • Image Generation with Dall-E-3
    ๐ŸŽจ Create the images of your imagination with Dall-E-3.

  • Enhanced Prompting
    ๐Ÿ’ฌ Advanced prompting features to refine and focus your queries for better responses.

๐Ÿ–ฅ๏ธ User Experience

  • Local Data Storage
    ๐Ÿ’พ Your data remains on your device, ensuring it never gets lost and maintains your privacy.

  • No-Deployment Installation Packages
    ๐Ÿ“ฆ Get started quickly with downloadable installation packages. No complex setup necessary!

  • Ergonomic UI & Dark Theme
    ๐ŸŒ‘ A user-friendly interface with a night mode option for reduced eye strain during extended use.

  • Keyboard Shortcuts
    โŒจ๏ธ Stay productive with shortcuts that speed up your workflow.

  • Streaming Reply
    โ–ถ๏ธ Provide rapid responses to your interactions with immediate, progressive replies.

๐Ÿ“„ Content & Formatting

  • Markdown, Latex & Code Highlighting
    ๐Ÿ“œ Generate messages with the full power of Markdown and Latex formatting, coupled with syntax highlighting for various programming languages, enhancing readability and presentation.

  • Prompt Library & Message Quoting
    ๐Ÿ“š Save and organize prompts for reuse, and quote messages for context in discussions.

๐Ÿ‘ฅ Collaboration & Sharing

  • Team Collaboration
    ๐Ÿ‘ฅ Collaborate with ease and share OpenAI API resources among your team. Learn More

๐ŸŒ Platform Availability

  • Cross-Platform Desktop
    ๐Ÿ’ป Chatbox is ready for Windows, Mac, and Linux users.

  • Web Version
    ๐ŸŒ Use the web application on any device with a browser, anywhere.

  • Mobile Apps
    โ˜Ž๏ธ Native iOS and Android applications for on-the-go access.

๐ŸŒ Localization

  • Multilingual Support
    ๐ŸŒŽ Catering to a global audience by offering support in multiple languages:
    • English
    • ็ฎ€ไฝ“ไธญๆ–‡ (Simplified Chinese)
    • ็น้ซ”ไธญๆ–‡ (Traditional Chinese)
    • ๆ—ฅๆœฌ่ชž (Japanese)
    • ํ•œ๊ตญ์–ด (Korean)
    • Franรงais (French)
    • Deutsch (German)
    • ะ ัƒััะบะธะน (Russian)
    • Espaรฑol (Spanish)

โœจ More Features

  • And More...
    โœจ Constantly enhancing the experience with new features!

FAQ

Why I made Chatbox?

I developed Chatbox initially because I was debugging some prompts and found myself in need of a simple and easy-to-use prompt and API debugging tool. I thought there might be more people who needed such a tool, so I open-sourced it.

At first, I didn't know that it would be so popular. I listened to the feedback from the open-source community and continued to develop and improve it. Now, it has become a very useful AI desktop application. There are many users who love Chatbox, and they not only use it for developing and debugging prompts, but also for daily chatting, and even to do some more interesting things like using well-designed prompts to make AI play various professional roles to assist them in everyday work...

How to Contribute

We welcome contributions from the community! Here's how you can help make Chatbox better:

๐Ÿ› Reporting Issues

  • Use GitHub Issues to report bugs or request features
  • Before creating a new issue, please search existing issues to avoid duplicates
  • Provide detailed information including steps to reproduce, expected behavior, and screenshots if applicable

๐Ÿ”ง Pull Requests

  1. Fork the repository and create your branch from main
  2. Make your changes and ensure the code follows our coding standards
  3. Test your changes thoroughly
  4. Update documentation if needed
  5. Submit a pull request with a clear description of the changes

๐ŸŒ Translations

Help make Chatbox accessible to more people by contributing translations:

  • Translation files are located in the src/locales directory
  • Follow the existing translation format
  • Submit a PR with your translation improvements

๐Ÿ“– Documentation

  • Improve README, API documentation, or user guides
  • Fix typos or clarify unclear instructions
  • Add examples and tutorials

๐ŸŒŸ Other Ways to Contribute

  • Star the repository to show your support
  • Share Chatbox with others
  • Answer questions in GitHub Discussions
  • Provide feedback and suggestions

Thank you for contributing! ๐Ÿ™

Development

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v20.x โ€“ v22.x) - Download here
  • pnpm (v10.x or later) - Install via corepack enable && corepack prepare pnpm@latest --activate
  • Git - Download here

Quick Setup

  1. Clone the repository

    git clone https://github.com/chatboxai/chatbox.git
    cd chatbox
  2. Install dependencies

    pnpm install
  3. Start development server

    pnpm run dev

    The application will start in development mode with hot-reload enabled.

Build Commands

Command Description
pnpm run dev Start development server with hot-reload
pnpm run package Build and package for current platform
pnpm run package:all Build and package for all platforms
pnpm run build Build for production without packaging
pnpm run lint Run Biome to check code quality
pnpm run test Run Vitest test suite

Project Structure

chatbox/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ main/               # Electron main process
โ”‚   โ”œโ”€โ”€ renderer/           # React renderer (UI)
โ”‚   โ”œโ”€โ”€ preload/            # Electron preload scripts
โ”‚   โ””โ”€โ”€ shared/             # Shared utilities
โ”œโ”€โ”€ doc/                    # Documentation and assets
โ”œโ”€โ”€ resources/              # App resources and icons
โ”œโ”€โ”€ team-sharing/           # Team collaboration features
โ””โ”€โ”€ package.json            # Project configuration

Development Tips

  • Use pnpm run lint before committing to ensure code quality
  • Follow the existing code style and patterns
  • Test your changes on both light and dark themes
  • Ensure cross-platform compatibility when making UI changes

Troubleshooting

Issue: pnpm install fails

  • Solution: Ensure you're using pnpm (not npm or yarn) and Node.js version is within the required range. Run corepack enable if pnpm is not found.

Issue: Build fails on Windows

  • Solution: Run pnpm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe" if using Git Bash

Issue: Changes not reflecting in development

  • Solution: Stop the dev server, delete node_modules/.vite, and restart

Star History

Star History Chart

Contact

Twitter | Email

License

LICENSE

About

User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 95.3%
  • JavaScript 2.9%
  • CSS 0.6%
  • EJS 0.5%
  • HTML 0.5%
  • Shell 0.1%
  • Other 0.1%