A standalone local web based user interface for git repositories
Clone or download
Latest commit dee7c19 Nov 9, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
install Use shallow clone to speed up installation Jul 11, 2015
release fix error Nov 10, 2017
src fix error Nov 10, 2017
.gitignore Add OS X .DS_Store to the ignored files Jun 8, 2015
Gruntfile.js Watch html file changes too Sep 18, 2014
LICENSE.md Add software license (Apache 2.0) Sep 16, 2014
README.md Fixed small typo Dec 30, 2016
bower.json Publish release 1.3.0 Jun 3, 2016
package.json Publish release 1.3.0 Jun 3, 2016


Git WebUI

This git extension is a standalone web based user interface for git repositories.

It comes with history and tree browsing. You may also use it to commit as it comes with an UI to review local changes and the ability to stage / unstage code.

Moreover as git-webui is a web server, your repository is accessible to other people on the same network. They can clone or pull your code using the same URL.

It has very few dependencies, you probably already have them on your Mac / Linux : git, python, and a web browser.


Automatic (Do you trust me ?)

The following command will install git-webui in $HOME/.git-webui and add a webui alias to your global .gitconfig file.

Note for Windows users: These install scripts work for you too. Run them from your Git-Bash shell. You need to install Python first.

Using curl (Mac OS X & Windows):

curl https://raw.githubusercontent.com/alberthier/git-webui/master/install/installer.sh | bash

Using wget (Linux):

wget -O - https://raw.githubusercontent.com/alberthier/git-webui/master/install/installer.sh | bash

Upon installation git-webui will update itself automatically every couple of weeks. You can deactivate auto-update by removing the autoupdate = true line from the webui section of your global .gitconfig file.


Simply clone the repository and install the alias

git clone https://github.com/alberthier/git-webui.git
git config --global alias.webui \!$PWD/git-webui/release/libexec/git-core/git-webui

If you want to allow auto-update:

git config --global webui.autoupdate true



First cd to any of your project versioned with git

cd <my-local-git-clone>
git webui

This will start an embedded HTTP server and open your default browser with the GUI.

History Viewing

The toolbar on the left shows your branches and tags. The log of the currently selected one is displayed.

When selecting a revision the diff of this specific commit is displayed in the right panel.

Image of log commit

On top of the right panel, you can choose 'Tree' to display the versioned content at the specific revision selected in the left panel. You can browse through directories and display file contents.

Image of log tree

Remote access

Other people on your network have read-only access to your repository: they may access to the web interface (without 'Workspace'), clone or pull from your repository. All this through the same url:


$ git clone http://<ip_of_the_computer_running_webui>:8000/ repo_name


$ git pull http://<ip_of_the_computer_running_webui>:8000/


Commits can only be made from localhost.

Image of the workspace

  • Working copy lists the modified files (compared to the staging area) in your working directory
  • Message lets you enter a commit message
  • Staging area lists the modified files (compared to HEAD) in your staging area. These are the changes that will be committed

The diff view lets you review the differences of the selected file. You can select code in more fine grained way:

  • If the displayed diff is from the working copy, you may stage or cancel the selected lines.
  • If the displayed diff is from the staging area, you may unstage the selected lines.



  • git (of course :) )
  • python 2.7+ or python 3.0+ (Generally already installed on your Mac / Linux)
  • An up-to-date modern browser


  • Runtime dependencies and ...
  • node.js
  • grunt-cli



Using curl (Mac OS X & Windows):

curl https://raw.githubusercontent.com/alberthier/git-webui/master/install/uninstaller.sh | bash

Using wget (Linux):

wget -O - https://raw.githubusercontent.com/alberthier/git-webui/master/install/uninstaller.sh | bash


rm -rf <git-webui-clone-path>
git config --global --unset-all alias.webui
git config --global --remove-section webui


You can clone the source code of git-webui on GitHub

After executing grunt git-webui is available in the dist folder.

Please don't commit any content to the release folder. This is for end-users release versions, not for work-in-progress versions


If you want to build a DEB, RPM or Homebrew package for git-webui, you only need the content of the release folder.

Installing git-webui globally on the system is nothing else than

cp -rf release/* /usr


  • If you have no web browser installed at all (headless server), you should start git webui with the --no-browser option. Otherwise git-webui may freeze searching for a browser.


Éric ALBER (@eric_alber)


This software is licensed under the Apache 2.0 license