jb55 on Nostr: coolest thing about building on #nostrdb is that it comes with command-line tools and ...
coolest thing about building on #nostrdb is that it comes with command-line tools and a portable database that is just a single file.
you can copy your nostrdb node from damus-ios to notedeck and back and it will just work (todo: actually implement ios export). it has all of your nostr data, contacts, profiles, bookmarks, notes, mutelists, decks, everything! It also includes a fulltext search and relay index.
sure you can use relays for this, but its nice to have a local copy you can backup and redistribute later.
eventually your nostrdb nodes will just automatically sync so you don't have to do this manually.
just an alias for :
ndb -d ~/.local/share/notedeck/db "$@"
allows me to query notes streaming into my notedeck node/relay
Published at
2025-03-22 19:18:16Event JSON
{
"id": "7fa8b28e167e1968adeef768b3f4f31de6e7634cc5bddb49ff7be06c5814a459",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1742671096,
"kind": 1,
"tags": [
[
"t",
"nostrdb"
],
[
"q",
"2cb024444106da0fb22ae1ac0bb546e7ed6f3c48d6faf6db75c4df8fc1a3f4c9"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
]
],
"content": "coolest thing about building on #nostrdb is that it comes with command-line tools and a portable database that is just a single file.\n\nyou can copy your nostrdb node from damus-ios to notedeck and back and it will just work (todo: actually implement ios export). it has all of your nostr data, contacts, profiles, bookmarks, notes, mutelists, decks, everything! It also includes a fulltext search and relay index.\n\nsure you can use relays for this, but its nice to have a local copy you can backup and redistribute later.\n\neventually your nostrdb nodes will just automatically sync so you don't have to do this manually.\nnostr:note19jczg3zpqmdqlv32uxkqhd2xulkk70zg6ma0dkm4cn0clsdr7nyseunx9v",
"sig": "341c5f49fbda429cbba05a07d315e6e49ee91de5d1067e4931509d681f5cad92deea17f1018a8df9899c0ec2fc31e1550250af86ea3168ba77dbeaa4deeb681a"
}