A local server for TiddlyWiki5 that saves and backups wikis, inspired by tw5-server.rb.
tw5-server is written in Nim, provides features of:
[img[images/*.png]]
).Download binary executable for your operating system from github release, and run in your terminal (in Termux or other terminals if using Android).
Usage:
tw5server -a:localhost -p:8000 -d:dir -b:backup
-h this help
-c config file, json format, default tw5server.json
-a address, defautl "127.0.0.1"
-p port, default 8000
-d directory to serve, default `current dir`
-b backup directory, default `backup` in serve dir. `backup/` or `backup\\` for a backup path.
-l show log message
-m max size of uploaded file (MB), default 100
--autoclean if auto clean backups
Backups auto-clean strategy:
Keep all backups in current month, keep only the newest one for previous months.
Then go to http://localhost:8000 (or other address:port specified in command) in your web browser, and click on your wiki html file.