this post was submitted on 20 Nov 2023
3 points (100.0% liked)

Self-Hosted Main

502 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
 

I want to introduce you to a new open-source project we've been working on for the past year or so - a Push Notification Microservice. This microservice is designed to provide a straightforward, ready-to-use solution for sending push notifications to iOS and Android devices via Firebase.

Some key aspects of this microservice include:

  • Ease of Setup: It's built to be user-friendly, enabling you to run it in less than 30 minutes.
  • Open-Source Flexibility: The code is available for anyone to fork, modify, and use without limitations.
  • Serverless Infrastructure: Developed on top of AWS CDK, the microservice leverages cloud-native technologies for high scalability and reliability.
  • Comprehensive Features: Includes everything needed for push notification management, from user and device ID handling to detailed logs and push notification inbox functionality.

This tool can be a valuable asset for developers looking for an efficient way to manage push notifications in their projects. Your feedback and contributions are welcome, as they help us improve and evolve the service.

Check it out and let us know what you think: https://github.com/HyperSense-Software/agnostic-push-notification-microservice

I am looking forward to your thoughts and feedback!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

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.