Tiddlywiki Node.js from file (not wikifolder)

59 views
Skip to first unread message

Matthew Lauber

unread,
Aug 18, 2016, 6:37:56 PM8/18/16
to TiddlyWiki
All, is there any way to startup a nodejs instance of tiddlywiki where it serves tiddlers from a file, rather than a folder?  

Alternatively, is there any way to explode a file into a wikifolder?

I'm working on a project I call TiddlyServer, which is essentially using nodejs to run a local webserver (as a desktop app) and serve multiple tiddlywikis at different prefixes.  I've got it working for TiddlyFolders, but I can't find a way to serve tiddlers from html files.

Eucaly J

unread,
Aug 18, 2016, 7:30:41 PM8/18/16
to TiddlyWiki
Below is my approach,

Make node.js to serve an empty tiddler folder
Open that empty wiki in browser
Drag-Drop html file to import the content and save (to server)

Please check more info from below
https://github.com/Jermolene/TiddlyWiki5/pull/2541

Matthew Lauber

unread,
Aug 18, 2016, 10:00:29 PM8/18/16
to TiddlyWiki
Thanks for the suggestion. I'm hoping to find some way of doing this programmatically.

Eucaly J

unread,
Aug 19, 2016, 1:13:51 AM8/19/16
to TiddlyWiki
Maybe the below commands (I did not try that yet).

--load
--savetiddlers

http://tiddlywiki.com/#Using%20TiddlyWiki%20on%20Node.js
Reply all
Reply to author
Forward
0 new messages