Git Clients

cgit – web frontend for git repositories written in C

cgit is shorthand for CGI for Git.

cgit offers a fast web interface for the Git SCM, using a built-in cache to reduce pressure on the git server. Potential contributors can track and view project source code from the web instead of through a git client. Supported web servers include Apache, Nginx, and Lighttpd.

It’s free and open source software.

Key Features

  • Basic repository browsing (logs, diffs, trees…).
  • Caching of generated HTML.
  • Cloneable URLs (implements dumb HTTP transport).
  • Commit feeds (atom format).
  • Discovery of Git repositories.
  • On-the-fly archives for tags and commits.
  • Plugin support for e.g. syntax highlighting.
  • Side-by-side diffs.
  • Simple time/author statistics.
  • Simple virtual hosting support (macro expansion).
  • Understands GitWeb project-lists.
  • Understands gitweb.owner in Git config files.
  • Extensive filtering framework using scripts or a built-in lua interpreter.
  • Supports syntax highlighting when viewing blobs. It can be enabled using python-pygments, or highlight.
  • Can be managed though webapp-config. webapp-config is Gentoo’s installer for web-based applications. It’s used for automatic setup of web applications in virtual hosting environments.
  • Cross-platform support – runs under Linux, NetBSD, FreeBSD, and Mac OS X.

Website: git.zx2c4.com/cgit
Support: FAQ, Mailing List
Developer: Jason A. Donenfeld
License: GNU General Public License, version 2

cgit is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Web-Based Git Clients
GitLabIntegrated product for modern software development
GogsSimple, stable and extensible self-hosted Git service
GiteaCommunity managed lightweight code hosting solution
ungitGit made easy
GitBucketGit web platform powered by Scala
ForgejoSelf-hosted lightweight software forge
KallitheaSource code management system that supports two version control systems
cgitShorthand for CGI for Git
GitListElegant git repository viewer
P3X GitlistModern private Git repository viewer. A fork of GitList
OneDevSelf-hosted Git server and DevOps platform
GerritWeb-based code review
SCM-ManagerSelf-hosted source code management application

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.