Simple switch from single html file to Node.js - (newbie, how to)

212 views
Skip to first unread message

JWHoneycutt

unread,
Oct 24, 2017, 8:00:29 AM10/24/17
to TiddlyWiki
Question

I have several TW5.html single files (ver 5.1.14) on Dropbox accessed by a MacBook running MacOS 10.12.6 (Sierra) using the new TiddlyDesktop build 9 (thank you Jeremy).

Because one TW5.html file is for personal, one for work, one for exam study, one for learning/creating wikis, another for testing plugins and trying to keep track of what does what... - they start overlapping and I spend time searching for which TW5 file has what.

I think that if I convert all of them into a Node.js I will be better off.  I have gone through and given every tiddler (in all the files) a unique title so they don't overwrite each other when every tiddler becomes it's own file within a folder (aka. a directory of individual tiddlers).  I am trying to be consistent about tags and fields so there is less cleanup after the merge.

Does anyone have a set of directions (a link to a wiki or thread) that takes a relative newbie painlessly through the process of this conversion?  Prior instructions for things always trip me up when relative paths are referenced.

Thanks in advance.

JWHoneycutt

RichardWilliamSmith

unread,
Oct 24, 2017, 4:08:11 PM10/24/17
to TiddlyWiki
Do you mean to convert them to Node.js tiddlers? All you need to do is run the server and then drag your single-page wikis in to import them. 

Regards,
Richard

JWHoneycutt

unread,
Oct 24, 2017, 7:44:27 PM10/24/17
to TiddlyWiki

That sounds easy enough.  

Now when you say "run the server", do you mean TiddlyServer?


Or is there a simple "Node.js server" somewhere to run and save into a directory on my Dropbox ??  (you can see how the newbie questions come fast)

TonyM

unread,
Oct 24, 2017, 7:45:00 PM10/24/17
to TiddlyWiki
If you want more granular control you can use bundles (look for the plugin), or Export files filtered in the Advanced Search to JSON files, then drag and drop the JSON file on your NodeWiki or  open them with the import button (the Paper-clip).

Regards
Tony

Raymond McDowell

unread,
Oct 24, 2017, 8:07:59 PM10/24/17
to TiddlyWiki
As a non-technical user of TW I would suggest you follow the directions provided by Jeremy at http://tiddlywiki.com/static/Installing%2520TiddlyWiki%2520on%2520Node.js.html. They are simple and clear enough

I believe the server referred to is the server node.js creates for you

you can then go to http://127.0.0.1:8080/ in your browser 

simply drag and drop your wikis to the new node.js wiki.

RichardWilliamSmith

unread,
Oct 25, 2017, 12:17:24 AM10/25/17
to TiddlyWiki
I'll just add that the "best" way to get Node.js is also the simplest, which is just to download it from http://nodejs.org, rather than using a package manager or similar

RR
Reply all
Reply to author
Forward
0 new messages