4 ms·
I render git repos to static HTML files using git2html, run by a post-receive hook (there's a few versions of git2html floating around the Web, with various pat
by chriswarbo 4y ago
I render git repos to static HTML files using git2html, run by a post-receive hook (there's a few versions of git2html floating around the Web, with various patches; mine fork's at https://github.com/warbo/git2html https://github.com/warbo/git2html ).
Unfortunately, this can produce a lot of files (every source file at every commit; along with a "pretty" version with metadata, line numbers, etc.; a diff between each commit and its parent(s); etc.). This can take a while to generate, and wastes space, so I've hacked git2html to only render the HEAD commit ;)
The chriswarbo.net/git folder is currently offline (AWS shut down my ancient EC2 box :( ), but you can see them in the Wayback Machine, e.g. here's my git2html fork: https://web.archive.org/web/20201205084208/http://chriswarbo.net/git/git2html https://web.archive.org/web/20201205084208/http://chriswarbo...
That index page is rendered by Pandoc (with a couple of custom plugins http://www.chriswarbo.net/projects/activecode http://www.chriswarbo.net/projects/activecode ); the 'Repo' link is the cloneable URL, 'View repository' shows the git2html output, and 'View issue tracker' links to the Artemis issues (rendered via MHonArc)