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 web access. Write access via ssh keys.

Serves multiple repositories.

Allows cloning via the obvious URL. Supports go get.

Federates via ActivityPub.

Serves files for downloads.

Online documentation via mandoc.

Terminal based admin interface.

-- requirements

go

mercurial

-- setup

# build and init database
make
./humungus init

# populate repos; they will live inside ./repos
# clone recommended; mv also works
mkdir repos
cd repos
hg clone /work-stuff/one
hg clone /work-stuff/two
hg clone /work-stuff/fun
cd ..

# optional: fill in downloads
mkdir -p downloads/fun
cp /releases/fun/*.tgz downloads/fun

# run admin
# use (a)dd command to add repos one, two, fun, etc.
# finally (s)ave and quit
./humungus admin

# finally, run server
./humungus

# optional: enable federation
./humungus setconfig enablefedi 1

recent changes

461:c82a584d6841 on 2025-09-03 17:36:47 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: tip

allow style.css to bypass anticrawl challenge

460:9436a1a3a0e3 on 2025-09-03 17:30:15 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

write into mandoc pipe without blocking

459:b774083f67c8 on 2025-09-03 17:27:14 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 457:6c0d4178bf3c

m

458:816c584fea7f on 2025-06-25 20:35:44 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 454:7e06732d09df

remove stale code

457:6c0d4178bf3c on 2025-08-30 00:59:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

we will allow the robots to peer at the tip revisions

456:e213d0443d07 on 2025-08-30 00:51:35 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add license file

455:29055e356bdb on 2025-08-21 20:11:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

revised anticrawl

454:7e06732d09df on 2025-06-25 20:27:40 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

stale var

453:06d6e03457fa on 2025-06-12 20:48:52 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

make it possible to browse prior revisions

452:a002c087c88e on 2025-06-10 18:31:47 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

tweak logging