Skip to content

Digit v1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Jul 17:48
1.0
906aee8

Digit (display git) is a fast, simple web frontend to your git repositories — born the day legit melted a single-core droplet, and built to keep a finger on your repos without putting a finger on your CPU.

All repository access shells out to battle-hardened git plumbing, and everything rendered is cached: pages carry ETags derived from the repo's actual state, hash-pinned URLs are immutable forever, and crawler herds graze on 304s. Can you dig it?

Full Changelog available here https://github.com/troglobit/digit/commits/1.0

Digging through your repos

  • Browse repos, trees, files, commits, diffs, refs, and blame
  • Mirror-tree aware: host/org/repo.git layouts group per org, with index pages at every level
  • GitHub-grade markdown: emoji, tables, alerts, relative links and images, readme tabs for license, contributing, and friends
  • Syntax highlighting, line anchors with visual range marks
  • Commit message search, .patch views, tar.gz/zip snapshots
  • Atom and RSS feeds, per repo and site-wide
  • Read-only clone over smart HTTP, with a GitHub-style clone menu offering HTTPS, SSH, and snapshot downloads
  • Dark & light mode, fully templated HTML, configurable navbar

Digging in

  • Single static binary; git on the server is the only runtime requirement — mirrors owned by other users welcome
  • make install honors prefix, sysconfdir, and DESTDIR
  • Runs happily under systemd (journal auto-detected) or Finit and friends (-s/--syslog)
  • Feature toggles for blame, archives, feeds, clone, and search, so your instance is exactly as wide as you want it
  • Ships robots.txt and fail2ban-ready logs, because the scrapers that inspired this project deserve a warm welcome

Prebuilt static binaries for linux amd64 and arm64 below, with checksums. See the README for configuration and reverse proxy examples for nginx and merecat httpd.