Self-host rgit
0.1.5Git repository web UI with RocksDB-powered speed
- Stars
- 215
- Ports
- 8000 (HTTP web interface), 3333 (HTTP web interface (default in usage example))
ghcr.io/w4/rgitWhat is rgit?
rgit provides a gitweb/cgit-like interface for self-hosted Git repositories. It indexes repository metadata into RocksDB for fast loading, renders files and diffs on demand via gitoxide, and includes a dark mode. It runs as a standalone binary, Docker container, or NixOS service, serving bare repositories over HTTP. Configuration is done via repository-level description and config files. The project is licensed under WTFPL.
rgit alternatives
GitWitGitWit is a self-hosted, open-source AI coding platform with a browser-based IDE, live preview, AI chat, and support for Anthropic, OpenAI, and AWS Bedrock.CompareGitWit with rgit
openchangelogOpenchangelog transforms Markdown changelogs into a beautiful website with search, password protection, themes, RSS, and GitHub/GitLab/Forgejo/local integrations.Compareopenchangelog with rgit
Gitea MirrorMirrors GitHub repositories to self-hosted Gitea/Forgejo, preserving issues, PRs, releases, wiki, and LFS files.CompareGitea Mirror with rgit
GitLab-CESelf-hosted, open-source DevOps platform for Git repositories, merge requests, CI/CD pipelines, issue boards and wikis, with free CE and paid Premium/Ultimate tiers.CompareGitLab-CE with rgit
GiteaGitea is a self-hosted, open-source Git platform with code hosting, CI/CD, package registries, issues, and project management — a lightweight GitHub alternative.CompareGitea with rgit
MirrorProxyMirrorProxy is a self-hosted, open-source mirror acceleration gateway for GitHub, Docker/OCI, language packages, and Linux/BSD repos with access control and quotas.CompareMirrorProxy with rgit
gitlistSelf-hosted, open-source web front-end for browsing multiple git repositories: files at any revision, blame and diffs, commit history, RSS/Atom feeds, repo statistics.Comparegitlist with rgit
GitingestOpen-source tool that turns a Git repository into one prompt-ready text digest for LLMs. Use the CLI, the Python package, or a self-hosted Docker web server.CompareGitingest with rgit
Should you self-host rgit?
rgit scores 46/100 on selfhost.directory (how scoring works) and ranks #11 of 14 in Code Hosting. It has 215 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is WTFPL-licensed and written mostly in Rust.
Its closest alternative on selfhost.directory is Gitea (89/100, 58 779 stars). It scores higher overall, so compare the two before you pick. See rgit vs Gitea side by side.
Features
- Configurable reindex interval
- Git repository browsing
- NixOS module
- On-demand file and diff loading
- Repository description support
- Repository owner display
- RocksDB metadata caching
rgit README
A gitweb/cgit-like interface for the modern age. Written in Rust using Axum, gitoxide, Askama and RocksDB.
Includes a dark mode for late night committing.
FAQ
Why don't newly initialized bare repositories appear in the list?
Run `git pack-refs --all` inside the repository or push a commit with at least one file to make it appear.
Why do I get 'repository path is not owned by the current user' on launch?
Ensure the user launching rgit or the Docker container has the same permissions as the user that owns the repositories directory.
Why do I get 'Repository not exported' when cloning via HTTPS?
Create a file named `git-daemon-export-ok` in the bare git repository to signal it is exportable.
More in Code Hosting
- RhodeCodeRhodeCode is an open-source, self-hosted platform for unified repository management, supporting Git, Mercurial, and Subversion. It provides enterprise-grade security, code review, workflow automation, and permission management for teams.
Roundup Issue TrackerRoundup is a highly customizable issue-tracking system with command-line, web, REST, XML-RPC, and e-mail interfaces. It is designed to be easy to install and use, and can be adapted to various use cases.
scm-managerSelf-hosted open-source repository manager for Git, Mercurial and Subversion with web UI, REST API, and plugin system.
self-forgeself-forge mirrors public GitHub repos and serves them via a minimal, server-rendered web UI with no JavaScript or CSS.
BuzzOpen-source, self-hosted Nostr relay workspace where people and AI agents share channels, threads, canvases, voice huddles, YAML workflows and git hosting.- CgitA hyperfast web frontend for Git repositories written in C.
Drone CIOpen-source, self-hosted DevOps platform: Git hosting, CI/CD pipelines, cloud dev environments and artifact registries. Drone's successor, runs in one Docker container.
ForgejoForgejo is a self-hosted, lightweight software forge for Git hosting, project management, and collaboration, designed for privacy, ease of use, and independence from corporate control.- FossilFossil SCM is a simple, high-reliability, distributed version control system with built-in wiki, bug tracking, forum, chat, and project management. It is a single self-contained executable, easy to install and self-host.
gitbucketA self-hosted, open-source Git platform in Scala: run one war file on Java 17 for repos, issues, pull requests, wiki, LDAP/OIDC logins and GitHub-compatible APIs.
GiteaGitea is a self-hosted, open-source Git platform with code hosting, CI/CD, package registries, issues, and project management — a lightweight GitHub alternative.
GitLab-CESelf-hosted, open-source DevOps platform for Git repositories, merge requests, CI/CD pipelines, issue boards and wikis, with free CE and paid Premium/Ultimate tiers.
0 comments