rgit

Website

Fast Rust web frontend for bare Git repositories

210 stars 23 forks last commit first released WTFPL

Slowing down

No commits since 25 May 2025. Check the issue tracker before you rely on it.

rgit is a lightweight, high-performance web frontend for browsing bare Git repositories. It provides a modern gitweb/cgit-like interface written in Rust and optimized for fast metadata queries.

Key Features

  • Efficient metadata storage using RocksDB for commits, branches, and tags with configurable reindex interval (default: 5 minutes).
  • On-demand content loading via gitoxide: files, trees, and diffs are fetched when requested rather than preloaded.
  • Small in-memory caching for rendered READMEs and diffs to speed repeated views.
  • Modern Rust stack using an Axum web server and Askama-style templates for fast HTML rendering.
  • Dark mode UI and a simple repository listing with owner/description support stored in bare repo config files.
  • Distributed deployment options: standalone binary, Docker/Docker Compose images, and Nix/NixOS integration.

Use Cases

  • Host a fast, read-only browser for an organization’s bare Git repositories to inspect commits, branches, tags, and file contents.
  • Provide developers a lightweight alternative to full forge platforms for repository browsing and code review reference.
  • Run as a local/self-hosted gitweb replacement on NixOS, in containers, or as a single binary for minimal infrastructure.

Limitations and Considerations

  • Designed to work exclusively with bare Git repositories; non-bare repositories are not supported.
  • The project focuses on browsing and metadata indexing; it does not provide built-in advanced access controls or user management, so deployments often require a reverse proxy or external auth for protection.
  • Newly initialized bare repositories without refs may not appear until refs are packed or at least one commit exists.

rgit is a pragmatic, performance-oriented repository browser for users who need a fast, minimal web UI for bare Git storage. It is particularly suitable when low overhead and fast listing/loading of large repositories are required.

Categories:

Tags:

Tech Stack:

Share:

Similar to rgit

Apaxy logo

Apaxy

Customizable theme for Apache mod_autoindex directory listings

1.9k
258
Last commit

Apaxy is a customizable theme that restyles Apache mod_autoindex directory listings using HTML/CSS and optional JavaScript, with MIME-type icons and optional gallery views.

GPL-3.0Likely dormant
Alternative to:
Apache HTTP Server logo
Apache HTTP Server
CookCLI logo

CookCLI

Command-line tools and embedded web server for Cooklang recipes

1.4k
103
Last commit

Open-source Rust-based CLI to parse, scale, search, import and serve Cooklang recipes; generates shopping lists, reports, and a browsable web UI.

MITActively maintained
Alternative to:
Paprika Recipe Manager logo
Paprika Recipe Manager
+6

Autocaliweb

Web interface for browsing, reading and managing Calibre libraries

235
6
Last commit

Fork of Calibre-Web providing a Bootstrap-based web UI to browse, read, convert and serve eBooks, comics and PDFs from a Calibre database with Docker support.

GPL-3.0Slowing down
Alternative to:
OverDrive Libby logo
OverDrive Libby
+12

nforwardauth

Lightweight forward-auth service for reverse proxies

157
8
Last commit

A minimal, Rust-based forward authentication middleware for reverse proxies (Traefik, Caddy, nginx) using a passwd file and signed auth tokens.

MITActively maintained
Alternative to:
Cloudflare Access logo
Cloudflare Access
+9
miniserve logo

miniserve

Single-binary CLI HTTP server for quickly serving files

7.8k
398
Last commit

Cross-platform single-binary CLI to serve files and directories over HTTP with directory listings, uploads, authentication, TLS, and WebDAV.

MITActively maintained
Alternative to:
Send Anywhere logo
Send Anywhere
+8
Soft Serve logo

Soft Serve

Self-hosted Git server with an SSH-accessible terminal UI

7.2k
238
Last commit

Self-hostable Git server focused on SSH, featuring a terminal UI, access control, and Git LFS support, with cloning via SSH, HTTP, or the Git protocol.

MITActively maintained
Alternative to:GitHub+7