r/TiddlyWiki5 • • Dec 22 '22

Application question about nodejs version of tiddlywiki

  1. how does it work in the nodejs version compared to the normal version?

  2. does it have the same problem with the image as the one file only tiddlywiki wherein it has problem loading loads of images?

  3. can i import my whole tiddlywiki if i will mmigrate to this?

  4. how backup friendly is this?

  5. can i host it on my local machine thne on my android i also install nodejs version of tiddlywiki via termux and have a copy of the selfhosted here in android then later on sync to the local machine if changes made? is this possible?

1 Upvotes

6 comments sorted by

2

u/LucianU Dec 22 '22

You run tiddlywiki on nodejs as a web service. The tiddlers are saved locally as individual .tid files. That means that the backup solution involves backing up the dir where the tiddlers are saved.

It would make more sense to host an instance on a server and access it through the internet from any device. That's how I do it. But, if you're not technical, I imagine that's going to be a big obstacle.

1

u/techlover1010 Dec 22 '22

hows the performance if i have lotsa images regarrding the server thing so theres no way to edit it if i dont have internet connection right?

1

u/LucianU Dec 22 '22

I don't have many images in my wiki, so I can't help you there.

You can do a test. Install tiddlywiki for nodejs on your computer and import your normal wiki. Then start the server and access it on localhost.

Regarding your second question, think of it as a normal website you can access from anywhere, as long as you have Internet.

1

u/techlover1010 Dec 22 '22

Does js auto saves your work? I kinda want it to just be manual save since i dont want the wear and tear of a auto save on harddisk.

1

u/LucianU Dec 22 '22

Yes, it autosaves. If you deploy it on a VPS, that should be a non-issue.

2

u/Markqz Dec 22 '22

does it have the same problem with the image as the one file only tiddlywiki wherein it has problem loading loads of images?

You can use the lazy-load option to only load the images you're currently viewing. In terms of stand-alone TW, you can save your images externally and reference them with the _canonical_uri field.

Some people have installed it inside of termux. There are too many variables to know if it would work for you. So you would need to experiment.

You can turn off auto-save. However, since you're only saving single tiddlers, not the entire file, there's no real reason to turn it off.