Gotify, a self-hosted push notification app

Project page

Source code

Gotify is:

Gotify

It comes with a nice Android application available on the Play Store and F-Droid, that listens for events over a websocket.

I have been using it for about 10-12 days now, without noticeable impact on battery.

EDIT 03/2020: still using the Android app, and still no battery impact.

It is easy to send messages to Gotify:

$ curl -X POST "https://notifications.example.org/message?token=<apptoken>" -F "title=my title" -F "message=my message"
$ http -f POST "https://notifications.example.org/message?token=<apptoken>" title="my title" message="my message"

The token can be generated from the GUI or API.

When receiving a message, your Android will immediately notify you of any message.

The developers are very active, looks like a promising project!

Alternative

Up until now, I was using Simplepush, which is basically the same concept but sends messages to Simplepush servers.

Also the Android app is not open source

Being not self-hosted you don’t control your data, and the developer can turn off the service overnight.




Thanks for reading this post!


If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!