Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 887 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 887 Bytes

Gotify-Nextcloud

License: GPL v2

A Python script that fetches notifications from the Nextcloud notification API and pushes them to a Gotify server.

Usage

Just adapt the settings in the settings.py file and start run the script. A working Nextcloud instance and a working Gotify setup is needed.

Tips

  • You can setup logging, by providing the path to a logfile in settings.py
  • To use the provided servicefile, copy it to /etc/systemd/system and enable/start it. (To use it, push_msg.py must be located in /usr/local/bin/

TODO

  • Find a better way for authentication, as username and password are stored in plaintext in the settings.py file
  • Use a persistent storage so that old notifications aren't resent, when the script is restarted