[TW5] How to host a heavy (50 mb+) tiddlywiki on a personnal Webspace ?

204 views
Skip to first unread message

Guillaume Fahrni

unread,
Oct 20, 2016, 12:55:39 PM10/20/16
to tiddl...@googlegroups.com
Hi,

I am using Tiddlywiki for my medschool notes. Since I use it as a medical encyclopedia, there is hundreds of images in it.

The size of my tiddlywiki.html is now around 50mb. And there is still a lot of stuff I want to include, so it will grows even more. Loading it offline is no problem at all but you can imagine that when I upload the single .html file on my personal website, it takes ages to load it online.

I also tried the node.js version on my computer. I don't understand how it works exactly but I saw that every tiddler and images are separated files, wich seems great for a huge tiddlywiki.

Is there a way for me to upload on my website my tiddlywiki in this multi-files format ? so that the requested tiddlers are loaded only when clicked ?

I don't need to be able to edit it online or anything. Just working on it from my computer and then from time to time upload the whole bunch of folders and files on my website.


I searched a lot and didn't really find any understandable solutions. Can you help me with this problem ? 
 
thanks !

Mark S.

unread,
Oct 20, 2016, 1:19:21 PM10/20/16
to TiddlyWiki
I would make those images into external images that live in a subdirectory below your TW.  You can then either refer to the images using the [img...] links, or change image tiddlers into _canonical_uri tiddlers.

Without the images, TW should load a lot faster.

If you're comfortable with node.js, there are instructions at http://tiddlywiki.com/#ExternalImages for converting your existing image tiddlers into tiddlers using canonical URI and a separate folder. Be sure to make backups before trying any of that, of course!

Good luck!
Mark

Guillaume Fahrni

unread,
Oct 20, 2016, 2:11:45 PM10/20/16
to TiddlyWiki
Great Idea, it seems to work flawlessly. 
Reply all
Reply to author
Forward
0 new messages