13th June 2022 at 11:41am
TiddlyWiki on Node.js supports the following OS environment variables for specifying a delimited list of paths to search for plugins and editions:
TIDDLYWIKI_PLUGIN_PATH
- Search path for ordinary pluginsTIDDLYWIKI_THEME_PATH
- Search path for themesTIDDLYWIKI_LANGUAGE_PATH
- Search path for languagesTIDDLYWIKI_EDITION_PATH
- Search path for editions (used by the InitCommand)
The additional paths should each point to folders structured like the equivalent directories in the TiddlyWiki5 GitHub repository: the plugin, theme and language directories contain publisher/pluginname/<files>
while the edition directories contain editionname/<files>
For example:
export TIDDLYWIKI_PLUGIN_PATH=~/MyPluginStore
tiddlywiki mywiki --build index