Avatar
Bee 🐝
d8d83ea9eeb9a5ad22748103ea4e3310358691b3cc29b84fb38f381ca63107b1
hey πŸ’– Just a girl in the world

I didn’t even know what I was missing xD πŸ™ˆ

TestFlight Damus > App Store #Damus 😯

Replying to Avatar jb55

Hey guys,

I've been quiet lately... I've been working on something big. In the past 2 weeks there have been 9539 new lines of code added to damus, 2928 removed, 279 files changed. I've rewritten much of the codebase in preparation for the nostrdb integration.

## nostrdb

What is nostrdb? nostrdb is an integrated relay within damus, with the same design as strfry, but slightly different to support embedding into nostr apps. This will be the heart of Damus apps going forward, including notedeck and other future microapps. Think of it as a kind of development kit but with an embedded database and query capabilities. I didn't want to have to recreate all of the same querying, caching, and parsing code when building new apps, nostrdb will solve all of the painful and slow parts. nostr seems simple but if you want a fully working app it is pretty complicated, especially if you want it to be fast and sync efficiently.

### Goals

* be the best and most efficient at querying, syncing and storing nostr notes

* enable direct mapping of notes into application code without any serialization overhead

* provide advanced syncing capabilities such as negentropy, which allows us to only query stuff we don't have

* be as portable as possible. nostrdb is a C library that you can embed into basically anything.

* full relay filter support

* full text search

### Benefits

* full note verification

* more efficient de-duplication before we begin processing events off the wire

* set-reconciliation based syncing (negentropy) drastically reduces bandwidth usage and latency

* iteration on future nostr apps will be quicker (android, desktop, etc)

* features like ghost mode, account switching, etc will be much more efficient as you will be able to quickly switch between notes that are cached locally

* much smaller memory footprint due to optimized in-memory note format, which in turn improves cpu-cache efficiency

* much better profile and note searching

So that's what I've been working on in the past two weeks. On to what else is new in this release:

## Multi reactions!

Suhail did an amazing job at adding multiple reaction support. All you need to do is long-press the Shaka button to show different options. You can customize these in settings as well

## New onboarding features

Damus will now suggest people to follow when you first enter the app, this is the first of many onboarding improvements coming soon. Thank Klabo for this one!

That's all for now! Please test thoroughly and let me know if you run into any issues. You likely will since the entire codebase has been changed, and I probably broke something.

Until next time 🫑

Hell yea πŸ”₯

Love bravely and relentlessly β™₯️

I love the memes ☺️🫢 video recommendations about it would be helpful too prob!! Short or long form, it’s fairly easy to have video content running in background while I’m doing other things

Replying to Avatar Derek Ross

gm

☺️🫢

I’ve been loosely watching bitcoin since 2019 or so when one of my guys sent me a few hundred $ worth at the time - I did not appreciate it like I should have though πŸ˜…

Thanks so much for the sats I feel the love πŸ₯°πŸ«Ά good morning all & hope your day is beautiful πŸ’ž

Can I has a coffee? β˜•οΈπŸ˜‡

lnbc205030n1pjvheu7pp54p0cj5lejlfchjwgljrwmtaen9ufr0zdpt2e9v5hunsauhjnewwqdqqcqzzsxqyz5vqsp5xdmkln9utpc0gmv3m9dt9mlgrdwlsnkcyfwdjne8xsx9upjjmy7s9qyyssqdhh3tfvtqxvp9yay88tgml94np8n68n6nc7j8ncju6hlmpdqznw8axj0xhc4rp2ed83sujq6nrrnk4583yjg6smqpplvd4a0dt072zqq6kusn2

Goodnight nostr friends 🫢😴 sleep well

πŸ˜†πŸ˜†πŸ˜‡

Oooo I bet we have some overlap in interests there :3 πŸ₯° I play more single player than multiplayer games usuallyyy but I do especially love RPGs ☺️ way too many hours in management & sim games too haha

thank you ☺️