Skip to main content

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.

Metadata

Release files for git2grit 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git2grit 0.0.2
File Size Uploaded
git2grit-0.0.2.tar.gz 6.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for git2grit 0.0.2
File Interpreter ABI Platform
git2grit-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 MB

Release files / git2grit-0.0.2.tar.gz

Download URL git2grit-0.0.2.tar.gz
Size 6.9 MB
Tags Source
SHA-256 checksum
How to use checksums
bee8ec03d1b1b30326cec0b7f8a6ceb7dbb69aeecf6fdb0e8906736c7e770a2c
BLAKE2b-256 checksum
How to use checksums
db52dcf18312aa5e9ece626bd444769fe6f678f7fc6f0c14efe7bd63c1cddda6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release files / git2grit-0.0.2-py3-none-any.whl

Download URL git2grit-0.0.2-py3-none-any.whl
Size 66.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a5929e238949def342684f1f3caabad032de7670ee5187be5bc393ed50ab22d
BLAKE2b-256 checksum
How to use checksums
24a9246dd7666a9e1e3d626ad5aab28babcaf7d4efb45b03e409ea26ab125815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page