Damus
cipres · 6w
Some time ago i wrote a Rust crate to run SparQL queries on a nostr events store. https://crates.io/crates/nostralink Makes it possible to build pretty powerful queries: https://codeberg.org/nostra...
Fabio Krauss profile picture
That's cool! I built something too, will share soon. It will be cool to compare the approaches.

Right now my problem is getting historical data. I managed to build a good enough event listener, but it goes back only to a few days ago. So moving forward data will be stored, but data backwards is still wip

1
cipres · 6w
Ok, interesting. I never thought about using SQL to query nostr events. Please share your queries :) One thing about nostralink is that if there's some JSON in the content field of a nostr event, it unpacks the JSON, and that information is then serialized to RDF and into the events store, so you c...