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.0.tar.gz (11.2 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.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for loggit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3db2dc197c21f0cec46bddde5a563273373fbca398c2e41edc018a75598b69a3
MD5 b804927ba3d3534aee6c9cfcca273b9c
BLAKE2b-256 2e4ad22ebc2edda620fb8f66ec3378ffd77de50a220e8496651062619ad3e43c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: loggit-1.0.0-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.12.3

File hashes

Hashes for loggit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cee2523cd5f681910e7fe4ef3bb1edb7f8cb31eb658b9ffab1a598b8e5241488
MD5 b102320a88d86f92158de2705975d290
BLAKE2b-256 b63c80831d322d44197190253aec708c71a13c791f710b2f76449a33cefe16ad

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

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