this post was submitted on 29 Jan 2025
73 points (96.2% liked)

Selfhosted

41554 readers
995 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
top 12 comments
sorted by: hot top controversial new old
[–] Bakkoda 1 points 6 hours ago

I was using it for a while as my error notification channel and eventually it became totally unresponsive when deleting a message. Just kind of gave up on it.

[–] [email protected] 1 points 12 hours ago

Been using this for a long time. Very reliable. Though postgres may be overkill for most. Default install uses sqlite.

I've got maybe 20 or so apps set up for various services and things. Quite useful!

[–] [email protected] 6 points 22 hours ago (1 children)

How does it compare to NTFY?

[–] [email protected] 2 points 5 hours ago* (last edited 5 hours ago)

Different philosophy.

Ntfy uses pub-sub like MQTT. It publishes messages and anyone (with access) can subscribe to it. Want to connect 250 clients across 50 people to have the same messages delivered? Easy.

Gotify uses end to end messaging. A user creates an application on their chosen client. Gotify uses a REST api send the notification pulled from the chosen app to the user who made it. Want to do the same as above? You have to set it up 250 times. Gotify was the first to have authentication and some people say it is more robust, but I can't speak on that. Also gotify is easier to set up and makes sense for a single user.

Someone can correct me if I am wrong, but that is the biggest architectural difference.

[–] [email protected] 3 points 1 day ago (2 children)

Interesting. Can you send messages with the web UI?

[–] [email protected] 1 points 23 hours ago

Think of it more like a push notification server than a messaging platform. You would need a service that sends push notifications to Gotify topics. I get the sense that under the covers it works a lot like MQTT where you have apps publishing messages to topics, and you have consumers (in my case, iGotify app on iOS) that pull those messages off the topic and present them to the user as push notifications.

Though... I think I need a better iOS client than iGotify. It's not actually giving me any push notifications so it's missing the whole point for me.

[–] [email protected] 1 points 1 day ago

Probably something here that you can use like that:

https://github.com/gotify/contrib

[–] [email protected] 1 points 1 day ago (4 children)

What sort of notifications is this aimed at?

[–] synestine 1 points 15 hours ago

It is designed for one user, multi-channel push notifications. Like Firebase Messaging but self-hosted. You can use Markdown when composing the messages and do about whatever you want.

[–] [email protected] 1 points 18 hours ago

I use it with apprise and mailrise (email interface over apprise) typically. Apprise is basically a generic notification sender that can send push notifications to a bunch of different clients, including gotify.

So, things like Proxmox errors get set to a fake mailrise address -> apprise -> gotify. And a lot of Linux apps in general (especially older ones) only support email notifications, so this is quite useful. You can also use apprise directly, even as a commandline interface. So you can make scripts to notify you of problems in cases where there isn't already proper logging and notification support.

And I've setup diun to give me notifications for docker version updates. In this case, diun sends notifications to gotify directly.

[–] [email protected] 2 points 23 hours ago

It's got an open API so really there's a lot more than my own use case.

I'm using it right now for getting notifications from flows in ActivePieces (I don't want to get spammy with my site, which is the link in the original post, but there's a how-to on getting that up and running also... ActivePieces is like a self-hosted Zapier)

[–] [email protected] 1 points 1 day ago

For anything. You can get a push notification for anything you can make run a script or send an http request.