Hi! Just go to tiddlywiki.com and look out for the "Generating Static Sites with TiddlyWiki" tiddler for full explanation.
in very short: use the --rendertiddlers command of tiddlywiki with the list of all wanted tiddlers as subsequent arguments of the command line. The problem is, this is done in an other process than the one serving as a web server currently run. Now, if you had the control of the server, you could launch a daemon to just do that on each new or updated file within the tiddlers directory. As for deleted and renamed tiddlers, it would require a simple rm command also launched by a similar mechanism. But of course, this is not possible for any hosting service like github. You would need an other server on your control that would just do that on a copy of the tiddlers files it would keep in sync. I would think that manually launching the update of the static site would be wiser and less energy-hungry. Regards, Le mardi 14 septembre 2021 à 19:35:59 UTC+2, rikagol...@gmail.com a écrit : > Hi All! > > I am using NodeJS right now to auto save Tiddlers. I love it! > > I expected that a static website (index.html) would get built > automatically on save, but that's not happening. What's an easy way to > automatically build a static website on each autosave? (I'm thinking ahead > to when I will host my site on Github). > > Thanks! > > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a22e777a-93e9-43ca-9c26-0132be9a407an%40googlegroups.com.