TiddlyWiki: How does TiddlyWiki save its changes to itself on the local file system?

2.8k Views Asked by At

How does TiddlyWiki save its changes to itself on the local file system? And how does TiddlyWiki keep the each tiddler's change until "Save Changes" is executed?

I want to understand the mechanisms. But I cannot figure it out from the source code.

Could you help insufficient-knowledge-of-JavaScript people like me?

Thank you,

1

There are 1 best solutions below

2
On

In general? Poorly. The TiddlyWiki web site has details, but in brief:

  • TiddlyWiki allows a wiki to be saved by generating a new HTML file in Javascript which represents the saved contents of the wiki, and presenting this to the user as a download. The user must explicitly replace the old file with the new downloaded copy for this to work properly.

  • The TiddlyFox extension for Firefox explicitly allows a TiddlyWiki HTML file to overwrite itself. Maybe. (The comments on the extension suggest this may not even work properly anymore.)