Replying to Avatar Yuri Yerofeyev

Here's some progress with my #Nostr caching service:

- Connect to relays

- Subscribe to various events

- Choose event retention period (right now, 72 hours)

- Clean up the database from old events (right now, every hour)

- Display event distribution

- (my favorite!) Log in using a nostr extension! I use Alby to log into my dashboard, and only my npub is whitelisted

- REST API access to get stored events using an external application (because that's what I'm going to do - I'm building a caching service just a base layer)

Overall, I'm pretty happy with the results. It's not much but it's honest work. Thanks to Replit's #AI agent.

Avatar
Yuri Yerofeyev 11mo ago

I only set a 72-hour retention period for nostr events, but it already feels like syncing the bitcoin blockchain.

nostr:nevent1qvzqqqqqqypzq9qa4hwn286zg2xjvrqxjtw96t4ymdla29qewc85qjvjzvwlsz3lqy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgkwaehxw309ajkgetw9ehx7um5wghxcctwvshsqgqvaje8jq45fusdxyjr4tnuydpf9t266rdcp3pd5v3xcjj7hgluhgfs3wkz

Reply to this note

Please Login to reply.

Discussion

No replies yet.