Hi Chris, While I have tried many workflow for rapid plugin development, non of them is as flexible as TheDiveO TiddlywikiPluginSkeleton. See https://github.com/TheDiveO/TiddlyWikiPluginSkeleton.
You can fire a new plugin by shell command npm run develop and while you are developing your plugin or set of plugins in a single Tiddlywiki just create a release on the fly using the shell command npm run release You can have both node.js and single html, the packaged plugin and folder plugin all at once. I myself have set of PowerShell script to * update the kookma plugin library folder * update my local plugin folder on my work machine * create local backups, ... The bad news is TheDiveO has not update the tools for some time but they work with latest TW but some small hacks. Good luck Mohammad On Thursday, December 10, 2020 at 8:19:27 AM UTC+3:30 clutterstack wrote: > Thanks, Mark and Soren. > > I see I didn't actually specify that my home-grown plugins live in a > folder away from this wiki. Sorry. I want to rebuild using these files > every time, to have the latest changes. > > I think I abandoned savewikifolder mainly because it generates a new > tiddlywiki.info file in addition to putting my plugins in a subdirectory, > but that was before I concluded that I needed a shell function anyway. > Without testing, I guess that savewikifolder and a shell script to > move/delete some files would work, and might have advantages over my > current method of running the wiki through render with a tiddler filter, > a name filter, and a template. > > So far I have the impression that I'm doing something weird, so it's not a > one-liner, but it's possible, because there is just so much flexibility in > TiddlyWiki. > > Cheers, > Chris > On Wednesday, December 9, 2020 at 7:46:27 PM UTC-5 Mark S. wrote: > >> Take a look at https://tiddlywiki.com/#SaveWikiFolderCommand >> >> >> >> On Wednesday, December 9, 2020 at 3:49:08 PM UTC-8 clutterstack wrote: >> >>> Hi all, >>> >>> Is there a "right" way, using node, to take a standalone index.html >>> TiddlyWiki in a folder and break it into tiddlers that can then be used in >>> a new node.js wiki build? >>> >>> I am guessing that it's a matter of "why would you want to do that more >>> than occasionally? And occasionally, it's not too much trouble to export >>> your tiddlers to start a new node.js wiki." >>> >>> But I'm curious to know whether it's a matter instead of "of course; >>> there's a trivial way to accomplish this with a one-liner in the terminal." >>> >>> I have one wiki that I'm using in standalone mode, but I'm using it to >>> develop my plugins as I write in it. So I like to be able to go into VS >>> Code, tweak the canonical copy of the plugin, rebuild the html file, reload >>> in the browser, use the wiki a bit, and so on. >>> >>> I have a build target in this wiki's tiddlywiki.info, called >>> deconstruct, that contains an elaborate tiddler filter, and it seems to >>> be working for me so far, purging plugins but keeping plugin settings etc. >>> Then I have a shell function to copy the wiki to a backup file, deconstruct >>> and then rebuild it. >>> >>> I see the TiddlyWeb plugin makes a replacement tiddler for >>> $:/core/save/all that includes the right tiddlers to build an offline >>> wiki, but you have to have TiddlyWeb installed in the wiki. >>> >>> Any thoughts? >>> >>> Thanks, >>> Chris >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/82d7aa5e-bb71-41d0-b578-61cdf7b75802n%40googlegroups.com.

