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.1.tar.gz (54.9 kB 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.1-py3-none-any.whl (66.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for git2grit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a41e677edc205381ab5981a54eee6799901c839f063755a49e654ab58e92cb57
MD5 cb2408ccf76daee630de11b49753f062
BLAKE2b-256 b82ed7c924127de5e706f18ea21193610fe585ba48453b8b0e1d1d3aa6039653

See more details on using hashes here.

File details

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

File metadata

  • Download URL: git2grit-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23472ba6dca70794a73cc450d568b03b9c60c6b9132189d1c57aa9a40ca27582
MD5 9357291723e8d6b5aafe70b25a39830e
BLAKE2b-256 780f3d89d540c3fe81af84f60603dc6c993b79e099c7ac245ade7890b4ccb3ba

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