Skip to main content

A blazing-fast TUI replacement for GitKraken - manage your Git repos with style!

Project description

OctoTUI Logo

OctoTUI

PyPI version Python License: MIT Code style: ruff

A terminal UI for Git, inspired by GitKraken

InstallationScreenshotsKeybindings


OctoTUI Demo

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.

Status Tab

Files Tab

Browse your repository with a tree view. Press e to open files in your editor.

Files Tab

Unstaged Changes

Review unstaged changes with syntax-highlighted diffs. Stage or discard individual hunks.

Unstaged Tab

Staged Changes

See what's going into your next commit. Unstage hunks if needed.

Staged Tab

Commit Tab

Write commit messages with subject and body, or generate them with AI.

Commit Tab

Settings Tab

Configure your editor, theme, and AI provider. Supports 30+ providers including OpenAI, Anthropic, and Ollama.

Settings Tab Settings Tab - GAC Config


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

AI Commit Messages (Optional)

uv pip install 'gac>=0.18.0'

Then press Ctrl+G in OctoTUI to configure your AI provider.


Keybindings

Navigation

Key Action
↑/↓ Navigate files/hunks
←/→ Navigate between files
Enter Select file
Tab Cycle through buttons
e Edit file in external editor

View Switching

Key Tab
1 Status
2 Files
3 Unstaged
4 Staged
5 Commit
6 Graph
7 History
8 Settings

Git Operations

Key Action
s Stage selected file
u Unstage selected file
a Stage all changes
x Unstage all changes
c Commit
p Push
o Pull
r Refresh
b Switch branch

AI & App

Key Action
g Generate AI commit message
Ctrl+G Configure GAC
h Help
q Quit

Git Status Colors

Color Meaning
Green Staged
Yellow Modified (unstaged)
Blue Directory
Purple Untracked
Red Deleted

Tech Stack

License

MIT - see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

octotui-0.1.12.tar.gz (51.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

octotui-0.1.12-py3-none-any.whl (60.8 kB view details)

Uploaded Python 3

File details

Details for the file octotui-0.1.12.tar.gz.

File metadata

  • Download URL: octotui-0.1.12.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for octotui-0.1.12.tar.gz
Algorithm Hash digest
SHA256 8b0acdc1a0e14550687e5965bd080d2f658744c233e974e743df8b487686b457
MD5 f9c4dcc028b1a6c9f4265eaeab4a0ab7
BLAKE2b-256 03d74185453dd2b8408d7006657a7425be630edb8ee85d7e979600c60f55aa91

See more details on using hashes here.

File details

Details for the file octotui-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: octotui-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 60.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for octotui-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 38babda582fe51ae037c6ddff45cf62322e791aa72bec2aba6f9b409d0a64ca1
MD5 760db741339288151663126a7fdad6c8
BLAKE2b-256 3847fc4d01457ab66111c2cf77e1b804b88a9e25894a93278684c634ae593b8e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page