Skip to content
dk
← All projects

loggit

A friendly terminal git history explorer. Zero dependencies.

Python10 forks0 open issues & PRsMITupdated 1mo ago
clicli-toolsdeveloper-toolsdevtoolsgitgit-loggithub-actionsproductivityterminal
Stars
1
Forks
0
Created
Aug 30, 2026
Last push
Sep 1, 2026
Default branch
main
Contributors
0

README

dsk-dev-ai/loggit

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.

Related projects

Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop. Zero dependencies, pure Python, agent-friendly (Cursor, Claude Code, Codex, OpenCode).

ai-agentsarchitecture-diagramcli
Python1mo ago

177 merged pull requests across 19 repositories · data generated Oct 7, 2026