A sleek, minimalistic desktop wrapper for ChatGPT built with Electron β styled like your favorite hacker terminal.
TerminalGPT is a cross-platform desktop app that brings the power of ChatGPT to your fingertips β wrapped in a retro, terminal-style interface. Designed for devs, geeks, and terminal lovers, this app enhances your productivity by combining ChatGPT's intelligence with an aesthetic you feel at home in.
Behind the scenes, it's still the powerful ChatGPT β just cooler.
- π₯οΈ Electron-powered desktop app β works on macOS, Windows, and Linux
- π§ ChatGPT integration β access ChatGPT's capabilities directly in-app
- π» Terminal-style UI β dark theme, monospaced font, blinking cursor, and retro vibe
- π¨ Custom CSS overrides β enhanced UI layered on top of ChatGPT's core structure
- β‘ Fast & lightweight β minimal distractions, maximum productivity
- π Privacy-friendly β your credentials never leave your machine
Feel like you're chatting with AI from a hacker's command line.
Before building TerminalGPT, make sure you have the following installed:
- Node.js (v18 or higher) - Download here
- npm (comes with Node.js) or yarn
- Git - Download here
- Visual Studio Build Tools or Visual Studio Community
- Python (v3.x) - Download here
- Windows 10 SDK (for native module compilation)
- Xcode Command Line Tools (for native module compilation)
- macOS 10.14 or later (for building)
- Build essentials (gcc, g++, make)
- Python (v3.x)
- libgtk-3-dev (for GTK+ support)
git clone https://github.com/talhanoman/TerminalGPT.git
cd TerminalGPT
./build.shgit clone https://github.com/talhanoman/TerminalGPT.git
cd TerminalGPT
build.batgit clone https://github.com/talhanoman/TerminalGPT.git
cd TerminalGPTnpm installnpm run dev
# or
npm startnpm run buildnpm run make:win
# or
npm run dist:winnpm run make:mac
# or
npm run dist:macnpm run make:linux
# or
npm run dist:linuxAfter building, you'll find the distributable files in the out/ directory:
- Windows:
.exeinstaller and portable.zip - macOS:
.dmginstaller and.appbundle - Linux:
.deb,.rpm, and.AppImagepackages
| Command | Description |
|---|---|
npm start |
Start the app in development mode |
npm run dev |
Alias for npm start |
npm run build |
Build distributable packages for all platforms |
npm run make |
Alias for npm run build |
npm run make:win |
Build for Windows only |
npm run make:mac |
Build for macOS only |
npm run make:linux |
Build for Linux only |
npm run package |
Package the app without creating installers |
npm run clean |
Clean build artifacts and node_modules |
npm run rebuild |
Clean and reinstall dependencies |
| Script | Platform | Description |
|---|---|---|
./build.sh |
macOS/Linux | Automated build script with dependency checks |
build.bat |
Windows | Automated build script with dependency checks |
Pro tip: Use the build scripts for the easiest build experience - they handle dependency installation and platform detection automatically!
# Install Windows Build Tools
npm install --global windows-build-tools
# Or use Visual Studio Installer to install:
# - MSVC v143 build tools
# - Windows 10 SDK
# - Python 3.x# Install Xcode Command Line Tools
xcode-select --install# Ubuntu/Debian
sudo apt-get install build-essential python3 libgtk-3-dev
# Fedora
sudo dnf install gcc-c++ make python3 gtk3-devel
# Arch Linux
sudo pacman -S base-devel python3 gtk3# Clean and reinstall
npm run clean
npm install# Set Electron mirror (if you're in China)
export ELECTRON_MIRROR="https://npm.taobao.org/mirrors/electron/"
npm installTerminalGPT/
βββ src/ # Source code
β βββ main.js # Main process
β βββ renderer.js # Renderer process
β βββ preload.js # Preload script
β βββ index.html # Main window HTML
β βββ index.css # Main styles
β βββ styles/ # Additional styles
βββ webpack.*.config.js # Webpack configurations
βββ forge.config.js # Electron Forge configuration
βββ package.json # Project dependencies and scripts
βββ README.md # This file
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions:
- Check the Troubleshooting section above
- Search existing Issues
- Create a new issue with detailed information about your problem
Happy coding! π