gitonline is a rc script which can be run from rc-httpd on 9front to present git9 repostories online.

A running instance can be found at

To set it up:

1) create a folder with all your git repos in (such as /usr/glenda/repos)
2) modify /bin/rc-httpd/select-handler to run the gitonline script. Mine looks something like this:

	if (~ $SERVER_NAME{
		exec static-or-cgi /usr/glenda/src/gitonline/gitonline.rc
	if not
		error 503

3) Create a tcp80 script in /bin/service/ which runs rc-httpd

Please send patches.
I have not tested it much, but it was fun writing because of git9's fs interface, which makes many tasks easy.

It doesn't yet show the first commit right.
Last 5 commits (shortlog)
Date Author Short message Commit hash
2021-06-01 Peter Try to adapt to the new mountpoint of git/fs c4d63487474d093a3e2d51437396cea5fd8c2080
2021-01-24 glenda Show readme as code 4f773ce2220a75ca15504654b3a2c5c4c906ee7d
2021-01-24 glenda Change the style of the file displays a bit dc38eb2bda2f4b4097eef0d97a602c0545269fb1
2021-01-24 glenda Don't print descriptions, they do not work fc864a029b5ea8d1b4a358538c6e3953d77ef1cc
2021-01-24 glenda Store repos on the other partition to avoid dumps e93d21841d3274e262e745f0f8ebcce7d298e28a
Files (browse)