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 Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.