scsibug / nostr-rs-relay

Mirror of https://sr.ht/~gheartsfield/nostr-rs-relay/
MIT License
527 stars 136 forks source link

Feat request: NIP-95 support #179

Open Spl0itable opened 5 months ago

Spl0itable commented 5 months ago

Hello, I would like to please request support for NIP-95 to allow media hosting: https://github.com/frbitten/nostr-nips/blob/NIP-95/95.md

Thanks

scsibug commented 5 months ago

Feel free to build a POC on a private branch and submit a PR. If someone were to implement this with a data directory (instead of using the DB), that would probably be better (as noted in the NIP). I think it should also be optional, and have its own configurable max size. The GRPC interface probably needs to be tweaked as well, since we probably don't want to send very large events over that.

I'll leave this open, but I don't have any plans to work on this myself.