humungus - humungus

i am gravely disappointed

i understand your pain

overview - files - changes - downloads

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.

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

79e1ba59c2ca on 2019-02-20 19:41:25 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

table cell should have right padding too

9613fa0f3de7 on 2019-02-20 19:38:15 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

convert to using gerc for annotate

0693f7157ea9 on 2019-02-20 19:25:27 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

better error checking and handling

ef036313ef40 on 2019-02-18 18:26:15 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

always sort repos when drawing table

818e4dff2a2f on 2019-02-18 01:50:35 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

green text is a little too bright

395962a3d465 on 2019-02-17 21:29:42 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

stop after an error saving

a5d65af3fb75 on 2019-02-17 21:27:36 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

only count saving as a change

307b6af4acac on 2019-02-17 08:07:12 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

make the cache code look more like a module

3ea1fe7ca848 on 2019-02-17 07:54:08 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

seed rand with time

4e3db7ed6332 on 2019-02-17 04:33:17 +0000 UTC by Ted Unangst <tedu@tedunangst.com>

map arrows to tabs for form navigation