Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
183 changes: 133 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,22 @@ We regularly sync code from the pro repo to this repo, and vice versa.

For more information: [chatboxai.app](https://chatboxai.app/)

## Quick Start

### For End Users
1. Download the appropriate installer for your platform from the [releases page](https://github.com/chatboxai/chatbox/releases)
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 |

---
<div align="center" markdown="1">
<a href="https://go.warp.dev/chatbox">
Expand Down Expand Up @@ -106,6 +122,9 @@ For more information: [chatboxai.app](https://chatboxai.app/)
<a href="https://github.com/chatboxai/chatbox/releases" target="_blank">
<img alt="Downloads" src="https://img.shields.io/github/downloads/chatboxai/chatbox/total.svg?style=flat" />
</a>
<a href="#features">
<img alt="Privacy" src="https://img.shields.io/badge/-Local%20First-green?style=flat-square&logo=shield&logoColor=white" />
</a>
</p>

<a href="https://www.producthunt.com/posts/chatbox?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-chatbox" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=429547&theme=light" alt="Chatbox - Better&#0032;UI&#0032;&#0038;&#0032;Desktop&#0032;App&#0032;for&#0032;ChatGPT&#0044;&#0032;Claude&#0032;and&#0032;other&#0032;LLMs&#0046; | Product Hunt" style="width: 150px; height: 30px;" width="100" height="40" /></a>
Expand All @@ -130,15 +149,9 @@ For more information: [chatboxai.app](https://chatboxai.app/)

## Features

- **Local Data Storage**
:floppy_disk: Your data remains on your device, ensuring it never gets lost and maintains your privacy.

- **No-Deployment Installation Packages**
:package: Get started quickly with downloadable installation packages. No complex setup necessary!

### 🤖 AI Model Support
- **Support for Multiple LLM Providers**
:gear: Seamlessly integrate with a variety of cutting-edge language models:

- OpenAI (ChatGPT)
- Azure OpenAI
- Claude
Expand All @@ -152,36 +165,46 @@ For more information: [chatboxai.app](https://chatboxai.app/)
- **Enhanced Prompting**
:speech_balloon: Advanced prompting features to refine and focus your queries for better responses.

### 🖥️ User Experience
- **Local Data Storage**
:floppy_disk: Your data remains on your device, ensuring it never gets lost and maintains your privacy.

- **No-Deployment Installation Packages**
:package: Get started quickly with downloadable installation packages. No complex setup necessary!

- **Ergonomic UI & Dark Theme**
:new_moon: A user-friendly interface with a night mode option for reduced eye strain during extended use.

- **Keyboard Shortcuts**
:keyboard: Stay productive with shortcuts that speed up your workflow.

- **Streaming Reply**
:arrow_forward: Provide rapid responses to your interactions with immediate, progressive replies.

### 📄 Content & Formatting
- **Markdown, Latex & Code Highlighting**
:scroll: 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**
:books: Save and organize prompts for reuse, and quote messages for context in discussions.

- **Streaming Reply**
:arrow_forward: Provide rapid responses to your interactions with immediate, progressive replies.

- **Ergonomic UI & Dark Theme**
:new_moon: A user-friendly interface with a night mode option for reduced eye strain during extended use.

### 👥 Collaboration & Sharing
- **Team Collaboration**
:busts_in_silhouette: Collaborate with ease and share OpenAI API resources among your team. [Learn More](./team-sharing/README.md)

- **Cross-Platform Availability**
:computer: Chatbox is ready for Windows, Mac, Linux users.
### 🌐 Platform Availability
- **Cross-Platform Desktop**
:computer: Chatbox is ready for Windows, Mac, and Linux users.

- **Access Anywhere with the Web Version**
- **Web Version**
:globe_with_meridians: Use the web application on any device with a browser, anywhere.

- **iOS & Android**
:phone: Use the mobile applications that will bring this power to your fingertips on the go.
- **Mobile Apps**
:phone: Native iOS and Android applications for on-the-go access.

### 🌍 Localization
- **Multilingual Support**
:earth_americas: Catering to a global audience by offering support in multiple languages:

- English
- 简体中文 (Simplified Chinese)
- 繁體中文 (Traditional Chinese)
Expand All @@ -192,6 +215,7 @@ For more information: [chatboxai.app](https://chatboxai.app/)
- Русский (Russian)
- Español (Spanish)

### ✨ More Features
- **And More...**
:sparkles: Constantly enhancing the experience with new features!

Expand All @@ -207,53 +231,112 @@ At first, I didn't know that it would be so popular. I listened to the feedback

## How to Contribute

Any form of contribution is welcome, including but not limited to:
We welcome contributions from the community! Here's how you can help make Chatbox better:

- Submitting issues
- Submitting pull requests
- Submitting feature requests
- Submitting bug reports
- Submitting documentation revisions
- Submitting translations
- Submitting any other forms of contribution
### 🐛 Reporting Issues
- Use [GitHub Issues](https://github.com/chatboxai/chatbox/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

## Prerequisites
### 🔧 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

- Node.js (v20.x – v22.x)
- npm (required – pnpm is not supported)
### 🌍 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

## Build Instructions
### 📖 Documentation
- Improve README, API documentation, or user guides
- Fix typos or clarify unclear instructions
- Add examples and tutorials

1. Clone the repository from Github
### 🌟 Other Ways to Contribute
- Star the repository to show your support
- Share Chatbox with others
- Answer questions in [GitHub Discussions](https://github.com/chatboxai/chatbox/discussions)
- Provide feedback and suggestions

```bash
git clone https://github.com/chatboxai/chatbox.git
```
**Thank you for contributing! 🙏**

2. Install the required dependencies
## Development

```bash
npm install
```
### Prerequisites

3. Start the application (in development mode)
Before you begin, ensure you have the following installed:

```bash
npm run dev
```
- **Node.js** (v20.x – v22.x) - [Download here](https://nodejs.org/)
- **pnpm** (v10.x or later) - Install via `corepack enable && corepack prepare pnpm@latest --activate`
- **Git** - [Download here](https://git-scm.com/)

4. Build the application, package the installer for current platform
### Quick Setup

```bash
npm run package
```
1. **Clone the repository**
```bash
git clone https://github.com/chatboxai/chatbox.git
cd chatbox
```

5. Build the application, package the installer for all platforms
2. **Install dependencies**
```bash
pnpm install
```

```bash
npm run package:all
3. **Start development server**
```bash
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](https://api.star-history.com/svg?repos=chatboxai/chatbox&type=Date)](https://star-history.com/#chatboxai/chatbox&Date)
Expand Down