13

#SelfHosting community, how do you get notifications about your projects?

I'm setting up a couple of #BASH #Scripts to back things up and notify me about events on my #RaspberryPi, but I've hit some roadblocks. Here's my situation:

- I know #email is one option, but I'm not set up for it yet. My domain is on porkbun.com, but its nameservers point to vultr.com, where my #WordPress site is hosted. The Vultr server is managed by a friend, so I don't have access to add #DNSRecords for platforms like #Brevo. I've asked him to add the records but am waiting on that.

- I've been using a #Discord webhook, but I've run into issues with rate limiting when scripts send too many messages. Long messages also cause errors.

Now, I'm exploring other ways to send notifications. Does anyone have suggestions for reliable methods or tools that work well in self-hosted setups?

#Linux #Tech #Technology #BASHScripts #SelfHosted #Notifications
@selfhost @selfhosted @linux @selfhosting

top 15 comments
sorted by: hot top controversial new old
[-] iii@mander.xyz 14 points 2 days ago

ntfy.sh is an option

[-] remakingeden@infosec.exchange 6 points 2 days ago

@RareBird15 @selfhost @selfhosted @linux @selfhosting I've used pushover for years with success at self hosted notifications. I've never tried to add anything as large as a log though. https://pushover.net/

[-] mhzawadi@lemmy.horwood.cloud 3 points 2 days ago

me too, pushover for the win

[-] RareBird15@caneandable.social 0 points 2 days ago

@remakingeden @selfhost @selfhosted @linux @selfhosting Yeah I don't want to add a whole log, just alerts that backups were done successfully or if something goes down, or a daily summary of how my system is doing. I'll look into Pushover.

[-] mhzawadi@lemmy.horwood.cloud 2 points 2 days ago* (last edited 2 days ago)

this is a command I use to get the local weather

/usr/bin/curl -s \
  --form-string "monospace=1" \
  --form-string "token=YOURTOKENHERE" \
  --form-string "user=YOUR USERID"  \
  --form-string "title=$(/usr/bin/curl -sk wttr.in/melksham | grep "Weather report")" \
  --form-string "message=$(/usr/bin/curl -sk curl wttr.in/melksham?0ATQF)" \
  https://api.pushover.net/1/messages.json > /dev/null
[-] Blort@social.tchncs.de 1 points 2 days ago

@RareBird15 @selfhost @selfhosted @linux @selfhosting

What specifically do you mean by "notifications about your projects"? Do you mean learning about latest releases by FOSS projects you're interested in? (I like RSS for this) Or are you talking about notifications such as UnifiedPush? Or something else?

[-] seang96@spgrn.com 3 points 2 days ago
[-] taiidan@slrpnk.net 2 points 2 days ago

I have my family (for chat), security cameras (for motion detection), and server notifications on my own xmpp server (Prosody). Private and works for me. Lots of good libraries for programming bots with updates. Can upload images or videos to the chat.

[-] adelgado@eu.mastodon.green 1 points 2 days ago

@RareBird15
I use self-hosted #ntfy (but you can use their server) and Signal CLI API https://github.com/bbernhard/signal-cli-rest-api but if you use a less safe #IM probably there is a way to have webhooks or APIs
@selfhost @selfhosted @linux @selfhosting

[-] linux@liberdon.com 0 points 2 days ago

@RareBird15

@selfhost @selfhosted @linux@a.gup.pe @selfhosting

Unfortunately I don't use it, so I can't speak to whether it works, but I think the architecturally-sound way to standardize notifications (scalable, multi-user, open-standard, decentralized, etc.) is to use the "Unified Push" app for Nextcloud. This is under current development and maintenance: https://apps.nextcloud.com/apps/uppush

See also https://unifiedpush.org

[-] uwe@schraepler.de 0 points 2 days ago
[-] jdw@the.mayhem.academy 0 points 2 days ago

@RareBird15 @selfhost @selfhosted @linux @selfhosting Also, for your Discord issue - rate limit yourself. Look into the “sleep” command.

[-] jdw@the.mayhem.academy 0 points 2 days ago

@RareBird15 @selfhost @selfhosted @linux @selfhosting With so many limitations in your system design, I don’t really feel you’re “self hosting”. You’re really just using a bunch of things that you don’t appear to have a lot of control over, which is basically all the limitations you get from _not_ self hosting.

What do you mean by your server is not “set up” for email? Simply installing sendmail should give you what you need. Emails will likely end up in your spam folder but you should be able to manage that within your email client (whitelist, create a rule to keep it in the inbox, etc).

Any other solution is more complex and probably going to even less likely to work for you.

[-] RareBird15@caneandable.social 0 points 2 days ago

@jdw @selfhost @selfhosted @linux @selfhosting Not sure what you mean. I have a Raspberry Pi with MiniFlux, LinkAce, and a bunch of other stuff on it. The only thing I'm not hosting is the WordPress site.

this post was submitted on 02 Jan 2025
13 points (88.2% liked)

Self Hosted - Self-hosting your services.

11639 readers
3 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS