3 ms·
Nice work! I’ve built a research prototype called Webstrates (webstrates.net) and recently created a local-first version: MyWebstrates (https://github.com/Webst
by clemensnk 2y ago
Nice work!
I’ve built a research prototype called Webstrates (webstrates.net) and recently created a local-first version: MyWebstrates (https://github.com/Webstrates/MyWebstrates https://github.com/Webstrates/MyWebstrates).
I just tested your note on it, and it works nicely.
Here’s what I did:
I copied the HTML of Nash, went to https://my.webstrates.net https://my.webstrates.net, created a new blank webstrate, opened Developer Tools, and replaced the entire DOM with the Nash HTML. Now the content persists across reloads.
To enable real-time collaboration, run this in the console:
webstrate.addSyncServer('sync.webstrates.net')
Then share the URL:
https://my.webstrates.net/?s/<document-hash>@sync.webstrates.net/ https://my.webstrates.net/?s/<document-hash>@sync.webstrates...
Now it’s live-editable with others!
Webstrates works by storing and syncing changes to the DOM.
With the chance of killing my sync server, here's a Nash note on MyWebstrates: https://my.webstrates.net/?s/41W5owzLg94wDQAin4yJXGnFyKWN@sync.webstrates.net/ https://my.webstrates.net/?s/41W5owzLg94wDQAin4yJXGnFyKWN@sy...
- deleted 2y ago[deleted]
- yevgenyhong 2y agoWow, this is really cool. I should remember it later and study more.
- pimbrouwers 2y agoI came to say exactly this. I was sucked right into this. I am looking forward to reading more thoroughly and understanding it better.