ExploreTrendingAnalytics
Nostr Archives
ExploreTrendingAnalytics
2218238…e8622d2d ago
strfry 1.1.0 beta series: I'm working on a new release of strfry and there are some beta releases tagged in case anyone wants to give them a try. There are lots of changes in the queue. I'll write them up in more detail soon. For now here's a small new feature in 1.1.0-beta4: --range option for sync. Basically it's a convenience feature for specifying since/until in your filter. Examples: strfry sync wss://blah.com --range 1h- ^^ sync just last hour of notes strfry sync wss://blah.com --filter '{"kinds":[0]}' --range 1Y-6M ^^ sync kind 0 events between 1Y and 6M old This is especially useful for "paginating" big syncs. You can first do 2M-1M, then do 3M-2M, then 4M-3M, etc.
💬 12 replies

Replies (12)

Eric FJ 🪬⚡️2d ago
Welcome back Doug!!!!
0000 sats
2218238…e8622d1d ago
Thanks, good to be back!
0000 sats
Rruralrover2d ago
What a useless tool!
0000 sats
TKay1d ago
cool stuff. thanks for continueing making updates to strfry.
0000 sats
2218238…e8622d1d ago
You're welcome! Let me know if there's anything you'd like me to implement.
0000 sats
JeffG 1d ago
Amazing. Can’t wait. I noticed a PR a few days ago to add auth support - is that going to make it in too?
0000 sats
398ja1d ago
I vibe coded a relay proxy with nip42 client auth that works well with strfry.. https://github.com/398ja/nostr-auth-proxy
0000 sats
2218238…e8622d1d ago
Yes! It's already in the beta series. I'll write this up in a bit more detail soon. Note that the AUTH is a bit limited, and mostly is used to restrict the writing of protected events (NIP-70). Using AUTH for restricting which notes can be read is not currently implemented. We're still trying to figure out the best approach for this.
0000 sats
Ben Weeks ⚡1d ago
What's the latest with delete events :-)
0000 sats
2218238…e8622d1d ago
I believe they are working as per spec, but please let me know if not. The beta-series finally implements the deletion of parameterised replaceable events with a-tags: https://github.com/hoytech/strfry/issues/168 Is there anything in particular you're wondering about?
0000 sats
Jelle1d ago
Interesting. This makes me wonder, when people setup a new relay, do they just sync from an existing one. Do public relays accept to be fully copied (as in: give me all notes from the last year)?
0000 sats
4710h ago
👀
0000 sats