Hi Dave

Funnily enough, a couple of weeks ago I started work on just what you propose: 
the ability under Node.js to execute external tasks and pipe data in and out. 
It's early days, but the work can be seen here:

https://github.com/Jermolene/TiddlyWiki5/pull/3461

I'm currently working on extending it to support connecting to existing 
processes via sockets, adding better error support and the ability to trigger 
things from the browser. Eventually I'd like to support streaming so that one 
could have processes that emit tiddlers at asynchronous intervals.

Alternatively, you can read and write tiddlers to a running TW5 Node.js 
instance using the same HTTP API that the browser uses. See 
https://tiddlywiki.com/prerelease/#WebServer%20API

Best wishes

Jeremy

--
Jeremy Ruston
[email protected]
https://jermolene.com

> On 11 Oct 2018, at 23:16, Dave <[email protected]> wrote:
> 
> I understand that the node.js versions of TW (and the new "Bob" I think)have 
> file system access, but I was wondering if the regular variety has made any 
> progress towards this capability yet.  
> 
> The thing that made me think this might now be possible is I discovered the 
> "copy-to-clipboard" macro just now and thought "hey, that's pretty close to 
> interacting with the system files..."
> 
> 
> So, can we do this yet?
> a) have TW5 run a bash script
> b) be able to send info to a running TW5 instance *from* a bash script (I 
> doubt this one, but you never know...)
> c) (if b can't work) be able to read a text file on the file system (maybe in 
> a "safe" folder that a system root user could write to)
> 
> 
> Just wondering,
> -Dave
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e806a69e-ce0b-4334-87df-50a3ca3a43b8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/817AF023-CB51-4ED5-B672-12332E218E12%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to