OctoTUI brings a GitKraken-like experience to your terminal. Visual diffs, hunk-level staging, branch management, commit history—all without leaving the command line.
Features
- Visual diffs with syntax highlighting
- Hunk-level staging/unstaging
- Branch visualization and management
- Commit history browsing
- AI-powered commit messages (via GAC)
- 100% free and open source
Screenshots
Status Tab
Repository status at a glance: branch, remote tracking, sync status (ahead/behind), working tree operations.
Files Tab
Browse your repository with a tree view. Press e to open files in your editor.
Unstaged Changes
Review unstaged changes with syntax-highlighted diffs. Stage or discard individual hunks.
Staged Changes
See what's going into your next commit. Unstage hunks if needed.
Commit Tab
Write commit messages with subject and body, or generate them with AI.
Settings Tab
Configure your editor, theme, and AI provider. Supports 30+ providers including OpenAI, Anthropic, and Ollama.
Installation
Quick Start
uvx octotui
From Source
git clone https://github.com/never-use-gui/octotui.git
cd octotui
uv run octotui
Requirements
- Python 3.11+
- Git
- Terminal with 256+ colors
Profiling & Debugging
If OctoTUI is slow on large repositories, enable profiling to identify bottlenecks:
# Enable profiling (logs to ~/.octotui_profile.log)
OCTOTUI_PROFILE=1 uv run octotui /path/to/big/repo
# Use a custom log file
OCTOTUI_PROFILE=1 OCTOTUI_PROFILE_LOG=/tmp/profile.log uv run octotui
After using the app, check the profile log for a summary of slow functions:
cat ~/.octotui_profile.log | tail -30
The summary shows function call counts, total time, average time, and min/max times—sorted by total time (slowest first).
Tech Stack
License
MIT - see LICENSE
Metadata
Release files for octotui 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| octotui-0.1.15.tar.gz | 63.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| octotui-0.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 136.6 kB
Release files / octotui-0.1.15.tar.gz
| Download URL | octotui-0.1.15.tar.gz |
|---|---|
| Size | 63.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e57decf2d38fa98eacf1fa889e0949d744d59677d54d17f1eab2f5347433d79c
|
|
BLAKE2b-256 checksum How to use checksums |
137878592d8596c32fb3470cb9fdeca64a76bd4145d1384ac11c3ae3b425310b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / octotui-0.1.15-py3-none-any.whl
| Download URL | octotui-0.1.15-py3-none-any.whl |
|---|---|
| Size | 73.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0ac32611a4e5182cb54410102a7f2643096806fa13d899061271f01234e15eb
|
|
BLAKE2b-256 checksum How to use checksums |
d6b7360e90966d845deaa15277604ee227accae0754d7598d522f577b7e9b9c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|