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

Self Hosted - Self-hosting your services.

11680 readers
151 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
 

#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

all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 1 week ago

ntfy.sh is an option

[–] [email protected] 6 points 1 week ago (3 children)

@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/

[–] [email protected] 3 points 1 week ago

me too, pushover for the win

[–] [email protected] 0 points 1 week ago (1 children)

@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.

[–] [email protected] 2 points 1 week ago* (last edited 1 week 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
[–] [email protected] 3 points 1 week ago
[–] [email protected] 2 points 1 week 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.

[–] [email protected] 2 points 1 week 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?

[–] [email protected] 1 points 1 week 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

[–] [email protected] 0 points 1 week ago

@[email protected] @[email protected] @[email protected] @[email protected] @[email protected]

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

I use git release feed and the Fediverse, example: https://schraepler.de/notes/a2hx96a8ycki0rbz

See https://rss-parrot.net/