Oddbean new post about | logout
 spending some time today getting the “timeline” query plan working on damus android/notedeck/desktop. The multiplatform version of damus is build from the ground up using a local relay model, so basic things like querying your timeline is no longer a task delegated to the relay.

*the relay is in the computer*

Here’s me testing and making sure the it’s matching up with damus ios. Looking good. I can view my nostr timeline on my linux desktop now. yay!

What’s everyone up to today 👀

https://cdn.jb55.com/s/android-timelines.mp4 
 Awesome! When Damus Android? I will jump on the beta as soon as it drops.  
 👀 
 👏👏👏 
 Anepi-san & Kojira-san cameo in the test video 😁🙌

nostr:nevent1qqsg9sc9wa2rp28j39pm0w8vtasvjd7wsl4w29ngc4zq94z48zd53lspz3mhxue69uhhyetvv9ujuerpd46hxtnfdupzqvhpsfmr23gwhv795lgjc8uw0v44z3pe4sg2vlh08k0an3wx3cj9qvzqqqqqqyt6fc8w 
 I have to ask. How do you build for IOS on a Lenovo? 
 Was curious about this too! 
 Its not iOS, its a multiplatform version built in rust 
 Ok well riddle me this Batman, there’s a lovely translation feature in damus, but it still doesn’t translate dev talk into my imbecilic/native language. 
 Ill ask DeepL to add this 
 Many blessings 🙏 
 Oh man. I need to learn about doing more rust development then. 
 Awesome.

For me:
- NIP-44 Encryption for iOS
- Protocol design for iOS Nostr event signer applications 
 When you say local relay is it something like

https://github.com/greenart7c3/Citrine

Or just a local database that only damus use? 
 It uses https://github.com/damus-io/nostrdb which is a zero-copy custom C database built on lmdb with nostr query support. It currently powers damus ios (partially), notedeck, android, and notecrumbs. 
 That looks cool. 
I’m trying to finish my next episode of my podcast, been working on too many things at the same time and none is complete 
 Damus Android? 
 👀 
 Does the desktop mean web client, which I prefer? Sounds cool.

How the local relay model affects the power consumption on mobile phones? Does it sync every now and then or continuous? Can one set the sync interval? 
 the way nostrdb works, local relay model actually saves cpu/battery. It is smart enough to skip fully parsing and verifying a json event if it already has it in the db.