ntfy.pl
is an Irssi script that sends notifications via the ntfy service when you're mentioned in a channel or receive a private message.
- Sends notifications to a fixed ntfy endpoint when you are highlighted in any channel.
- Notifies on incoming private messages.
- Customizable ntfy endpoint URL using Irssi
/set
command.
- curl: Used to send HTTP POST requests.
-
Download the script and place it in your Irssi scripts directory:
mkdir -p ~/.irssi/scripts wget -O ~/.irssi/scripts/ntfy.pl https://raw.githubusercontent.com/ronilaukkarinen/irssi-ntfy/refs/heads/master/ntfy.pl
-
Load the script in Irssi:
/script load ntfy
-
Set your ntfy endpoint (optional, only if using a custom server):
By default, the script sends notifications to the public ntfy endpoint at
https://ntfy.sh/irssi
. To set a custom endpoint, make sure to include the protocol (http://
orhttps://
) in the URL. For example:/set ntfy_endpoint https://your-custom-ntfy-server/irssi
-
Test the notifications by sending yourself a private message or getting mentioned in a channel.
- The script automatically sends notifications when:
- You're mentioned in a public channel.
- You receive a private message.
To check if the endpoint URL is set correctly, you can run:
/set ntfy_endpoint
- Roni Laukkarinen
- Contact: roni@dude.fi
This project is licensed under the GPLv2.