[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-21 Thread Hans Wobbe
Based on a cursory review of scenario, I think it can be generalized to Real Estate applications. This opinion is based on my discovery that Agents frequently share their listings with other Agents ( even ones from competing Brokerages ). It could be even more general if a Seller and several

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-21 Thread Charlie Veniot
Brewed idea has fermented into a different prototyping project. *Scenario*: Say I have two sales reps, each with his/her own TiddlyWiki running on node.js They each maintain their own customer lists, but I want each sales rep to have view-only privs on the other sales rep's customer list. So

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-20 Thread TW Tones
If node is set to 0.0.0.0 the IP address becomes server on the LAN at the current (or all) IP address(s) of the device. On windows you can actually configure additional IP addresses on your desktop, and then rather than use 0.0.0.0 use the specific IP address. I have done this on bob but got

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread Stobot
Ah! I knew it must be something easy - thanks for that! Lots to read up on :) On Wednesday, August 18, 2021 at 11:52:06 AM UTC-4 PMario wrote: > HI, > The TiddlyWiki --listen command has a lot of additional parameters. See: > https://tiddlywiki.com/#ListenCommand > > tiddlywiki "path/to/wiki"

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
HI, The TiddlyWiki --listen command has a lot of additional parameters. See: https://tiddlywiki.com/#ListenCommand tiddlywiki "path/to/wiki" --listen host=10.1.x.x should do the trick. -m On Wednesday, August 18, 2021 at 5:34:19 PM UTC+2 Stobot wrote: > Thanks for the continued

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread Stobot
Thanks for the continued conversation @pmario, So I'm aware of my IP and am fine with the ip:port need (as that's how it's done in BOB also), but the piece I'm stuck on is how to get node to serve it on my local IP address (though this is really not my area of expertise, so could be way

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
On Wednesday, August 18, 2021 at 4:45:31 PM UTC+2 PMario wrote: If you do have admin rights on your PC you can also define a "local domain > name" in the windows hosts file, if you have a fixed IP address. > eg: http://.lan:8080 .. > Oh ... I did forget. If others also need to know the local

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
On Wednesday, August 18, 2021 at 4:01:11 PM UTC+2 Stobot wrote: I start node each morning and it gives me the standard Serving on > http://127.0.0.1:8080 message, so I'd have to figure out how to get that > to a 10.1.X.X situation for LAN usage to multi-serve right? In BOB there's > some

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
In powershell you can try ipconfig or Get-NetIPAddress | Format-Table Your PC address will be the one with 10.1.x.x in it. Mainly the one which comes form a Dhcp server -m On Wednesday, August 18, 2021 at 4:22:16 PM UTC+2 Stobot wrote: > Windows 10 > > On Wednesday, August 18, 2021 at

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread Stobot
Windows 10 On Wednesday, August 18, 2021 at 10:16:39 AM UTC-4 PMario wrote: > Hi, > Which OS do you have? > -mario > > > -- 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

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
Hi, Which OS do you have? -mario -- 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

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread Stobot
Interesting - I greatly appreciate the input/detail @pmario! In many (though not all) of my intended use cases, restricting others to *only add* operations (no changes) via UI trickery would be doable. My use-cases usually involve *me* setting something up a list of business decisions for

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
Followup, On Wednesday, August 18, 2021 at 2:03:53 PM UTC+2 PMario wrote: ... > The function is called "syncFromServer". So if you open 1 wiki in 2 tabs > of a browser you will informed, if someone opened a tiddler. A _red_ "draft > of ... by " button will be shown in the bottom of the wiki

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
On Wednesday, August 18, 2021 at 1:30:01 PM UTC+2 Stobot wrote: > Ok, think my post went somewhere else (sorry if someone got that directly) It did land in my PM inbox. .. No problem :) > Newbie question for Charlie or others: How did you get Node.js version to > serve to multiple people? I

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread Stobot
Ok, think my post went somewhere else (sorry if someone got that directly) Newbie question for Charlie or others: How did you get Node.js version to serve to multiple people? I use Node.js for my personal stuff and BOB for multi-user but I have a lot of issues with BOB during

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-18 Thread PMario
On Wednesday, August 18, 2021 at 4:27:18 AM UTC+2 joshua@gmail.com wrote: 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

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Joshua Fontany
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

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Charlie Veniot
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

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread PMario
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

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Saq Imtiaz
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

Re: [tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Finn Lancaster
Sounds good! You’ll probably need to add code to the TW Node server file, and can handle the rest through a plug-in. I have a few NodeJS projects that may help you, if you’d like, too, I can send you their links. If we are going to collaborate for this, it’s probably easiest to make a GitHub repo

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Charlie Veniot
Good stuff for later. Thank-you ! I'm still very new to node.js and TiddlyWiki on node.js (let's say "white belt") and I consider myself maybe an "orange belt" re TiddlyWiki. Just to prototype, I'm going to go with some old-school thinking, just as a way to familiarise myself (a bit of a

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Finn Lancaster
I'm not sure how familiar you are with Node/Socket.io, so if this is a bit confusing for you, just ask me for clarification. I am also always willing to collaborate on great ideas, if you would like to build something like this and need help, I'd be happy to help via GitHub Collaboration! On

[tw5] Re: A brewing idea: TiddlyWiki on node.js: check for changes

2021-08-17 Thread Finn Lancaster
Charlie, One way to do this (since you are using node), is to implement Socket.io into the Wiki. Each time the edit button is pressed, tell Socket.io via socket.emit to in turn socket.emit to each client (the first socket.emit would contain JSON containing the name of the editor and the