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

450:ffab26176b0f on 2025-06-03 00:40:38 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: tip

fix go vet

449:ecff352d8913 on 2025-06-02 23:32:26 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

replace ioutil

448:a37388040318 on 2025-06-02 02:15:55 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

don't need to seed rand

447:eadcf2ab5fb8 on 2025-06-01 03:21:48 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

replace log library

446:ee06303d4b31 on 2025-05-26 19:09:09 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 444:64ecddce7e99

m

445:b68cf711291b on 2025-05-24 23:59:05 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Parent: 439:634682e18dae

bump webs

444:64ecddce7e99 on 2025-05-26 18:32:10 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

unblock the activitypub

443:e6f56e54a96d on 2025-05-26 16:22:34 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

klemscott mono is too delicious to ignore for readme

442:21a2bf5b13d2 on 2025-05-25 23:32:41 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

the bigbuffer is useless

441:28ed10644a1b on 2025-05-25 23:30:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

eliminate a bunch of string/byte copy conversions