this post was submitted on 31 Oct 2023
2 points (75.0% liked)

Self-Hosted Main

504 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

As a sports fan, I recently setup a python script to pull a weeks worth of games (past/previous), and send me the schedule every 3 days via a cronjob with ntfy. I also set it up to let me know when it's GameDay for a few of my teams from different sports and when they are starting.

What do you use it for?

top 32 comments
sorted by: hot top controversial new old
[–] JustALurker-0@alien.top 2 points 1 year ago

For me top use is integrating with uptime kuma to keep track of all local services

[–] rooooob@alien.top 1 points 1 year ago

Yes! Please share the script! Thanks!

[–] wtfblubby@alien.top 1 points 1 year ago (1 children)

Ntfy...

I'm hosting some services on my pi at home. Sometimes the internet is down or power fails...

To get notifications I have a GitHub action to check if my server is reachable. If not -> ntfy.io -> mobile app

[–] gxvicyxkxa@alien.top 1 points 1 year ago (1 children)

You mind sharing your set up? I'm trying to do the same but think I'm doing it badly.

[–] wtfblubby@alien.top 1 points 1 year ago

https://pastecode.dev/s/cEZAojxbuu

Watch out for line 27!

Placed this in an empty GitHub repo in .github/worflows/main.yml

Checked if workflow are active.

Works for me

[–] Mabed_@alien.top 1 points 1 year ago

ntfy is cross platform and i can share alert with all family members without compatibility problem.

I use for alert me end of linux script ou longest command.

I use for alerting me when my supervision detect DOWN …

It’s a great tool

But i don’t self hosted the server side because ntfy work perfect at this time

[–] p_235615@alien.top 1 points 1 year ago (1 children)

I use gotify for various services - it tells me when new stuff is added to jellyfin, it sends me notifications when uptime kuma detects something is down, if grafana monitoring thresholds are reached, after watchtower updates my docker containers, some homeassistant actions, info that some scripts finished and so on... It has a lots of uses.

[–] Digital_Voodoo@alien.top 1 points 1 year ago

Gotify here too. Watchtower notifs work very well. Couldn't get Jellyfin ones to work though. And coming back to ntfy... I've tried it a few times but couldn't grasp the concept, so I'll come back to it again when I have a few days off.

[–] txmail@alien.top 1 points 1 year ago

Mostly to tell me when my well pump or pressure pump starts / stops, but also events from BlueIris (video) when it recognizes things on camera (its my cheap motion detector lol). I also get notices when maintenance starts / stops on my websites, daily visitor stats and some other metrics I like to keep tabs on. On that note also a ton of notifications from my various web services are sent over NTFY.

[–] forepe@alien.top 1 points 1 year ago (2 children)

I tried ntfy but really can't find why I should use it. I've been using Pushover for years and it really does anything I want. Am I missing something?

[–] thekrautboy@alien.top 1 points 1 year ago (1 children)

If Pushover has issues, how do get your messages? You rely entirely on a thirdparty service in the cloud.

You do know that this is /r/selfhosted right?

I do use Pushover myself and its great and cheap, but its absolutely not comparable to ntfy or Gotify being selfhosted.

Also with local selfhosting you can still get messages when your internet is down.

[–] forepe@alien.top 1 points 1 year ago

True, but the actual push notifications still go through cloud with iOS. So I am missing the point for iOS.

[–] Theon@alien.top 1 points 1 year ago

selfhosted :)

[–] Aadityajoshi151@alien.top 1 points 1 year ago (1 children)

I recently set up a python script that reminds me of people's birthdays that it reads from a text file. I also get notifications daily at midnight when my docker config is backed up using rsync. I also have a python script that creates an excel file of my qbittorrent metrics daily so i get notification for that also at midnight.

[–] salzgablah@alien.top 1 points 1 year ago

Can you share your command for the rsync notification? I've done a simple one when the script is done but I'm trying to figure out how to show whether it was a success or had issues. Just knowing cron ran the job is a first step.

[–] trigger2k20@alien.top 1 points 1 year ago

Synology alerts that include containers and security alerts. Scrutiny S.M.A.R.T alerts. ARR stack alerts. Alerts from uptime kuma.

[–] Hanb1n@alien.top 1 points 1 year ago
[–] lilolalu@alien.top 1 points 1 year ago
[–] tiagovla@alien.top 1 points 1 year ago

I made a script so I can run any long running commands and get the output as a notification.

[–] salzgablah@alien.top 1 points 1 year ago

Homeassistant notifications Uptime kuma Audiobookshelf for new podcasts (through apprise) I'm working on results from rsync backup scripts but haven't got it finished yet.

[–] zrb77@alien.top 1 points 1 year ago

I use pushover, never heard of ntfy.

[–] siddharthal@alien.top 1 points 1 year ago

Fellow curry fan i see.

[–] barry_flash@alien.top 1 points 1 year ago
[–] junialter@alien.top 1 points 1 year ago (1 children)

I tried it and it was nice but ultimately I switched to apprise

[–] ovizii@alien.top 1 points 1 year ago

That is not the same thing / Different purpose. Apprise can make use of many notification services, ntfy is just one of them.

[–] nik282000@alien.top 1 points 1 year ago

I have a script that scrapes the website of a local park to let me know when the leaves charce in the fall.

https://i.imgur.com/8SSV2WO.png

[–] r4nchy@alien.top 1 points 1 year ago

I tried ntfy, got it to work once, but never worked again.

Will try again

[–] Jack_12221@alien.top 1 points 1 year ago

I built a discord bot for it. This way I can get DMed right through discord if I send a message.

[–] TheVortuks@alien.top 1 points 1 year ago

Surprised that no one mentioned the matrix. I'm self hosting federated server.

[–] BelugaBilliam@alien.top 1 points 1 year ago

For those looking who are interested in my Github repo for this code:

https://github.com/LordZeuss/ntfy-sports

[–] gaggina@alien.top 1 points 1 year ago

I like telegram bots more. They are less battery consuming on my phone and they sends notification to my desktop PC too (telegram web interface)

[–] wireis@alien.top 1 points 1 year ago

Currently I run ntfy on a remote VPS, it notifies me of *arr warnings/errors, Jellyfin content adds, Jellyseerr content adds, uptime kuma status and also when a new device is added to my Tailscale network. Thanks to OP I will try to add notifications for tracking upcoming sports events