every single app I launch has a downstream effect of improving NDK

Zapworthy improved it by miles

βœ… in-browser DB cache adapter

βœ… aggregated event subscriptions (10 independent queries aggregated to a few if they are similar)

βœ… caching policies (hit cache first, hit cache exclusively, don't hit cache)

βœ… send queries to relays even if a subscription was started *before* a connection was established

and like six other things

ndk.fyi

Reply to this note

Please Login to reply.

Discussion

Gotta migrate my gear to ndk πŸ‘€

bro, it's wild, I'm going to add *everything* a client or relay needs, but most importantly, gossip-style behavior; keep things really decentralized πŸ˜‰

I’ve built a lot of smaller projects too and there is definitely a lot to learn and take from each project.

It’s really valuable to try build a few different things and from different angles - like a relay, a client, a web service, a bot, managing DMs, managing queries, Lightning, complexities of different event kinds, etc.

Definitely recommend the approach for other Nostr devs.