3
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 20 Nov 2023
3 points (100.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
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
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
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
founded 1 year ago
MODERATORS
Sadly, I believe web push notifications still go through a centralised server provided by the browser developer.
It would be very wasteful to deliver them directly. In this architecture every app has to manage connections and this is not good for battery powered device. It also allows to unload apps from the memory but still get the notifications.
Using apple servers is not that bad after all. If you care about privacy than you can use encryption. The message is delivered to the service worker that can decrypt them.
I understand why, I just wish there was a way to do notifications without a centralised, internet connected server.
One of the things I do is build communications systems for scientific crews who are often working in places with local wifi but no internet. They'd really like to have a Matrix server (or similar) they can use to send each other messages. But as far as I've been able to determime this is currently impossible. :-(
Deltachat is the best solution I've been able to find.
Unfortunately, it's not feasible to send traditional push notifications on a local network since they rely on Apple's and Google's servers. However, a workable alternative involves having mobile apps run in the background. This is straightforward on Android and, while more challenging on iOS, it's certainly achievable.
By connecting these background-running apps to a broadcasting server using a socket connection, you can facilitate the exchange of messages between the server and the mobile app. Consequently, the apps can generate local notifications. These local notifications have the same appearance and functionality as standard push notifications, providing a similar user experience without the need for external server dependencies.