A simple termux script to send a notifications form your Nextcloud server in case if you don't have Nextcloud app or Google play services
Installing
To install this program you should have following apps installed Termux, Termux:Boot, Termux:API.Open termux and install git command:
pkg install git debianutils vim
Clone the code
git clone https://github.com/Andrewerr/termux-nextcloud-notificatorcd termux-nextcloud-notificator
Run install.sh script:
./install.sh all
Now you need to configure the program. There is two ways to do this
1st way
vim: ./install.sh configure
2nd Way
nano/emacs/...: your-editor /data/data/com.termux/files/usr/etc/nextcloud-notificator.ymlThe config files is as follows
- endpoint is domain of you cloud
- user your username at your server After this it is recommend to do first run(On boot authorization may not open). So just run:
./run.rbSo now you should authorize at your cloud.
Manage installation
./install.sh has few more options:update - updates your installation to latest development release
deauth - removes your authentication credentials(Maybe useful in case of 401 error)


nice article 👍👍👍👍👍
ReplyDelete