As Saq mentioned, I am very close to a public beta of a real-time "live multiplayer" syncer build on top of TiddlyWeb/TiddlyWiki5 Server + Websockets + Yjs (Conflict Free Replicated Datatype library).
I took a lot of inspiration from Jed Carty's Bob Server setup, but so many of the internal changed during the Yjs integration that it has become its own thing. I need to get to a stable point in the refactoring to start sharing my progress. Aside: I also noticed that if you "Close" an open draft tiddler with the `X` button, that it deletes the draft from the wiki, and this really disturbs drafts from other users that are being edited live.... note to self to file a bug report on that. Best, Joshua Fontany On Tuesday, August 17, 2021 at 2:52:06 PM UTC-7 cj.v...@gmail.com wrote: > I had not noticed cycled refreshing. Thanks! I must watch those > TiddlyWikis again. > > On Tuesday, August 17, 2021 at 5:07:31 PM UTC-3 saq.i...@gmail.com wrote: > >> Hi Charlie, >> >> On Tuesday, August 17, 2021 at 8:18:27 PM UTC+2 cj.v...@gmail.com wrote: >> >>> Say I have a TiddlyWiki running on node.js, and two people currently >>> viewing the same TiddlyWiki in their browsers. >>> >>> Say User 1 is editing a tiddler. I'm thinking it would be cool if User >>> 2 could know that User 1 is editing the tiddler (or that anybody is editing >>> the tiddler.) >>> >> >> I think most of the basics for this are in place and just needs some >> cobbling together. >> >> Note that the nodejs server does synchronize tiddlers from client to >> server, and from server to client. I believe the default refresh interval >> to get new changes from the server is about a minute if my memory serves me >> well. >> >> If User 1 is editing a tiddler, that creates a Draft tiddler that will >> get sync'ed to User 2's wiki. This would appear as a red draft indicator at >> the bottom of the screen, though it could easily be used to display a >> message on the tiddler in question as well. >> >> >>> And/or, it would be cool if User 2 can get a notification that a >>> particular tiddler has changed (because of User 1's editing), and that User >>> 2 should refresh the browser to get that change if he/she wants it. >>> >> >> The new tiddler should automatically get sync'ed from the server to User >> 2's wiki without need for a reload. >> >> Note that there is work underway on making the server to client sync >> instantaneous: >> - https://github.com/Jermolene/TiddlyWiki5/pull/5279 >> - https://github.com/Jermolene/TiddlyWiki5/pull/5882 >> >> Also, Joshua is doing some interesting work on implementing a real time >> multi-user feature. >> >> Regards, >> Saq >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/010763c6-d5f2-49e6-aa38-ffae0c856c81n%40googlegroups.com.