Does it _all_ have to be in one html file?

182 views
Skip to first unread message

Holly Hudson

unread,
May 30, 2020, 9:34:41 AM5/30/20
to TiddlyWiki
I've used vi for decades, so now it's my most efficient means of editing.  I would love to be able to have all my tiddlers as separate, local, markdown files so that I can edit them in a terminal when I find myself swearing at the textboxes.  It also gives me a feeling of future-proof-ness and portability if I know I can easily move the material into a different format if I want, which one big long html file doesn't really do.

I've figured out how to include markdown files, but once they're in that's it, the external file doesn't seem to be referenced again, so I can't round-trip the editing process. (Ie., if I edit in TiddlyDesktop, the markdown file doesn't get updated.  If I update the markdown file, TiddlyDesktop doesn't get updated.)

Is there a plugin or something that makes what I want possible?

h0p3

unread,
May 30, 2020, 1:02:31 PM5/30/20
to tiddl...@googlegroups.com
I'm an intermediate-level computer user (so take my opinion with a grain of salt), but I am a huge fan of TW5-Bob; it's amazing, brilliant, and there's no substitute. You'll have your separate files and far more. It allows you to fairly seamlessly modify and sync files within your browser and outside it. Of course, there are many cases in which traversing and using your wiki is best done inside the browser, but there are cases in which it is best done outside too. Bob is a bridge. I'm sure a terminal text editor poweruser will find very special ways to interact with TW through Bob. 

Joshua Fontany

unread,
May 30, 2020, 6:54:06 PM5/30/20
to TiddlyWiki
I also suggest Bob (a plugin used when running Node.js that makes one of your wikis a "master server" that lets you serve other wikis), or Bob.exe (a standalone bundle of the same).

Source: https://github.com/OokTech/TW5-BobEXE

Best,
Joshua Fontany

amreus

unread,
May 31, 2020, 12:13:48 PM5/31/20
to TiddlyWiki
From what I understand, syncing individual .tid files from the filesystem to the web browser is not supported due to some technical issues. 

However if you run a local node.exe server, tiddlers editied in the browser will be automatically synced to the filesystem where you can edit them using any editor.

If you want to edit the .tid files, you should stop the server, edit the files, then restart the server to view them in the browser.


The following example command line is right from the above link where `mywiki` is the name of your wiki folder:

tiddlywiki +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb mywiki --listen



amreus

unread,
May 31, 2020, 12:29:51 PM5/31/20
to TiddlyWiki
Ok I wasn't familiar with Bob, but after briefly checking it out it's very easy and syncs both directions so definitely worth checking out.
Reply all
Reply to author
Forward
0 new messages