Newbie - Easy Way to Install Plugins?

111 views
Skip to first unread message

DAT

unread,
Sep 15, 2020, 2:05:12 PM9/15/20
to TiddlyWiki
Is there an easy way to configure TW so I can have a new TW created which has the plugins I want installed?

Tks
Dave

emilyk...@gmail.com

unread,
Sep 15, 2020, 2:22:02 PM9/15/20
to TiddlyWiki
Hi DAT,

Welcome to the TW community! I haven't been on here for a while, but I believe the easiest way is to drag the plugins to your wiki. It works for me when I already have a tiddler open.

Emily

talha131

unread,
Sep 15, 2020, 2:48:06 PM9/15/20
to TiddlyWiki
If I understand you correctly, then you can download a fresh copy of TW, install your plugins and then save it as your master copy.

Then onwards, you can create your new wikis on top of the master copy.

Another way is to take a backup of your plugins and settings and export them as JSON. Keep the JSON safe. Import the JSON in all your new wikis.

A recent answer discusses this JSON method

https://groups.google.com/d/msg/tiddlywiki/p-4e3f8jOGI/ZSQ-R9NLAgAJ

DAT

unread,
Sep 15, 2020, 3:18:06 PM9/15/20
to TiddlyWiki
Thanks for the reply. Both comments make sense. Thanks for the JSON method link.  
I was looking for more of an end user solution where one selects the plugins from a list then executes an install. 

talha131

unread,
Sep 15, 2020, 4:25:03 PM9/15/20
to TiddlyWiki

where one selects the plugins from a list then executes an install.

To the best of my knowledge, it is possible, but the solution is not straightforward.

  1. Install NodeJS
  2. Install TiddlyWiki NPM
  3. Add your required plugins to TiddlyWiki NPM installation
  4. Enable the plugins in tiddlywiki.info file

Once done, you can create new copies of TW using


tiddlywiki mynewwiki --build index

All the index.html produced using the above command will have your required plugins already available.

Step three is difficult to do, especially if you are new to TW.

But if you pull it off, then you simply have to enable and disable the plugins in tiddlywiki.info to get a TW of your choosing.

Birthe C

unread,
Sep 15, 2020, 5:04:53 PM9/15/20
to TiddlyWiki
What you describe is more like installing from a plugin library. That depends on the plugins you are using. Plugin library is only available for some plugins.

Birthe

TW Tones

unread,
Sep 15, 2020, 7:56:25 PM9/15/20
to TiddlyWiki
Following on from Birthe, 
you can build your own plugin libraries, or add others libraries to your wiki, try installing a plugin at my playground wiki here https://anthonymuscio.github.io/playground.html

control panel > Plugins > Get more Plugins, you will see 4 libraries available. Are the plugins you want them to be able to store there?

Another approach is in your standard wiki install all the possible plugins the user may want but DISABLE them, however I think some are still partially active even when disabled, the user could selectively enable them

I have other tricks as well, here is the best one?
  • Drag and drop all the plugins to an empty.html
  • Rather than import them rename the import tiddler from $:/import to say "MyPackage"
  • Now drop MyPackage on a wiki and import it
  • Now open MyPackage and see what happens (you can select which plugins to import)
    • You could leave this in your standard wiki
You may want to do something to make a copy of MyPackage before "importing it" because it will be deleted after import.

Regards
Tones

Birthe C

unread,
Sep 15, 2020, 8:28:19 PM9/15/20
to TiddlyWiki
TW Tones,

This goodie from your bag of tricks has been of enormous benefit for me. I think most of us have our favourites that we want to reuse.

Birthe
Reply all
Reply to author
Forward
0 new messages