Skip to content

gitlist

Self-hosted PHP web viewer for browsing git and Mercurial repositories

Permissive (OSI) · BSD-3-Clause

Listed by , founder & editor

43

Health

Slowing

Overview

Stars

2,948

Last commit

24 days ago

Oct 2026

Repository age

14 years

since May 2012

Latest version

3.0.0-beta4

Oct 2026

Contributors

–

1 active in 90 days

Releases

4

last 12 months

Language

PHP

GitList is a web interface for browsing multiple repositories in your browser. You can view files at different revisions, read commit history, blame and diffs, and compare branches. It also generates RSS and Atom feeds for each repository. It supports Git and Mercurial.

It is written in PHP on Symfony, with Twig templates and a Tabler theme that has dark mode. Syntax highlighting uses CodeMirror or Ace. Other views include repository statistics, a branch graph, repository documents and metadata.

You run it on your own server. It needs PHP 8.4 with php-xml and php-mbstring, git 2, and Apache or nginx. You unpack a release into a folder, point the config at your repositories directory, make the cache and log folders writable, and serve the public folder. It is a viewer rather than a full hosting platform, so it fits a read-only window onto existing repositories more than a replacement for a hosted forge.

Who it's for

Admins with repositories on their own server

It gives a browsable web view of existing repositories without a database or a full forge.

Skip if: You need pull requests, issues or user management.

Small teams sharing a read-only code view

It shows history, diffs, blame and feeds for each repository.

Skip if: You need access control per repository.

The problem it solves

Repositories on a server are hard to browse without a web interface. GitList adds one for files, history and diffs without the weight of a full hosting platform.

Strengths

  • Supports both Git and Mercurial
  • Blame, diffs, branch graph and comparison, plus statistics
  • RSS and Atom feeds for each repository
  • Tabler theme with dark mode
  • BSD-3-Clause license

Trade-offs

  • Read-only viewer with no issues or pull requests
  • Latest version is a beta, and maintenance is slowing
  • Requires PHP 8.4 and manual setup of web server and folder permissions

Self-host gitlist

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Can I self-host it?

Yes. You run it on your own server with PHP 8.4, git 2 and Apache or nginx.

How is it licensed?

It uses the BSD-3-Clause license.

Does it support Mercurial?

Yes, it supports both Git and Mercurial.

Should I install from the source release?

No. Use the release or nightly build, because the source download is meant for development.

Similar tools in Git hosting and version control

codefever

Git hosting and version control

2.7k 285 7 days ago Active MIT

gitblit

Git hosting and version control

2.4k 669 17 months ago Dormant Apache-2.0

Gittyup

Git hosting and version control

2.3k 188 21 days ago Active MIT

OctoDroid

Git hosting and version control

2k 252 12 months ago Dormant Apache-2.0

MGit

Git hosting and version control

1.6k 211 today Active GPL-3.0