Thanks Eric,

In my case, I entered the folder where the tiddlywiki.info exists and got 
the following output with this command:

$ tiddlywiki --build index
 syncer-server-filesystem: Dispatching 'save' task: $:/StoryList

After this command, I didn't find any HTML file that was generated. The 
original content of my *tiddlywiki.info* file was:

{
    "description": "Basic client-server edition",
    "plugins": [
        "tiddlywiki/tiddlyweb",
        "tiddlywiki/filesystem",
        "tiddlywiki/highlight"
    ],
    "themes": [
        "tiddlywiki/vanilla",
        "tiddlywiki/snowwhite"
    ],
    "build": {
        "index": [
            "--rendertiddler",
            "$:/plugins/tiddlywiki/tiddlyweb/save/offline",
            "index.html",
            "text/plain"
        ],
        "externalimages": [
            "--savetiddlers",
            "[is[image]]",
            "images",
            "--setfield",
            "[is[image]]",
            "_canonical_uri",
            "$:/core/templates/canonical-uri-external-image",
            "text/plain",
            "--setfield",
            "[is[image]]",
            "text",
            "",
            "text/plain",
            "--rendertiddler",
            "$:/plugins/tiddlywiki/tiddlyweb/save/offline",
            "externalimages.html",
            "text/plain"
        ],
        "static": [
            "--rendertiddler",
            "$:/core/templates/static.template.html",
            "static.html",
            "text/plain",
            "--rendertiddler",
            "$:/core/templates/alltiddlers.template.html",
            "alltiddlers.html",
            "text/plain",
            "--rendertiddlers",
            "[!is[system]]",
            "$:/core/templates/static.tiddler.html",
            "static",
            "text/plain",
            "--rendertiddler",
            "$:/core/templates/static.template.css",
            "static/static.css",
            "text/plain"
        ]
    }
}

I also tried making a backup of this *tiddlywiki.info* file and changing 
the original to be like the one of your example with just the* index* 
object inside *build*... But the result of the command *tiddlywiki --build 
index* seems to be the same. Am I missing some step?

On Wednesday, December 9, 2020 at 5:06:06 AM UTC-3 Eric Shulman wrote:

> On Tuesday, December 8, 2020 at 10:25:18 PM UTC-8 [email protected] 
> wrote:
>
>> I run its Node.js version... I need a way to generate the HTML file 
>> automatically instead of manually clicking on the "save changes" button... 
>> I've tried looking for the command-line options
>>
>
> The command-line option you want is "--build <target>", where the 
> <target> is defined in the tiddlywiki.info file.  For more info, see 
> https://tiddlywiki.com/#tiddlywiki.info%20Files.  Specifically, the 
> example tiddlywiki.info file, where it shows:
> "build": {
> "index": [
> "--rendertiddler","$:/core/save/all","index.html","text/plain"]
> }
>
> Thus, with the above definition, the command line would be:
> tiddlywiki --build index
>
> enjoy,
> -e
>

-- 
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/6d08df67-1e2e-4794-bd0e-668df37587afn%40googlegroups.com.

Reply via email to