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

393cb82b937c on 2019-04-18 19:01:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add viewport so iphone stops stupidly reflowing

688b4e46bcb9 on 2019-04-17 12:33:56 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.9.5 for changeset 07d313b0a708

07d313b0a708 on 2019-04-17 12:33:46 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

go.mod time

50d75707c608 on 2019-04-01 05:46:14 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

error page

a78db6259fab on 2019-04-01 05:44:43 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

icon

41181cbcfe42 on 2019-03-27 20:03:41 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

error page

5aa1d6e965e2 on 2019-03-16 19:00:32 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

update highlighter

d803f478862f on 2019-03-16 18:49:13 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

don't need cmdconn just for repo validation

fdac537a0d18 on 2019-03-16 18:47:18 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

better content type headers

40a9b8d5c830 on 2019-03-16 16:46:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

Added tag v0.9.4 for changeset 15cc4da5ee6d