TW-Scripts solution to running webdav https://kookma.github.io/TW-Scripts/#Easy%20Local%20Saving%20with%20WebDav
Easy Local Saving with WebDav Mohammad <https://kookma.github.io/TW-Scripts/#Mohammad>16th December 2019 at 2:59pm solution *Ref*: Joost <https://groups.google.com/d/msg/tiddlywiki/I_mc1Jycfhc/WIiOYZlEAwAJ> *Keywords*: saving single-file webdav The hacdias/webdav <https://github.com/hacdias/webdav/> is a simple Go WebDAV server. It can be used to save Tiddlywiki single html file using any web browser (firefox, chrome, edge) even old browser like IE. The webdav command line interface is really easy to use so you can easily create a WebDAV server for your own user. How to use 1. Simply download the suitable executable from https://github.com/hacdias/webdav/releases - for example for Windows 64bit downlaod windows-amd64-webdav.zip 2. Unzip the file in the above step in your folder of choice - For demonstration purpose, C:\TW\Webdav is used here. This folder called *webdav root folder*. 3. Create a folder in the root of webdav to put your wiki files there - In this demo it is C:\TW\Webdav\wikis - Copy some wiki files to wiki folder. For demo purpose here test.html has been put in this folder 4. Create a configuration file in webdav root folder to setup the server as you like. - For demonstration purpose C:\TW\Webdav\webday.ymal is used here which is contains modify: true address: 127.0.0.1 port: 8080 tls: false cert: cert.pem key: key.pem users: - username: admin password: admin scope: ./wikis 5. Create a shell script as below to fire up your server. - For demonstration it is called here C:\TW\Webdav\startServer.cmd containing the below script REM Start WebDav Server webdav.exe -c webdav.yaml 6. Fire up your server by run C:\TW\Webdav\startServer.cmd script (e.g double click on it) 7. Go to your browser of choice and in address bar type http://localhost:8080/yourwiki.html and login with "admin" and "admin" (or with the credentials you used in your configuration file). - In this demo *test.html* is used so in address bar type: http://localhost:8080/test.html Remarks - The wiki folder can have any number of sub folders like - C:\TW\Webdav\wikis\work - C:\TW\Webdav\wikis\personal - There is no need for shell script and one can fire up durectly from the Windows powershell or command line e.g - webdav.exe -c webdav.yaml - The webdav server allows to add any number of users each with different wiki folder, credential and access level References - https://github.com/hacdias/webdav - https://tiddlywiki.com/#Saving%20via%20WebDAV -- 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/1cd6ae47-f1b5-4b3a-a1c9-1baa6f9e8176%40googlegroups.com.

