jb55 @jb55 - 3d
The local-first nostr app development manifesto (in progress) Web apps are brittle toys in comparison.
we can connect to remote relays in anyway we want and fetch data in any way we want, the local relay is just for creating a single place to read from to simplify frontend logic and to make it robust to DoS and attacks. Everytime we see a note come off the wire from a relay we also record that in the note relay index.
when I open amethyst without internet it doesn’t work, i don’t think its the same ?
The ui is only based on local subscriptions, remote connections only dump data into nostrdb
the disk db is nice so you can still use all your apps while your internet is down, but this might only be useful if you are building a microapp browser.
The basic idea. A fortress of reliability. nostr:note13a4lfqmjqlkhe64r8tjnj9pklx9yezya20fkej6jtwsut0gkudks2wdsad
sudocarlos @sudocarlos - 2d
does it also failback or could the local db become a single point of failure if a bug is introduced?