#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
ntfy.sh is an option
@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/
me too, pushover for the win
@remakingeden @RareBird15 @selfhost @selfhosted @linux @selfhosting Never heard of it. Great tip.
@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.
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
@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?
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.@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@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
@RareBird15@caneandable.social @selfhost@lemmy.ml @selfhosted@lemmy.world @linux@a.gup.pe @selfhosting@a.gup.pe
"#SelfHosting community, how do you get notifications about your projects? ":
I use git release feed and the Fediverse, example: https://schraepler.de/notes/a2hx96a8ycki0rbz
@RareBird15 @selfhost @selfhosted @linux @selfhosting Also, for your Discord issue - rate limit yourself. Look into the “sleep” command.
@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.
@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.