humungus - humungus

i am gravely disappointed

i understand your pain

overview - docs - downloads - files - changes - changes rss

humungus - an hg server

-- features

View changes, files, changesets, etc. Some syntax highlighting.

Read only.

Serves multiple repositories.

Allows cloning via the obvious URL. Supports go get.

Serves files for downloads.

Online documentation via mandoc.

Terminal based admin interface.

-- requirements

mercurial

github.com/gdamore/encoding
github.com/gdamore/tcell
github.com/gorilla/mux
github.com/lucasb-eyer/go-colorful
github.com/mattn/go-runewidth
github.com/rivo/tview
golang.org/x/text
humungus.tedunangst.com/r/gerc
humungus.tedunangst.com/r/go-sqlite3

-- setup

$ sqlite3 -init schema.sql humungus.db
insert into config (key, value) values
	('servername', 'humungus.example.com');
insert into config (key, value) values
	('listenaddr', '127.0.0.1:8081');
insert into config (key, value) values
	('debug', 0);
.quit

mkdir repos
cd repos
hg clone /work-stuff/one
hg clone /work-stuff/two
hg clone /work-stuff/fun
cd ..

mkdir downloads
mkdir fun
cp /files/fun/* fun
cd ..

./humungus admin

./humungus

recent changes

305:0b0aad29cdaf on 2019-11-08 20:24:14 -0500 EST by Ted Unangst <tedu@tedunangst.com>
Tagged: tip

update gerc

304:3d7aaff5ec17 on 2019-10-29 16:16:43 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

indent is the standard term

303:58f275971eed on 2019-10-26 19:59:39 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

short manual

302:2f6a54226eb0 on 2019-10-24 01:01:32 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

make overview look like changes again

301:35d2458aa803 on 2019-10-23 20:41:37 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

print some more info in changes

300:8377bb1f21b7 on 2019-10-23 19:42:53 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

use a versioned gerc

299:2f9088489e4b on 2019-10-23 19:32:17 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

go wants a version number...

298:f27c5f2c6706 on 2019-10-09 14:55:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

look for intro files for manuals

297:41f4815ba3d9 on 2019-10-07 00:20:23 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

a sql lexer

296:c9f9927e1479 on 2019-10-02 01:33:35 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

another style revision