I mainly did it to download events posted to default Damus relays and then post them to my Umbrel relay for backup of sorts. There may have been easier ways to do that, but what the hell, learned a little from it. 😊
There may have been easier ways to do that,
Honestly, your approach is probably the easiest -- at least until most clients store events and provide a "backup my events" button.
learned a little from it
That's always a good reason to write code for Nostr. We will need a lot more people working on Nostr to make it usable for the next billion users. And also to figure out what we can use Nostr for besides micro-blogging.
reply