Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Static web frontend for Git/Mercurial/Darcs

Recently I've found the project git2html: git2html is a simple git web interface. Unlike other web interfaces, git2html does not generate content dynamically: instead of using a CGI script, it generates static HTML pages.

My questions is simple. Do you know other projects for Git, Mercurial or Darcs with similar goals?. I'm interested in static web frontends for these DVCS but is fair if you want to comment other projects for different open source DVCS.

like image 778
Rufo El Magufo Avatar asked May 27 '12 22:05

Rufo El Magufo


3 Answers

The equivalent for Mercurial is the site extension.

The extension generates a set of static HTML pages where you can browse commit messages, diffs, etc. They are similar to the built-in webserver you start with hg serve, but they are static.

You can also hg clone from such a site. This is not because of the extension, but because Mercurial can clone from any web-accessible .hg directory.

like image 154
Martin Geisler Avatar answered Nov 16 '22 21:11

Martin Geisler


Mercurial has a built-in ability to access a static repository. If a .hg repo is in a static http server's web root it can be cloned from (albeit slowly). Granted that's not a human-friendly UI, but once folks can clone they can do anything they want locally using hte hg command line tool or hg serve locally.

like image 26
Ry4an Brase Avatar answered Nov 16 '22 20:11

Ry4an Brase


Not exactly what you asked for, but if server load is the concern, the http://blitiri.com.ar/p/darcsweb/ CGI script caches rendered pages as static html files after the first viewing, so performs pretty well.

like image 2
Simon Michael Avatar answered Nov 16 '22 22:11

Simon Michael