Go to file
Ted Unangst f472979b2d custom emus 2019-04-12 15:02:56 -04:00
views custom emus 2019-04-12 15:02:56 -04:00
.hgtags Added tag v0.1.2 for changeset 96d2e1dc6664 2019-04-10 09:02:58 -04:00
Makefile magic incantations to build with go modules 2019-04-10 08:51:56 -04:00
README custom emus 2019-04-12 15:02:56 -04:00
activity.go custom emus 2019-04-12 15:02:56 -04:00
avatar.go copyright 2019-04-10 17:56:41 -04:00
go.mod just use tcsetattr directly instead of roundabout way 2019-04-10 18:06:04 -04:00
go.sum magic incantations to build with go modules 2019-04-10 08:51:56 -04:00
honk.go custom emus 2019-04-12 15:02:56 -04:00
html.go maybe 0.1 2019-04-09 07:59:33 -04:00
image.go maybe 0.1 2019-04-09 07:59:33 -04:00
login.go maybe 0.1 2019-04-09 07:59:33 -04:00
ping.txt ping is a draft; don't expect much. 2019-04-12 12:53:21 -04:00
rss.go maybe 0.1 2019-04-09 07:59:33 -04:00
schema.sql audience missing from schema. from mastodon.social/@a13x 2019-04-10 04:30:38 -04:00
security.txt add a file to record notes about security 2019-04-11 19:02:17 -04:00
spec.txt a ping extension to hlp debug network problems 2019-04-12 12:32:07 -04:00
template.go maybe 0.1 2019-04-09 07:59:33 -04:00
util.go allow overriding css with local.css. from qbit@bsd.network 2019-04-12 13:12:18 -04:00
zig.go sign the content-type instead of content-length 2019-04-10 19:54:46 -04:00

README

honk honk

-- features

Take control of your honks and join the federation in the fight against the
evil empire.

Send honks. Receive honks. And not just honks.
Bonk, donk, tonk, all your favorite activities are here.

Custom emus.

Purple color scheme.

The button to submit a new honk says "it's gonna be honked".

Ein Honk is a stupid person auf deutsch.

-- build

It should be sufficient to type make after unpacking a release.
You'll need a go compiler version 1.11 or later.

Even on a fast machine, building from source can take several seconds.

-- requirements

libsqlite3 (you probably already have it)

go modules included in vendor:
github.com/gorilla/mux
golang.org/x/crypto
golang.org/x/net
humungus.tedunangst.com/r/go-sqlite3

-- setup

honk expects to be fronted by a TLS terminating reverse proxy.

First, create the database.

./honk init

This will ask four questions.
username: (the username you want)
password: (the password you want)
listenaddr: (tcp or unix: localhost:31337, /var/www/honk.sock, etc.)
servername: (public DNS name: honk.example.com)

Then run honk.

./honk

Busy honk instances may use megabytes of memory.