mojo-owncast-irc-bridge/start.sh.example
2024-12-12 20:00:32 -05:00

20 lines
713 B
Bash

#!/bin/sh
OWNCAST_URL=http://owncast.localhost
# ^ do not add final '/'
OWNCAST_ACCESS_TOKEN=generated_from_admin_page=
#OWNCAST_ADMIN_PASS_FILE=/path/to/admin/pass # this doesnt need to be enabled to work.
IRC_CHANNEL=#your_channel_here
IRC_NICK=qwfpgjluy
IRC_USER=qwfpgjluy
# tls automatically enabled on port 6697. on other ports, you have to edit source code
IRC_SERVER=irc.rizon.net:6697
export OWNCAST_URL
export OWNCAST_ACCESS_TOKEN
#export OWNCAST_ADMIN_PASS_FILE
export IRC_CHANNEL
export IRC_NICK
export IRC_USER
export IRC_SERVER
# .21 since we have an entire /8 and no one will probably use it.
# also dont listen on [::]:3000 which is default
morbo -m production -l http://127.0.0.21:3000 ./myapp.pl