Replying to Avatar franzap

I have a specific requirement for zap.store that no relay provides out of the box, custom indexing multiple fields for NIP-50 full-text search (and rejecting certain event kinds).

I thought of customizing the fiatjaf golang relay framework but didn't want to learn new tooling just for this.

nostr:npub1gzuushllat7pet0ccv9yuhygvc8ldeyhrgxuwg744dn5khnpk3gs3ea5ds pointed me at Bun.sh which is a powerful JS toolkit with built-in websockets and sqlite, and I basically got a relay implemented in under a day... very cool.

This will eventually index all software releases on zap.store, and I'm thinking of making this same server implement nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr-Blossom, keeping copies of all the indexed artifacts.

#zapstore

O fuk you did it! Amazing 🔥🔥🔥 are you gonna open source the relay code?

Reply to this note

Please Login to reply.

Discussion

Yes for sure! It's quite custom and suboptimal code at the moment but good as reference

Amazing! definitely I will collaborate on the project 👌