I use this approach myself, but it is very unfriendly for non-technical users.
Here is my idea of how to create a script that is user friendly for non-technical users:
- In TiddlyWiki, have a tag that identifies tiddlers that contain static file rendering configurations, for example one configuration for HTML files, one for RSS files and one for JSON files. Each configuration tiddler would include:
- template to use
- tiddlers to render
- Have a script that is executed on push via Github Actions workflow that:
- extracts the information from the configuration tiddlers
- for each configuration tiddler, it invokes the tiddlywiki command to create the static files
- All static files are published to GitHub pages.
This way, a non-technical user can make all changes in their wiki, and push or save to Github and the static site will be automatically created. The user never has to configure anything in the script or actions.