humungus - humungus

i am gravely disappointed

i understand your pain

overview - 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

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

look for intro files for manuals

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

a sql lexer

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

another style revision

9d05860a1215 on 2019-10-02 01:13:18 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

some more manual style adjustment

b8fa9e384d36 on 2019-10-02 00:36:44 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

some style improvements as manual evolves

fa518c8f6da3 on 2019-10-02 00:23:50 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add a cache control for docs

621e34dc0694 on 2019-10-01 21:57:43 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

tighten up all the empty border space on small screens

4b881ebc66e4 on 2019-10-01 21:22:59 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

a lexer for js

7c82f5ec559e on 2019-10-01 21:16:16 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

revert the fanciful [links] for underlines

cb4767151fad on 2019-10-01 20:57:22 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

some changes to support binary files better