Skip to main content

Git on TUI steroids with OCD! Transform your Git history with AI-powered commit messages and streak protection.

Project description

git2grit

Git on steroids. Chronic streak OCD. The ultimate TUI + AI wrapper for Git.

Grit Streak Grit Power

๐ŸŽฏ The "Pure UX" Mode

Just here for the beautiful TUI and AI? Set target = 0 in grit config. No date manipulation. No history rewrites. Just an elite Git experience.

uv tool install git2grit


๐Ÿ”ฅ Experience the Difference

Boring Git Status

$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean

Grit Intelligence Dashboard

$ grit status
    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
    โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•
    โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘
    โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘
    โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘
     โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ•โ•šโ•โ•   โ•šโ•โ•
    โœฆ v0.0.1 - Intelligently distribute your commits

  โ–ˆโ–‘ 1/2 today                                           April Volume: 56
  โœฆ Optimization Progress: 41.9% โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 554 COMMITS BEHIND

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Commit Intelligence Pipeline โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                  โ”‚
โ”‚    Date               Timeline           Status                   Load           โ”‚
โ”‚    2026-04-22         today               โ—†                       1/2            โ”‚
โ”‚    2026-04-21         next                โ—‡                       0/2            โ”‚
โ”‚    2026-02-03         then                โ—‡                       1/2            โ”‚
โ”‚    2026-01-27         later               โ—‡                       0/2            โ”‚
โ”‚                                                                                  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

๐Ÿ”ฅ Features for the Obsessed

๐Ÿค– CommitScribe AI (grit commit)

Revamp your commit experience with an elite interactive TUI.

  • Interactive File Picker: Fluidly stage/unstage files with a high-fidelity selector.
  • Deep-Diff Analysis: Powered by Pydantic AI. It understands why you changed that line.
  • Architectural Messages: Automatically generates professional, context-aware commit messages.
  • Draft Caching: Remembers your AI drafts so you never lose a masterpiece.

๐Ÿ“… Real-Time Reallocation

Obsessed with the perfect graph?

  • Automatic Allocation: If target > 0, Grit intelligently shifts your commit dates as you code to ensure your streak never breaks.
  • Spread Intelligence: Use grit spread to redistribute a range of commits across historical gaps.

๐Ÿ› ๏ธ The Control Center (grit config)

A beautiful interactive TUI to manage your "Juice."

  • AI Configuration: Effortlessly set up Gemini, OpenAI, or Ollama.
  • Boundary Setting: Define your daily targets and historical boundaries.
  • Strategy Selection: Choose between today or start_date allocation patterns.

๐Ÿ›  Commands at a Glance

Command The Vibe
grit commit The Core. Elite TUI + AI commit wizard.
grit status The Hub. Check metrics, velocity, and streak health.
grit dash The View. High-fidelity web-based intelligence dashboard.
grit spread The Gap Filler. Redistribute work across history.
grit log The Flex. Human-readable logs on jetpack rollerskates.
grit undo The Oops. Regress commits and restore state.
grit config The Control. Interactive setup and "Pure UX" mode.

โš ๏ธ Disclaimer: History Manipulation

git2grit modifies GIT_AUTHOR_DATE and GIT_COMMITTER_DATE to protect your streaks.

  • Use with precaution on public/shared repos.
  • History Rewrites: Spreading and moving commits will rewrite Git history.
  • Safe Mode: Set target = 0 to disable all date-shifting while keeping the TUI/AI.

Built with โค๏ธ by hammaadworks

Disclaimer: Reflect your real work, don't fake it. Use your powers for good.

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

git2grit-0.0.2.tar.gz (6.9 MB view details)

Uploaded Source

Built Distribution

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

git2grit-0.0.2-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

Details for the file git2grit-0.0.2.tar.gz.

File metadata

  • Download URL: git2grit-0.0.2.tar.gz
  • Upload date:
  • Size: 6.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for git2grit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bee8ec03d1b1b30326cec0b7f8a6ceb7dbb69aeecf6fdb0e8906736c7e770a2c
MD5 8713129a6130e5487b4b9bd34c6bfdc8
BLAKE2b-256 db52dcf18312aa5e9ece626bd444769fe6f678f7fc6f0c14efe7bd63c1cddda6

See more details on using hashes here.

File details

Details for the file git2grit-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: git2grit-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 66.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for git2grit-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5929e238949def342684f1f3caabad032de7670ee5187be5bc393ed50ab22d
MD5 be87300a90b7af2e315c67443bd2b5dc
BLAKE2b-256 24a9246dd7666a9e1e3d626ad5aab28babcaf7d4efb45b03e409ea26ab125815

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