The www/honk port
honk-1.4.1 – federated status conveyance (cvsweb github mirror)
Description
honk is an ActivityPub server with minimal setup and support costs. The honk utility processes federated status updates and other microblog activities.WWW: https://humungus.tedunangst.com/r/honk
Readme
+------------------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +------------------------------------------------------------------------------- Initial configuration ===================== honk expects to be fronted by a TLS terminating reverse proxy. Make sure to pass the Host header for nginx(8) proxy_set_header Host $http_host; Setup ===== Please see ${LOCALBASE}/share/doc/honk honk(8) ------- honk# doas -su _honk honk$ umask 077; cd ${LOCALSTATEDIR}/honk && honk init listenaddr: localhost:31337 servername: honk.example.com honk$ touch ${LOCALSTATEDIR}/honk/savedinbox.json honk$ exit honk# rcctl enable honk honk# rcctl start honk Honk at https://honk.example.com Customization ============= Site CSS may be overridden by creating a views/local.css file in the ${LOCALSTATEDIR}/honk directory. Site JS may similarly be included by creating views/local.js. A restart is required after changes. e.g. add the following snippet to open all links in honks in new tabs function adjusttargets() { var els = document.querySelectorAll("p.content a") for (var i = 0; i < els.length; i++) { var e = els[i] e.target = "_blank" } } document.addEventListener('DOMContentLoaded', adjusttargets, false); Maintenance =========== The cleanup [days] command exists to purge old external data, by default 30 days. This removes unreferenced, unsaved posts and attachments. It does not remove any original content. honk# crontab -eu _honk # crontab(5) MAILTO=root @daily ${LOCALBASE}/bin/honk cleanup Over time, blob.db can grow larger than strictly necessary. Run VACUUM to shrink honk$ sqlite3 blob.db vacuum Database Upgrade ================ If you are upgrading from a version before 1.3.1, you will need to upgrade the database format: Stop the old honk process. honk# rcctl stop honk Perform the upgrade with the upgrade command. honk# doas -su _honk honk$ umask 077; cd ${LOCALSTATEDIR}/honk && cp honk.db backup.db honk$ honk upgrade && honk cleanup honk$ exit Restart. honk# rcctl start honk
Maintainer
Horia Racoviceanu
Only for arches
aarch64 amd64 arm i386 riscv64
Categories
Library dependencies
Build dependencies
Files
- /etc/rc.d/honk
- /usr/local/bin/autobonker
- /usr/local/bin/gettoken
- /usr/local/bin/honk
- /usr/local/bin/saytheday
- /usr/local/bin/sprayandpray
- /usr/local/bin/youvegothonks
- /usr/local/man/man8/honk.8
- /usr/local/share/doc/honk/
- /usr/local/share/doc/honk/LICENSE
- /usr/local/share/doc/honk/README
- /usr/local/share/doc/honk/TODO
- /usr/local/share/doc/honk/activitypub.7.html
- /usr/local/share/doc/honk/changelog.txt
- /usr/local/share/doc/honk/encrypted-messages.txt
- /usr/local/share/doc/honk/filter.png
- /usr/local/share/doc/honk/filtermemes.png
- /usr/local/share/doc/honk/followhonk.png
- /usr/local/share/doc/honk/hfcs.1.html
- /usr/local/share/doc/honk/honk.1.html
- /usr/local/share/doc/honk/honk.3.html
- /usr/local/share/doc/honk/honk.5.html
- /usr/local/share/doc/honk/honk.8.html
- /usr/local/share/doc/honk/intro.1.html
- /usr/local/share/doc/honk/mandoc.css
- /usr/local/share/doc/honk/ping.txt
- /usr/local/share/doc/honk/screenshot-afterpost.jpg
- /usr/local/share/doc/honk/screenshot-compose.png
- /usr/local/share/doc/honk/screenshot-honk.png
- /usr/local/share/doc/honk/tagcombo.png
- /usr/local/share/doc/honk/tagrss.png
- /usr/local/share/doc/honk/toys/
- /usr/local/share/doc/honk/toys/README
- /usr/local/share/doc/honk/vim.3.html
- /usr/local/share/doc/pkg-readmes/honk
- /usr/local/share/examples/honk/
- /usr/local/share/examples/honk/memes/
- /usr/local/share/examples/honk/memes/twowires.jpg
- /usr/local/share/examples/honk/schema.sql
- /usr/local/share/examples/honk/views/
- /usr/local/share/examples/honk/views/about.html
- /usr/local/share/examples/honk/views/account.html
- /usr/local/share/examples/honk/views/chatter.html
- /usr/local/share/examples/honk/views/combos.html
- /usr/local/share/examples/honk/views/common.js
- /usr/local/share/examples/honk/views/emus.html
- /usr/local/share/examples/honk/views/funzone.html
- /usr/local/share/examples/honk/views/header.html
- /usr/local/share/examples/honk/views/hfcs.html
- /usr/local/share/examples/honk/views/honk.html
- /usr/local/share/examples/honk/views/honkers.html
- /usr/local/share/examples/honk/views/honkform.html
- /usr/local/share/examples/honk/views/honkfrags.html
- /usr/local/share/examples/honk/views/honkpage.html
- /usr/local/share/examples/honk/views/honkpage.js
- /usr/local/share/examples/honk/views/icon.png
- /usr/local/share/examples/honk/views/login.html
- /usr/local/share/examples/honk/views/mastodon.css
- /usr/local/share/examples/honk/views/misc.js
- /usr/local/share/examples/honk/views/msg.html
- /usr/local/share/examples/honk/views/onts.html
- /usr/local/share/examples/honk/views/style.css
- /usr/local/share/examples/honk/views/xzone.html
- /var/honk/
- /var/honk/docs/
- /var/honk/docs/activitypub.7.html
- /var/honk/docs/hfcs.1.html
- /var/honk/docs/honk.1.html
- /var/honk/docs/honk.3.html
- /var/honk/docs/honk.5.html
- /var/honk/docs/honk.8.html
- /var/honk/docs/intro.1.html
- /var/honk/docs/mandoc.css
- /var/honk/docs/screenshot-afterpost.jpg
- /var/honk/docs/screenshot-compose.png
- /var/honk/docs/screenshot-honk.png
- /var/honk/docs/vim.3.html
- /var/honk/emus/
- /var/honk/memes/
- /var/honk/memes/twowires.jpg
- /var/honk/schema.sql
- /var/honk/views/
- /var/honk/views/about.html
- /var/honk/views/account.html
- /var/honk/views/chatter.html
- /var/honk/views/combos.html
- /var/honk/views/common.js
- /var/honk/views/emus.html
- /var/honk/views/funzone.html
- /var/honk/views/header.html
- /var/honk/views/hfcs.html
- /var/honk/views/honk.html
- /var/honk/views/honkers.html
- /var/honk/views/honkform.html
- /var/honk/views/honkfrags.html
- /var/honk/views/honkpage.html
- /var/honk/views/honkpage.js
- /var/honk/views/icon.png
- /var/honk/views/login.html
- /var/honk/views/mastodon.css
- /var/honk/views/misc.js
- /var/honk/views/msg.html
- /var/honk/views/onts.html
- /var/honk/views/style.css
- /var/honk/views/xzone.html
- @newgroup _honk:833
- @newuser _honk:833:_honk::Honk User:/var/honk:/sbin/nologin