Not to deep into it, but nostrdb is the local database running on your phone that’ll serve you the events you’re interested in, when using the Damus app. Making it as performant as possible will increase the user experience, since the reaction time of your phone will be faster, making it feel more seamless.

Reply to this note

Please Login to reply.

Discussion

Given so many nostr apps it would be cool to have a way to communicate with an on-device nostr server instead of all individually getting the same the information from the network repeatedly.

I think it can only be locally used by Damus, so no other app can access it as far as I understand.

nostrdb is built on lmdb which allows concurrent access. You could have multiple processes reading from and writing to the same database. Probably not on phones, but desktop apps could do this.

Probably not on phones because apps are pretty insulated from each other. But it would be awesome though