Go to file
Ted Unangst 659d2b9ebc last-modified caching interferes with debug 2019-04-11 10:05:37 -04:00
views last-modified caching interferes with debug 2019-04-11 10:05:37 -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 magic incantations to build with go modules 2019-04-10 08:51:56 -04:00
activity.go sign the content-type instead of content-length 2019-04-10 19:54:46 -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 last-modified caching interferes with debug 2019-04-11 10:05:37 -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
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
spec.txt some notes about the schema that seem important 2019-04-10 19:00:59 -04:00
template.go maybe 0.1 2019-04-09 07:59:33 -04:00
util.go just use tcsetattr directly instead of roundabout way 2019-04-10 18:06:04 -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.

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
golang.org/x/sys
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.