How to import (or export) tiddlers by script?

96 views
Skip to first unread message

Uwe

unread,
Aug 24, 2018, 6:58:27 AM8/24/18
to TiddlyWiki
Is it possible to import/export tiddlers (.tid or .json) at the command-line or with a script into a tiddlywiki?

Jed Carty

unread,
Aug 24, 2018, 7:21:49 AM8/24/18
to TiddlyWiki
If you are using node than you can just copy the tiddlers in the tiddlers folder for the wiki. In the repo there is the ginsu command which splits a wiki into tiddlers.

PMario

unread,
Aug 24, 2018, 7:31:30 AM8/24/18
to TiddlyWiki
Hi Uwe,

Everything, which is in the "tiddlers" directory of an edition, is automatically imported to a TW ... IF they are .tid files or .x + .x.meta or if a tiddlywiki.files file exists.


-m

Uwe

unread,
Aug 24, 2018, 2:42:14 PM8/24/18
to TiddlyWiki
No, I have no experience with node. I have a single tiddlywiki file on a usb-harddrive which many links to local files, i.e.:

[ext[010-Eigenständigkeitserklärung.pdf|./FW Abschlussarbeit Anforderungen/010-Eigenständigkeitserklärung.pdf]]

<embed src="./FW Abschlussarbeit Anforderungen/010-Eigenständigkeitserklärung.pdf" width="1200" height="1470"/>


I use it offline because of the unpredictable quality of my dsl-connection (a school ...). I'm searching for an alternative to drag & drop tiddlers, with a command.

Or is it recommended/possible/the only way to install node on the usb-harddrive?

Jed Carty

unread,
Aug 24, 2018, 3:53:21 PM8/24/18
to TiddlyWiki
You can use the single executable version of Bob on a USB drive. The executables are here https://github.com/OokTech/TW5-SingleExecutable/releases
Reply all
Reply to author
Forward
0 new messages