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

427:f28e0c3889b3 on 2025-04-20 01:48:38 -0400 EDT by Ted Unangst <tedu@tedunangst.com>
Tagged: tip

update go.mod

426:f088640f6271 on 2025-04-20 01:38:20 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

update go.mod

425:eaef01ec29b9 on 2025-04-18 02:43:33 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

allow relative sockets

424:9f9e7249f0c5 on 2025-04-16 16:51:00 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

hook up logger

423:51217dbcbcb7 on 2025-04-16 16:42:26 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

ac 1.1

422:9b697630d003 on 2025-04-16 16:29:24 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

try some anticrawl

421:5aeba8e3aea8 on 2024-11-17 19:47:58 -0500 EST by Ted Unangst <tedu@tedunangst.com>

remove old cruft that's not safe anymore

420:43cd10392f3a on 2024-07-27 16:29:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

add a little pause before sending commit messages

419:972ee41a59ec on 2024-07-08 02:53:54 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

send commit messages in order

418:c9da47be7eda on 2024-07-02 14:57:49 -0400 EDT by Ted Unangst <tedu@tedunangst.com>

need to add keys when creating a repo