Gatha Gatha Studio Workspace 2.0.0, soon to be launched, has been entirely redeveloped using TiddlyWiki 5.3.5. It now enables plugin development directly in the browser using a single file TiddlyWiki, as well as under Node.js.
You can craft your plugin tiddlers in VScode, Notepad++ or any other code editor and deploy them with Gatha!
Not only does Gatha create packaged plugins and demos from the browser, but it also assembles a release folder containing the packaged plugins, source codes, and demo TiddlyWikis.
Gatha comes with a variety of Save and Export filters and templates, allowing the creation of different TiddlyWiki editions in moments!
Gatha has now become a TiddlyWiki Production Factory (TPF), capable of generating various TiddlyWiki editions with distinct appearances and functionalities.
Gatha caters to those interested in WikiText development with minimal or no knowledge of JavaScript.
One question / request for feature: would it be possible to have a function similare to your “export/plugin-folder” to export a set of plugins packaged as a plugin library?
Hi @Eskha,
It is in my todo list! I think @telumire has created a tool to export a plugin library from a single file html!
Now Gatha 2.0 can create a demo with several plugins/subplugins packaged at the same time and export into demowiki, but cannot export the plugin library yet!
Last time I have tried it, this was not working (no plugins displayed when opening the library from an other TW) and I was also not able to understand how to create / update the library in the host TW in a simple way.
Making a plugin library is in the todo list. By the way, if you have Node.js + TW, there is a plugin library edition that can create a plugin library from your plugins.
The first major pain point is lack of line numbers in tiddler edit mode. I can live with this when tiddlers contain general knowledge in form of plain text, but it becomes a problem with code, especially with wikitext, which can contain quite long lines due to multiple levels of indentation, length of filter expressions etc. An additional constraint is the limited screen size on a smartphone.
I know it’s possible to get line numbers in textarea element when editing tiddlers by installing the CodeMirror plugin. But this Gatha edition is a whole collection of plugins already. And it doesn’t bundle CodeMirror (for whatever reason). If I add it myself and it ends conflicting with Gatha, I’ll be back to the forum complaining anyway.
@Mohammad , my humble feature request is to have line numbers in tiddler edit mode by default in this Gatha edition. Ideally, not related to CodeMirror at all (which would increase the size of the single file wiki anyway, and quite much). Maybe switcheable on through a Gatha setting at least.
This is not related to Gatha. You need to install CodeMirror official plugin and turn on show line number
That’s right! You need to have your own IDE setup as you like, but you can see from the demo, what it have installed. By the way, I will add in documentation what are the recommended plugins.
It is beyond the scope of Gatha! But I can add a line in doc or recommend a bundle of configuration tiddlers.
My recommendation is to set up your development environment by installing the appropriate tools such as Node.js, TiddlyWiki, Gatha, etc. In the single-file version, add the necessary plugins. Then, utilize your own customized development tools. Gatha is only one of the tools and not a total solution. The primary purpose of Gatha is to enable users to develop plugins directly within the browser.
@Mohammad I did some more searches about CodeMirror and I found TW5CME — CodeMirror Editor Enhanced Framework for TiddlyWiki5 . Since Gatha is the “base” wiki, and has quite a few plugins coupled together, I tried to import things from TW5-CodeMirror-Enhanced into Gatha. But that wiki is, as well, a development centric “IDE” consisting of multiple plugins. Since I already had CodeMirror installed from official library in Gatha, I tried to import only CodeMirror Enhanced and CodeMirror Themes from TW5-CodeMirror-Enhanced demo wiki. I did not get wikitext syntax highlight in tiddler edit mode in Gatha after that. Maybe I need to add some more plugins from there. Maybe the problem is in the version mismatch: TW5-CodeMirror-Enhanced (and CodeMirror that it bundles) is for an older version of TiddlyWiki. If the planned Gatha docs could include some hints about getting the CodeMirror related functionality from TW5-CodeMirror-Enhanced into Gatha, it would be cool, because it’s exactly what I’m missing and I can’t easily figure a simple workflow about merging these two things.