Skip to main content

zero deps python pypi version CI MIT Docker GHCR

loggit 🪵

Your git history, actually readable. A friendly terminal explorer that turns git log into color, graphs, and answers — zero dependencies.

Stop squinting at git log --oneline. loggit gives you a clear, colored view of what your repository is really doing — commits, authors, churn, and pace — in one command. Pure Python stdlib, works on any laptop, installs instantly.

▌ main
  17 commits

1000a50   Add Docker/GHCR badge + usage section to README
    dsk-dev-ai  ·  6m ago
    +14/-0 in 1 file(s)

✨ Features

🎨 Pretty output colored, aligned, compact log view with refs, ages, and authors
👥 Author stats per-developer commit counts and line churn as a bar chart
📈 Pace metrics commits/day, authors, and added/removed lines over any window
🔎 Powerful filters --grep, --author, --since, --until, --branch
📦 Machine-readable loggit json for one-line-per-commit JSON
💸 100% free zero dependencies, no AI, no server, no API keys

🔧 Install

pip install loggit

No dependencies. No compiled extensions. Works on Python 3.8+ everywhere.

🐳 Docker

docker pull ghcr.io/dsk-dev-ai/loggit:latest
docker run --rm -v "$PWD:/repo" -w /repo ghcr.io/dsk-dev-ai/loggit:latest authors

🚀 Usage

loggit                        # pretty log of recent commits (default: 40)
loggit -n 100                 # show more
loggit --stat                 # add per-commit +added/-removed lines
loggit --grep "docker"        # only commits mentioning "docker"
loggit --author "ada"         # only commits by a specific developer
loggit --since "2 weeks ago"  # recent activity only
loggit authors                # per-developer commit & churn summary
loggit pace                   # overall stats + velocity
loggit json                   # JSON, one object per line (great for scripting)

See loggit --help for the full list of options.

JSON output (for piping into your tools)
loggit json -n 5 > commits.ndjson
{"hash": "1000a50", "author": "dsk-dev-ai", "date": "2026-08-31T02:14:39+05:30", "subject": "Add Docker/GHCR badge", "refs": "HEAD -> main"}

🧠 How it works

  1. Runs git log with a stable, machine-friendly pretty-format.
  2. Parses commits, refs, dates, and message bodies (stdlib only).
  3. Renders a clean, terminal-aware view — colors auto-disable when piped.
  4. Summarizes per-author and per-window metrics on demand.

🤝 Contributing

Have an idea or spotted a quirk? Open an issue or a pull request. Want to add a metric or a new view? It's a focused module in loggit/.

📄 License

MIT — free to use, modify, and distribute.

⭐ Support

If loggit saved you a minute of git log squinting, give it a star ⭐.

Want to help keep it free forever? Consider becoming a sponsor on GitHub.

Download files

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

Source Distribution

loggit-1.0.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

loggit-1.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file loggit-1.0.1.tar.gz.

File metadata

  • Download URL: loggit-1.0.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for loggit-1.0.1.tar.gz
Algorithm Hash digest
SHA256 53465a16167a3321e7a6074a95a6f97bc6b480169e0ebc09d55ea863f6828145
MD5 52b76fa14564af193f5f3084fdebe857
BLAKE2b-256 9f66cfd54a5609a676460b93d6b3fa0441786adf9e53b7cc14b0036429951332

See more details on using hashes here.

File details

Details for the file loggit-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: loggit-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for loggit-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ca5d5f0f37b2b34a6fbe19bd91e1db8de0ce07981fae5614837d40a3f8ca92b
MD5 63392bdb958f28b2686eef383228789c
BLAKE2b-256 38638b31bcb499084fd5137181f3f265f9ead5f6d07ca354e85cf0a49f5ae30e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 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