lightning-browser-extension icon indicating copy to clipboard operation
lightning-browser-extension copied to clipboard

[Feature] Expand Twitch/streamer support by adding an Alby HTML streaming widget

Open VictorieeMan opened this issue 2 years ago • 4 comments

Feature description

Speaking of adding twitch support in #1017 Maybe consider adding an API to talk with streaming widgets would be cool. That may encourage streamers to ask their viewers for lightning tips. The "Buy me a coffee" people added this (but they only take gov-fiat), and I think LNbits have an implementation. Alby could consider this as well.

Since people over lightning expect privacy, I would only let the API trigger a donation event and not send along sender about Amounts or sender. This could be optional in some kind of external feature.

Describe the solution

In house

One way is to provide an alby html widget that streamers can add to their streaming software as overlays. Sample url for users to link in their software, based on how stream lab links look; https: //getalby.com//alert-box/v3/usrHF84HGFUHN39GF

Describe alternatives

External

Adding an API that other services can use to trigger donation alerts.

Additional context

No response

Are you working on this?

No, maybe later but no point in just letting the idea be unheard until later if someone got some input.

VictorieeMan avatar Jan 07 '23 13:01 VictorieeMan

Hey @VictorieeMan, thanks for your feedback! 👍

I might suggest you take a look at https://zapdos.albylabs.com:

You can connect your Alby account there and get an overlay URL just like you described. There is probably much room for improvements (it was created during a hackathon and didn't receive much love after that), but maybe this is a start?

Let me know if that works for you or if you miss any particular features.

reneaaron avatar Jan 10 '23 14:01 reneaaron

Hey @VictorieeMan, thanks for your feedback! 👍

I might suggest you take a look at https://zapdos.albylabs.com:

You can connect your Alby account there and get an overlay URL just like you described. There is probably much room for improvements (it was created during a hackathon and didn't receive much love after that), but maybe this is a start?

Let me know if that works for you or if you miss any particular features.

Great suggestion. This seems to be exactly what I was thinking of. It needs some further development ofc, does it have it's own repo anywhere? It seems to me unnecessary to clutter up the alby-extension library with this if there's already a viable integration on the subject.

Two ideas of features to add just off the bat:

  • Hide the QR-code
  • Notification only mode (aka not showing anything until a donation is made)

VictorieeMan avatar Jan 10 '23 20:01 VictorieeMan

Glad to hear that!

does it have it's own repo anywhere?

Unfortunately not yet.

Do you have a stream and would you use this product?

reneaaron avatar Jan 10 '23 20:01 reneaaron

Yes! sorry, I thought I answered this long time ago xD

If anyone sees this again, I think we could for the moment forward these kind of ideas to what zap.stream does. It will work even when streaming on other places than zap.stream since what is does is reading nostr donations: https://zap.stream/widgets

But to "ding" on general donations something integrated with the ln btc wallet is needed ofc.

VictorieeMan avatar Oct 29 '23 13:10 VictorieeMan