Added to TW-Scripts.

https://kookma.github.io/TW-Scripts/#Easy%20local%20saving%20with%20Python


On Sunday, December 29, 2019 at 1:30:42 AM UTC+3:30, UBi wrote:
>
> I will describe my use case on Linux, Windows should work in a similar 
> fashion.
>
> My TiddlyWiki files live in /home/ubi/TW, abbreviated ~/TW. There I placed 
> the script as twserver.py.
> For a first test, I started it manually in a terminal window:
>
> /usr/bin/python3 ~/TW/twserver.py
>>
>
> Then I pointed my browser to http://localhost:8080/. Status messages 
> started appearing in the terminal window.
>
> In the browser window a list of files and directories below ~/TW appeared.
>
> I opened one of my TW files, notes.html, and created a new Tiddler. The I 
> saved the changes.
> This
> 1) backed up ~/TW/notes.html html to 
> ~/TW/twBackups/notes.html.YYYYMMDDhhmmss, creating ~/TW/twBackups on the 
> fly.
> 2) saved the changes to ~/TW/notes.html.
>
> Now I have to find out how / where I can add a call to the script to my 
> startup or login procedures.
>
> HTH UBi
>
>
>

-- 
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/59f4ea4e-4ce9-4d8d-9f91-15ac4f9b8016%40googlegroups.com.

Reply via email to