I have a single HTML file template empty TiddlyWiki edition with a couple of plugin libraries installed (additionally to the official plugin library). It contains a README tiddler which gets displayed at startup and contains a list of plugins that need to be installed. A list not as in “TiddlyWiki list field”, just a plain text reference for me the human, something like
$:/plugins/foo
$:/plugins/bar
...
in its text field.
I use it to install those plugins manually. This does not scale very well for many plugins (for example think CodeMirror with its whole kindergarten of subplugins) - it’s a lot of manual work.
Is there a way to fully automate this process? Something like:
- A single file wiki is opened
- At startup, it checks for a tiddler (the
README
tiddler in the example above, but can be any predefined special name), splits its text field into lines, which are plugin names, then finds the plugins in the available plugin libraries of the wiki and installs them. - If there are updates for installed plugins, install the updates as well.
- After that I would only need to manually save the wiki with all the plugins installed and reopen it.
Of course I can do the above workflow once manually, then save the wiki with the plugins already installed, and use it as template. There’s at least one obvious problem with this approach - it won’t track plugin updates in plugin libraries, so whenever any needed plugin would get a new release in the library, I would have to manually upgrade it anyway.