Skip to content

Generalist support for real-time messages #2407

@2Friendly4You

Description

@2Friendly4You

Summary

It would be cool if Shlink could use Apprise (https://github.com/caronc/apprise) to send notifications straight to places like Discord, Slack, Telegram, etc., whenever something happens (like a new link is made). This would be another way to get updates, besides the Mercure, RabbitMQ, and Redis stuff it already has.

Use case

So, Shlink already has ways to send updates in real-time using Mercure, RabbitMQ, and Redis. That's probably great if you're a fancy developer building another app that needs to react to Shlink stuff.

But honestly, sometimes I just want a simple notification. Like, I want a message in my Discord server or a Slack channel when someone creates a new short URL, or maybe when one of my links suddenly gets a bunch of visits.

Right now, getting that kind of simple message seems complicated. I think I'd have to set up another program just to listen to RabbitMQ or Redis, and then have that program send the message to Discord/Slack. That sounds like a lot of work just for a notification.

It would be way easier if Shlink could just talk to Apprise directly. Apprise is awesome because it already knows how to send messages to tons of different services (Discord, Slack, Telegram, email, push notifications, like everything).

If Shlink could use Apprise, I could just give it my Apprise notification URL, and boom – Shlink sends the update right to my chat app when something happens.

Why this would be nice:

  1. Easy Notifications: Get messages right where I want them without needing extra steps.
  2. Less Hassle: Don't need to set up some extra listener program just for alerts.
  3. Works Everywhere: Apprise supports pretty much any notification service I'd want to use.
  4. Just Another Option: It wouldn't break the other ways Shlink sends updates (Mercure, RabbitMQ, Redis). It's just an extra, simpler choice for people who want direct messages.

Basically, adding Apprise would make it super simple to get quick updates from Shlink on my phone or computer, which would be really useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions