Max size of single html wiki file?

296 views
Skip to first unread message

Jake

unread,
Jun 15, 2020, 4:23:54 AM6/15/20
to TiddlyWiki
A short question: What is the maximum size (in terms of megabytes) of a single html wiki file? I know it probably depends on your system RAM, but "in general", what is the reasonable maximum size to operate without lags, freezes, etc?

I searched the forum, but couldn't find the answer.

TW Tones

unread,
Jun 15, 2020, 4:49:45 AM6/15/20
to TiddlyWiki
Jake

I am afraid this is like the proverbial question how long is a piece of string. Not only that but how much do you need?.

without internal media tiddlywiki can hold more than an encyclopedia. With external media or server implementations and skinny tiddlers even more.

10 to 15mb single file wikis are common and wikis with more than 66000 tiddlers exist.

Tiddlywiki loads into memory and runs from there. A splash screen will give a large wiki a loading message but once loaded can be fast. However since tiddlywiki does what you ask you can easily ask too much as a result some performance hacks can improve speed even further.

Regards
Tony

Jake

unread,
Jun 15, 2020, 5:14:56 AM6/15/20
to TiddlyWiki
It's just I'm editing it for less than a month ang got from initial 2.2mb to 3mb. I'm keeping all the images in separate folders and don't import them in wiki to keep the size to the minimun. Of course I'm far from having size limitations so far, but would Tiddly Desktop for example handle wiki file properly if it reaches 150-200mb size? Just wondering for the future to figure out how soon I would better start splitting it into smaller separate themed wikis.

OGNSYA

unread,
Jun 15, 2020, 6:08:42 AM6/15/20
to TiddlyWiki
I had the same concern. What I did is create thousands of tiddlers (you can do this programatically), and then do performance tests. It's very impressive how TW can deal with huge amounts of content. I even added an entire 400-page book in 1 tiddler. It takes a bit longer to open than other tiddlers, of course (2-3 seconds). But still totally acceptable.

Of course, you can have more than one TW as well. For example, maybe you have your personal TW, but then a TW just for a specific large project.

TW Tones

unread,
Jun 15, 2020, 8:06:40 AM6/15/20
to TiddlyWiki
As OGNSYA says.

If you start to look at interwiki possibilities you will discover already many methods and opportunities.

I say assume tiddlywiki can do it and if you find it can't ask for help. Structure your content so you can find and export exactly what you want and you will be future proofed.

Tony

bimlas

unread,
Jun 15, 2020, 1:23:57 PM6/15/20
to TiddlyWiki
Jake,

A short question: What is the maximum size (in terms of megabytes) of a single html wiki file? I know it probably depends on your system RAM, but "in general", what is the reasonable maximum size to operate without lags, freezes, etc?

 I think you should avoid having your wiki larger than 25 MB if you want to open it on a smartphone too, because those devices have much more limited resources than a desktop PC.

Jake

unread,
Jun 17, 2020, 10:30:33 AM6/17/20
to TiddlyWiki

If you start to look at interwiki possibilities you will discover already many methods and opportunities.

I say assume tiddlywiki can do it and if you find it can't ask for help. Structure your content so you can find and export exactly what you want and you will be future proofed.

Tony


Btw, and where I can read about those "interwiki possibilites"? I looked here: https://tiddlywiki.com/#Working%20with%20TiddlyWiki, here: https://tiddlywiki.com/#Concepts, searched the forum but found nothing on the subject. Or is it just about using "permalinks" as external html's or smth? 

David Gifford

unread,
Jun 17, 2020, 10:43:11 AM6/17/20
to TiddlyWiki

Jake

unread,
Jun 18, 2020, 10:15:01 AM6/18/20
to tiddl...@googlegroups.com

Try https://kookma.github.io/TW-Searchwikis/

I looked it a bit, but I think it answers some other questions that are currently on my mind. Currently I don't want to drastically change the structure. For now I just want to know:

1. Is there a way to link to a tiddler in another wiki so that it would open INSIDE TiddlyDesktop. So that I can just easily "jump" between several wikis opened in TiddlyDesktop. That would save a lot of time to me. Currently if I use "permalink" - it just opens the corresponding wiki in browser, moreover not the corresponding Tiddler, but the wiki's "homepage" (maybe again because of Cyrillic naming, as I figured TiddlyDesktop hates those).

2. Is there a way to execute an application by link in TiddlyDesktop WITH certain parameters? For example if I want to open a link to catalogue not in Explorer, but in Total Commander. I need a working link with parameters, the same way as in a Windows shortcut, e.g. ""C:\Program Files\totalcmd\TOTALCMD64.EXE" c:\Windows" to open Windows catalogue directly at left panel. I tried smth like [[Open my cataloge|file:///"C:\Program Files\totalcmd\TOTALCMD64.EXE" c:\Windows]] (with different quotes combinations), but that obviously didn't work. Is there some syntax for that or is it impossible in principle (like having Unicode links work in TiddlyDesktop).

3. Is there an easy way to import all macro tiddlers from one wiki to another?

TW Tones

unread,
Jun 18, 2020, 6:54:32 PM6/18/20
to TiddlyWiki
Jake,

I am doing things similar to what you ask, I will review and provide more feedback soon. 

On Question 1
I am used to external links opening in my default browser, I have being happy with this but I can have a look at this. I don't think there is, however TiddlyDesktop was recently updated to allow command line opening of a specific wiki, so you may be able to provide an external link to a batch that opens tiddlydesk to that wiki, however someone reports the second execution of tiddlydesktop has a bug (Deserving resolution).

Have you tried using an iframe? I would test it, but I think I need to reboot to get tiddlydesktop working again.

On Question 2 
I need to revisit this, I have a memory of needing to code such parameters in a .bat/.cmd file and link to that instead to pass parameters However you can link to folders directly and they will open in Windows explorer. 

I have looked at generating such batch commands from tiddlywiki itself, it is plausible, I used print to Generic Text printer to export the would be batch file.

On question 3

Place <<tag $:/tags/Macro>> in a tiddler and you get a tagpill, You can see the macro tiddlers so tagged and drag the pill to another wiki and they will all come over. Or use you own tag.

Regards
Tony

Jake

unread,
Jun 18, 2020, 7:31:35 PM6/18/20
to TiddlyWiki


On Question 1
I am used to external links opening in my default browser, I have being happy with this but I can have a look at this. I don't think there is, however TiddlyDesktop was recently updated to allow command line opening of a specific wiki, so you may be able to provide an external link to a batch that opens tiddlydesk to that wiki, however someone reports the second execution of tiddlydesktop has a bug (Deserving resolution).

No-no, i definitely don't want several TDs launched. I just got rid of the mess that caused. :)
 
Have you tried using an iframe? I would test it, but I think I need to reboot to get tiddlydesktop working again.
 
Ermmmm... nooo... and I don't think I know how to implement it to what I want in this particular situation. :)
 
On Question 2 
I need to revisit this, I have a memory of needing to code such parameters in a .bat/.cmd file and link to that instead to pass parameters However you can link to folders directly and they will open in Windows explorer. 

I have looked at generating such batch commands from tiddlywiki itself, it is plausible, I used print to Generic Text printer to export the would be batch file.

I created very simple .bat and .cmd files like "test.bat" and "test.cmd" with "TOTALCMD64.EXE C:\Windows". And if executed in total commander, windows explorer or cmd - it works fine and does what it should. But if I make an external link to it [[Testing|file:///c:\Program Files\totalcmd\test.bat]] and click in TiddlyDesktop - nothing happens. Well, "almost nothing". I see it blinks with a black window (looks like it launches cmd), but after that nothing happes, it doesn't launch TOTALCMD64.EXE that is in .bat or .cmd.

 
On question 3

Place <<tag $:/tags/Macro>> in a tiddler and you get a tagpill, You can see the macro tiddlers so tagged and drag the pill to another wiki and they will all come over. Or use you own tag.

I knew this should be easy. Thanks! 

TW Tones

unread,
Jun 18, 2020, 11:52:03 PM6/18/20
to TiddlyWiki


No-no, i definitely don't want several TDs launched. I just got rid of the mess that caused. :)

This was just a warning, if you wanted to do this. But that is what I understood as "INSIDE TiddlyDesktop"
 
 
Have you tried using an iframe? I would test it, but I think I need to reboot to get tiddlydesktop working again.
 
Ermmmm... nooo... and I don't think I know how to implement it to what I want in this particular situation. :)

These worked for me from inside a TiddlyDesktop wiki
  • the first one is to a wiki served by TiddlyServer, 
  • the second a tiddlywiki on disk
  • The third to a bob served wiki, in fact to a specific tiddler.

<iframe src='http://127.0.4.81/Development/!SandboxWikis/InterpretingIT-Wiki.html' frameborder="0" width="1024"; height="600"></iframe>

<iframe src='C:\Data\TW5\Instances\BigData.html' frameborder="0" width="1024"; height="600"></iframe>

<iframe src='http://127.0.4.85:8081/Scratch#Toolbar%20select%20test' frameborder="0" width="1024"; height="600"></iframe>


Added value comes from this;
  • You can drag and drop between wikis in an iframe
  • I use width="100%" to fill the tiddler
  • f
 
 
On Question 2 

I created very simple .bat and .cmd files like "test.bat" and "test.cmd" with "TOTALCMD64.EXE C:\Windows". And if executed in total commander, windows explorer or cmd - it works fine and does what it should. But if I make an external link to it [[Testing|file:///c:\Program Files\totalcmd\test.bat]] and click in TiddlyDesktop - nothing happens. Well, "almost nothing". I see it blinks with a black window (looks like it launches cmd), but after that nothing happes, it doesn't launch TOTALCMD64.EXE that is in .bat or .cmd.


This launches a cmd file I made
<a title={{!!tooltip}} href="file:///C:\Data\batches\runnetworkcheck.cmd" > Go</a>

Note I am not using the internal link format, of [[name|link]] but the html a tag to reference an external address.

However I just tested this and it worked
[[Go|file:///C:\Data\batches\runnetworkcheck.cmd]]

Maybe something is misspelled?


I knew this should be easy. Thanks! 

Your Welcome
Tony

Jake

unread,
Jun 19, 2020, 5:10:35 AM6/19/20
to TiddlyWiki


No-no, i definitely don't want several TDs launched. I just got rid of the mess that caused. :)

This was just a warning, if you wanted to do this. But that is what I understood as "INSIDE TiddlyDesktop"

I meant I had no problems (so far) with several WINDOWS (i.e. wikis) of one TiddlyDesktop application, but when I accidentally launched second TiddlyDesktop application - I got problems...

I'll experiment with iframe and .cmd some more, but meanwhile just a little short question: do you know by any chance how to delete all the tiddlers with a certain tag (e.g. in case you moved them into a separate wiki)? To rename it, as I understood, you just need to create a tag tiddler and rename it - then the tag is updated (I still wonder if this is a default feature or a feature of a Relink Plugin). But if I want to delete all those?
Reply all
Reply to author
Forward
0 new messages