Rod's avatar
Rod
rb@rodbishop.nz
npub1r0d8...fsft
Startup founder and listco CEO, New Zealander (kiwi) expat living in Australia, #nostr #austrich, dad. - Nostr Blog https://rodbishop.npub.pro/ - Nostr FOSS https://github.com/r0d8lsh0p/ - Nostr Live Streaming nostr:npub1sh0spghk4yvy2d2v35kelw45qq4msk6zykaw4ds047e9slzs8r4qr7q2xa - Nostr AI nostr:npub1ahjpx53ewavp23g5zj9jgyfrpr8djmgjzg5mpe4xd0z69dqvq0kq2lf353 - Jayride (ASX:JAY) - Fishburners - #Bitcoin miner
Rod's avatar
Rod 1 month ago
Hi friendly Nostr devs. What's the best pattern for push? I have a server with a db of npubs and push tokens from my app. If an npub follows another user, and that user goes live, I would push to the npub's token "user is live! heres a link" Should my server maintain a persistent connection to multiple relays subscribed to all kind 30311s to identify when all lives start? And, similarly for follow lists, should I persistently subcribe to all kind 3s? (And then wash them against npubs in my db, or perhaps specify 1000 author pubkeys in a req?) Or some other pattern? It's all seeming quite inefficient and spammy on public relays... Maybe I am missing an obvious layup e.g. somehow populate my own local relay with all kinds 3 and 30311's and connect locally with impunity? What pattern have others used? Are there docs on this? #asknostr @npub1gcxz...nj5z @Sebastix ๐Ÿ™๐Ÿ™
Rod's avatar
Rod 1 month ago
If I write a note about live streaming today, renotes may arise.
Rod's avatar
Rod 1 month ago
Well that took a hot minute. But, we made it! Apple App Store approval for Shosho. AI-developed Nostr streaming apps with full store releases? It can be done! View quoted note โ†’ @TKay @Kieran
โ†‘