Irssi script to send privmsg/hilight notifications from Irssi to your phone via ntfy; see https://ntfy.sh/
This hack job is based on IrssiNotifier; see https://github.com/murgo/IrssiNotifier
- Host or rent an ntfy instance; see https://ntfy.sh/ for releases or service options
- Install ntfy app to your phone; again see https://ntfy.sh/ for appstore links
- Add subscription to your ntfy app: enter topic name, for example irssi, and enter your ntfy server url
- Copy irssintfy.pl to ~/.irssi/scripts/autorun/ and load in Irssi: /script load autorun/irssintfy
- In irssi, configure ntfy notification url (with topic name as the path): /set irssintfy_api_url https://<your_ntfy_server_address>/irssi
- If authentication is needed to send notifications, create an authentication token for your ntfy user and configure it to irssi: /set irssintfy_auth_token tk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Configure other settings starting with irssintfy_ to your taste and remember to /save
Your ntfy server full URL
Your ntfy server user authentication token if one is needed to send notifications
Only send notifications when you are away when set
Send notifications for DCC chats when set
HTTPS proxy URL if you need to use one
Do not send notifications for currently active window when set
Do not send notifications for these space separated channels when set
Do not send notifications for these space separated perl regex patterns when set
Do not send notifications for these space separated nicks when set
Do not send notifications for these space separated IRC servers when set
Only send notifications if there was no user input for this many seconds
Only send notifications for these space separated public highlight regex patterns when set
Only send notifications when your screen/tmux session is detached when set
This is a hack job. Use at your own risk.
