Go to file
Ted Unangst 8380a32139 big resigh. need to resign after redirect. 2023-08-29 00:18:14 -04:00
docs m and escape to open close menu. and set focus on actions after scroll. 2023-08-28 22:01:50 -04:00
memes add a sample meme 2023-08-06 02:19:56 -04:00
toys clean up the dust 2023-03-17 10:45:25 -04:00
views csp requires classes not styles 2023-08-28 22:56:19 -04:00
.hgignore ignore help files 2023-08-28 02:10:23 -04:00
.hgtags Added tag v1.0.0 for changeset b1e7ac92a58a 2023-08-09 21:14:17 -04:00
LICENSE more complete and explicit license information 2019-08-18 18:21:07 -04:00
Makefile make target for help 2023-08-28 01:06:39 -04:00
README turns out the buildsetting stuff was added in go 1.18 2023-08-13 23:54:24 -04:00
activity.go big resigh. need to resign after redirect. 2023-08-29 00:18:14 -04:00
admin.go go vet claims we need a buffered chan for signal 2023-07-02 14:08:26 -04:00
avatar.go an attempt at opengraph 2023-06-13 14:58:35 -04:00
backend.go a bigger shrinker for uploads 2023-08-27 15:25:58 -04:00
backupdb.go flexible logging 2022-02-06 00:42:13 -05:00
bloat.go qotd 2023-08-08 16:17:47 -04:00
database.go negate operator for more queries 2023-08-28 17:41:56 -04:00
deliverator.go solve the problem of slow requests running in parallel 2023-08-19 21:16:05 -04:00
fun.go need to allow images in markdown 2023-08-26 19:47:45 -04:00
go.mod csp requires classes not styles 2023-08-28 22:56:19 -04:00
go.sum csp requires classes not styles 2023-08-28 22:56:19 -04:00
hfcs.go less aggressive rewrite filter rewriting 2023-06-17 20:26:38 -04:00
honk.go split main into a new file, add build info 2023-08-07 02:27:25 -04:00
hoot.go remove very old dead code which is confusing 2023-02-19 19:45:09 -05:00
hoot_test.go need logger to not crash 2022-07-03 16:07:23 -04:00
import.go better export/import. support markdown source now. 2023-08-28 16:26:33 -04:00
main.go big resigh. need to resign after redirect. 2023-08-29 00:18:14 -04:00
preflight.sh turns out the buildsetting stuff was added in go 1.18 2023-08-13 23:54:24 -04:00
schema.sql create a plain column and use that for search 2023-07-31 19:46:55 -04:00
sensors.go split main into a new file, add build info 2023-08-07 02:27:25 -04:00
skulduggery.go the zalgo filter was accidentally eating newlines too 2023-08-26 19:03:11 -04:00
unveil.go don't need fmt 2023-07-10 00:16:42 -04:00
upgradedb.go run analyze as final upgrade step 2023-08-23 23:34:14 -04:00
util.go go vet claims we need a buffered chan for signal 2023-07-02 14:08:26 -04:00
web.go a bigger shrinker for uploads 2023-08-27 15:25:58 -04:00

README

honk

## features

Take control of your honks and join the federation.
An ActivityPub server with minimal setup and support costs.
Spend more time using the software and less time operating it.

No attention mining.
No likes, no faves, no polls, no stars, no claps, no counts.

Purple color scheme. Custom emus. Memes too.
Avatars automatically assigned by the NSA.

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

The honk mission is to work well if it's what you want.
This does not imply the goal is to be what you want.

## build

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

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

Development sources: hg clone https://humungus.tedunangst.com/r/honk

## setup

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

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

Then run honk.
./honk

## upgrade

old-honk backup `date +backup-%F`
./honk upgrade
./honk

## documentation

There is a more complete incomplete manual. This is just the README.

## guidelines

One honk per day, or call it an "eighth-tenth" honk.
If your honk frequency changes, so will the number of honks.

The honk should be short, but not so short that you cannot identify it.

The honk is an animal sign of respect and should be accompanied by a
friendly greeting or a nod.

The honk should be done from a seat and in a safe area.

It is considered rude to make noise in a place of business.

The honk may be made on public property only when the person doing
the honk has the permission of the owner of that property.

## disclaimer

Do not use honk to contact emergency services.