SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.03k stars 1.23k forks source link

[Package Request] ntfy #5558

Open piwi82 opened 1 year ago

piwi82 commented 1 year ago

Software Name

ntfy

Brief Description

This software sends custom notifications to mobile (Android, iOS) or desktop (web) devices using a private server (public server by default). The server part (written in Go) could be installed on a Synology NAS 😎 It has a lot of features, detailed explanations are available on the official website main page.

Website

https://ntfy.sh

Documentation

https://docs.ntfy.sh

Build/Installation documentation

https://docs.ntfy.sh/install/

Source code

https://github.com/binwiederhier/ntfy

OpenSource License

Apache

Other License

GPLv2

hgy59 commented 1 year ago

This kind of application requires root priviliges and will not run on DSM 7

wget https://github.com/binwiederhier/ntfy/releases/download/v1.30.1/ntfy_1.30.1_linux_x86_64.tar.gz
tar zxvf ntfy_1.30.1_linux_x86_64.tar.gz
sudo cp -a ntfy_1.30.1_linux_x86_64/ntfy /usr/bin/ntfy
sudo mkdir /etc/ntfy && sudo cp ntfy_1.30.1_linux_x86_64/{client,server}/*.yml /etc/ntfy
sudo ntfy serve
fgma commented 1 year ago

Probably root is only needed when listening to a port < 1024. This can be changed:

https://docs.ntfy.sh/config/?h=root#command-line-options

ntfy serve --listen-http :8080
piwi82 commented 1 year ago

The listening port must be changed so as not to conflict with Web Station.