Skip to content

A python script that fetches notifications from the nextcloud talk api and pushes them to a gotify server.

License

Notifications You must be signed in to change notification settings

junpet/Gotify-Nextcloud

 
 

Repository files navigation

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

About

A python script that fetches notifications from the nextcloud talk api and pushes them to a gotify server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%