I would like to revisit the topic of a common community plugin library. I have found these two discussions:
They have been discontinued a long time ago, without any optimal solution. Please let know or move this post if it should have been posted in one of those threads instead.
Sorry for the long wall of text below. I tried to collect every important thought from the above linked threads for anyone new to the topic. Many thanks to all who participated in those threads and offered helpful ideas/solutions!
What I would like
As a user, especially one new to TW, I would expect all community plugins to be available from the plugins menu in control panel. For example, after opening the āGet more pluginsā modal, there would be two tabs, the first one with official plugins, and a second one with community plugins. Or alternatively, have a link somewhere in plugins menu that links to a searchable collection of community plugins.
How to do it
These are just my assumptions, I donāt know the underlying mechanism good enough to say if these are good solutions.
For plugins with existing libraries
Some plugin creators maintain their own plugin libraries. Shouldnāt it be possible to collect URLs of those libraries, pull data from them, and generate one common library? I imagine a similar scenario to how links.tiddlywiki.org works: collects data from given URLs, restructures them, and presents in an easy-to-use way.
For plugins without existing libraries
Some plugin creators do not maintain their own plugin libraries, but they almost always have a demo wiki with their plugins. These plugins in the demo wiki contained structured data. Would it be possible to construct a library, knowing the URL of the demo and the creatorās username (the one that comes after $:/plugins/
)? In this case, anyone, not only the plugin creator, could add the URL/creator to the database, to have these plugins listed in the community library.
Additional thoughts
What is preventing us from having such an integrated community plugin library?
Are there security concerns to such an approach? Would it be less secure than the current model of security through obscurity (you wonāt install a malicious plugin if you donāt know it exists)? The step of adding a library or demo wiki to the database would need approval, just as it is with links.tiddlywiki.org, at least thatās something.
Would the current plugin library mechanism be inefficient for a big library collecting all community plugins? This could be addressed by linking to a searchable catalogue of community plugins (possibly links.tiddlywiki.org).
There were attempts to address this problem, e.g. the thread by @Mohammad linked above or plugins.tiddlyhost.com by @TW_Tones attempting to collect existing plugin libraries in one place, and while they are very helpful, I think this is still not quite what we should aim for.
Another discussed partial solution was to somehow include the library link in the plugin itself (so that installing one plugin also adds this creatorās library). That could help in some aspects, but itās not a complete solution to the problem.
Using links.tiddlywiki.org was discussed a lot. Itās already great and improves finding plugins a lot. It obviously cannot solve the lack of a library (to track updates and install directly in TW), but at least helps finding the existing ones. I think that it needs more exposure in the context of plugins (on tiddlywiki.com, maybe a link in the plugins menu in TW itself?), because it is the best solution we have right now. Maybe adding plugins to it could be somehow simplified/automated, since the existing libraries and demo pages already contain structured data?