Gitweb

From Git SCM Wiki
Revision as of 00:08, 8 June 2007 by JakubNarebski (Talk)

Jump to: navigation, search

Project description

Gitweb</b> is Git web interface, the one working on http://www.kernel.org/git/. It is written in Perl, and can be used as CGI script, or as mod_perl legacy script (run by ModPerl::Registry handler). It allows to browse git repository (or a set of git repositories) using web browser.

Using gitweb you can browse directory tree at arbitrary revision, view contents of files (blobs), see log or shortlog of given branch, examine commit: its commit message and changes made by given commit. Gitweb can generate feeds in RSS or Atom format. You can get given version of a file; if not disabled you can download snapshot of a given version of a project (project tree at given revision). You can search (if it is not disabled) for commits by an author, added to repository by a comitter, commit with commit message (commit description) which includes some text.

There even exists `git-instaweb` script to setup gitweb and a web server for browsing the local repository.

<b>See also:

Notable forks

  • gitweb-xmms2 (gitweb with XMMS2 project modifications) by Sham Chukoury. Forked off before gitweb was included in git repository. Extra features (added usually in project specific way) include: committags support (i.e. BUG(nn) is hyperlink to appropriate issue in Mantis bug tracker), syntax highlighting in 'blob' view, generating anchors to function definition with the help of generated on the fly tags file. It implemented snapshot support and had separate CSS file before mainline gitweb.
  • repo.or.cz (custom gitweb patches) by Petr Baudis. Uses current version of gitweb as base, has all features enabled. Includes extra scripts for creating and managing repositories, and integration with git-browser, graphical history viewer in JavaScript.
  • kernel.org (gitweb w/ caching) by John 'Warthog9' Hawley. Adds gitweb-specific caching support on top of generic gitweb. Split into many smaller modules.

Other web interfaces

  • cgit by Lars Hjemli in C (compiled CGI), uses libgit.a, has builtin caching, fast
  • wit (download) by Christian Meder in Python, uses PATH_INFO extensively. (defunct, no longer maintained)
  • gitarella (homepage) by Flameeyes in Ruby, supports CGI and FastCGI interfaces. Inspired by gitweb.
  • Wit (homepage) by Daniel Chokola in Ruby/eRuby. Easy setup, configuration (YAML), and customization (customizable CSS, templates), clean code.
  • git-php (homepage) by Zack Bartel in PHP. Goals: robust, customizable. Gitweb look-alike.

Project information

  • Author: Originally written by Kay Sievers <kay.sievers@vrfy.org>
  • Maintainer: Git mailing list <git@vger.kernel.org>
  • Repository: From the git version 1.4.0 gitweb is bundled with git
  • License: GPLv2

CategoryTools CategoryWebInterfaces


Personal tools