Oddbean new post about | logout
 fwiw, it's very possible to host nostrudel (or other web clients) locally instead of using it from the author's website
this is what i do, it's simply a static website once built 
 So like it lives on your device at some ip:port within your browser? I ran sillytavern, that's my only concept of something like that 
 sometimes you can even get away with file://.../index.html, pointing it at the local output, but not all web apps work that way due to cross-site permission issues

so usually you'd run a local web server and host it from there, either on the same machine or within your LAN

the javascript build systems usually have a webserver built in for developer use; eg "pnpm run dev" will spin up its own webserver locally (see https://github.com/hzrd149/nostrudel?tab=readme-ov-file#running-locally)
 
 Cool, I will try that, then it's also "multi-device" in an easier way than using sshfs for ~/.local/share/gossip :) 
 oh yeah, you could also use wireguard and host it on a VPS only accessible over wireguard 
 well, even you could run it on your own home server, if it has a wireguard tunnel to a VPS and you would then be able to access it away from home too 
 i seriously doubt mike's client can cope with two instances writing to the app DB... that stuff will just be in the browser cache if you run a custom instance of coracle or nostrudel 
 If you run two instances it won't obviously fail right away, but it wasn't designed or tested.  I've run single commands while the UI is running though to no ill effect. 
 have fun causing race conditions

welcome to the real world of concurrenc networks 
 this is correct: local state for webapps is stored in the browser, even if you host them locally
i don't think this is easier to sync multi-device than eg gossip's local files

nostrudel does store its settings in a relay-side 30078 event as well, this gives it automatic synchronization of settings between devices, maybe this is enough for what you want 
 yeah, this is also one of the big hassles with web apps is the web browser doesn't easily let you connect the app to a local cache relay... you could then also connect that cache to wireguard and use the same cache on your other devices as well

to do shared state like this you have to build a separate configuration/cache service 
 I haven't tried multi device at the same time, yeah I can image that would mess things up.  I'm closing gossip on the desktop, then sshfs mounting on a laptop and using that.
Now that you mention, I will probably forget to close it on the laptop at some pont and try accessing both at once and get to see what kind of fun that leads to. 
 yeah, since you are linked via ssh just do a "killall gossip" before mount