👀 hmm

Reply to this note

Please Login to reply.

Discussion

🤷‍♂️ just here to bounce ideas 💜

Could use ephemeral events for that or perhaps replaceable if you want it to be sticky

what are ephemeral and replaceable events? (sorry if that’s a dumb question, not my first language) 💜🤗

Ephemeral event is one that gets broadcasted to all clients but not stored, replaceable is like lists that you update and replace it with a new one, like the mute list or even kind0 (profile metadata event)

I’m also learning rn but this is what I grasp.

You are on point

Good to know! 😅

Thank you so much buddy for the explanation. Helping each other out is the best way for all the participants to learn 💜

Ephemerals are not stored on relays so you must be online to receive them. Fast and save space.

Replaceable events are stored but a newer event will remove the old one so the space used is about the same. No need to be online to get those events.

Can you give an example of an ephemeral event please?

ephemeral and replaceable one seem to make the most sense. Songs change so often, that there’s no need to really cache them, I guess.

I’d love there to be a small green text going from right to left showing “Currently listening: ____” and on the left of it there could be like a sticky Spotify logo 🤔