Is data being stored forever by relays though? I remember seeing some relay implementations that deleted old events by default, but I can't remember which and most importantly can't tell whether that's how the vast majority of relays operates
Mongo By Relays!
It's cool that Nostr apps can be thin clients using Nostr as a free backend π
Sometimes though I just want a db to store some data that doesn't live forever on public relays where a boring offline DB would be sweet.
Quick example project to implement NostrMQ as a simple access layer for MongoDB requests.
-> No hosting, no api layer ephemeral keys for misdirection and encrypted responses.
- https://github.com/humansinstitute/nostrMQ/blob/main/docs/mongobyrelay.md
- https://github.com/humansinstitute/nostrMQ/blob/main/examples/mongo-pilot-client.js
Discussion
Its generally not since storage costs so unless you are paying someone to archive your data i'dnt rely on public relays to store your data forever
Makes sense, Nostr is after all a communication protocol first and foremost as I see it, but its instantiation as social media hides this to a degree and makes one think that data will be stored forever just as in the major social platforms
This is more of the care of data that just doesnβt need to be public.