fork of honk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ted Unangst 4e223b7922
eliminate repeated error tests
5 years ago
docs trustno1 5 years ago
views custom emus 5 years ago
.hgtags Added tag v0.1.2 for changeset 96d2e1dc6664 5 years ago
Makefile magic incantations to build with go modules 5 years ago
README make a docs directory, add a very short manual. 5 years ago
activity.go further prep for retries 5 years ago
avatar.go copyright 5 years ago
deliverator.go further prep for retries 5 years ago
fun.go cache works better when we put stuff in it 5 years ago
go.mod just use tcsetattr directly instead of roundabout way 5 years ago
go.sum magic incantations to build with go modules 5 years ago
honk.go eliminate repeated error tests 5 years ago
html.go maybe 0.1 5 years ago
image.go maybe 0.1 5 years ago
login.go maybe 0.1 5 years ago
rss.go maybe 0.1 5 years ago
schema.sql audience missing from schema. from mastodon.social/@a13x 5 years ago
template.go maybe 0.1 5 years ago
upgradedb.go behold the pristine beauty of dbversion 1 5 years ago
util.go behold the pristine beauty of dbversion 1 5 years ago
zig.go sign the content-type instead of content-length 5 years ago

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

Refer also to the docs directory, in particular manual.txt.

Busy honk instances may use megabytes of memory.