was trying to remember a command I posted to nostr... local search ftw

$ ndb query -a $JB55 --limit 1 --search notmuch

user search changes everything. you can write ndb scripts to find notedeck-received notes. notedeck gui search interface soon!

nostr becoming a useful offline-first information storage and retrieval system 👀

ndb (nostrdb command line tool) is a lot like notmuch, which is a similar tool for email. nostr is more structured.

nostr:note1fm4c9nsjs9s9memzcyy4nwanx85w7kazltcq0p8qall888cjavmq2ng5r3

Reply to this note

Please Login to reply.

Discussion

Hmm, Spotlight plugin? 🤔

Ohh this is a good idea

I have a rough cut Expo / React Native App Intents plugin at https://github.com/ynniv/expo-ios-app-intents. I haven't looked at rust/iOS yet.

I should run this, I've wanted to do a similar search.

you can use notedeck to pull down data by visiting your profile page. once you have your data locally you can search it

on macOS you have to do:

ndb -d ~/Library/Application\ Support/notedeck/db

to use the notedeck db

on linux its:

ndb -d ~/.local/share/notedeck/db

you can also do something more manually by using `ndb import` and pulling data from the relay. import is kinda buggy right now though when importing lots of data.