Proof of concept: e-mail style subscriptions on Nostr
Problem: I love reading some authors on e.g. nostr:npub1048qg5p6kfnpth2l98kq3dffg097tutm4npsz2exygx25ge2k9xqf5x3nf or nostr:npub19mduaf5569jx9xz555jcx3v06mvktvtpu0zgk47n4lcpjsz43zzqhj6vzk but I tend to miss their updates.
Could I get a DM every time they post something? Or on a weekly basis?
So I built a tiny ~20kb fully functional web component for publishers that:
- scans publisher DM inbox for messages with "subscribe" or "unsubscribe" and builds a subscriptor list on the fly
- sends out a message to the list with a custom message including an URL
- checks sent DMs to warn if that link was already shared
Is kind 4 the way to go? Or could we have a better construct for subs/unsubs, maybe using shared lists?
Please share and let me know!
https://video.nostr.build/23ac80e5beab3f5ca17fe469986a2c0a781a0b832becf48938178d656b179b4c.mov