Example config, dist cleanup, build files

This commit is contained in:
Christopher Vagnetoft
2026-01-17 17:31:22 +01:00
parent 8b80f25f79
commit 278c9d8d68
4 changed files with 64 additions and 19 deletions

View File

@@ -1,26 +1,9 @@
# listen address
listen: "127.0.0.1:13000"
listen: "0.0.0.0:13000"
# these are the servers that the channels can use as destinations
servers:
default:
server: ntfy.sh
# set to auth with token
token: ~
# or set to auth as user
username: ~
password: ~
# this is where you can send messages to
channels:
# redirect topics directly
serverevents:
destination: default/sometopicnameforserverevents
otherevents:
destination: default/someothertopicnameforevents
# parse and use only part of topic
"prefix_{topic}":
destination: prefixed/{topic}
# or append a prefix to the topic
"{topic}":
destination: prefixing/prefix_{topic}
destination: "prefixing/{topic}"