if you download strfry on your computer you can do:

strfry sync '--filter={"authors": ["32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"]}' --dir=down wss://relay.damus.io

to make a backup of all of your notes, where 32e18... is your hex pubkey. it will only copy down the notes your local strfry relay doesn't have. negentropy set reconciliation ftw.

working on coding this up as a feature in notedeck/damus ios, so all your notes stay synced between your devices.

Reply to this note

Please Login to reply.

Discussion

I recently nuked my damus iOS db so I wanted a way to rebuild my search database of all my notes. I just synced to strfry and imported them back all into nostrdb with `ndb import`. importing to nostrdb enables a complete local search index of all my notes. notedeck reads from that database directly, so notedeck search is immediately populated.

the strfry sync step is a bit manual so it will be nice when you can just click a button in notedeck/ios and this will just work.

🔥

Is there a good way to purge events from npubs based on conditions like number of events stored or time stored for strfry?

I have this as an automatic feature of my relay. Just join and it syncs all your notes from Damus and Primal.

nice

strfry is so good.