I find @valpackett’s tiddlypwa (consider supporting her on Patreon) extremely useful, and I believe many TiddlyWiki users would benefit from it as well. While the initial setup can be a hurdle, once it’s done the experience is excellent.
The biggest barrier is setting up the tiddlypwa server. To help encourage wider adoption, I’m hosting an experimental public instance of tiddlypwa for the community. If you’re interested in trying it out, please let me know here on TWtalk. As the administrator of this instance, I will create five wiki slots for you and share the corresponding access tokens.
I can send the tokens via a private TWtalk message, or if you’d prefer something more private and secure through a service like https://plaintext.world.
how to use it?
Once you have a token from me, perform one or more of following procedures.
There are many steps to follow, but the payoff is worth it!
Steps to create a new wiki
- go to https://tiddly.packett.cool/#UploadApp
- in the URL field, enter
https://tiddlypwa.taild603.ts.net/tid.dly - in the token field, paste one of the tokens I provided to you
- click the upload button
- on successful upload, an app url will appear (something like https://tiddlypwa.taild603.ts.net/xxxxxxxxxxxxxxxxxxxxx/app.html). Click on this link to visit your new wiki.
- in the sync token field enter the same token used in step 3
- in the password field enter a password you want to use (losing access to this password will cause you to lose your access to all your tiddler data!)
- enjoy your wiki!
Steps to convert a pre-existing single-html file wiki
- follow steps 1-7 from the above steps to create a new wiki
- drag and drop the html file of the pre-existing wiki onto your tiddlypwa wiki page to import its plugins and contents. Click the import button
- hit Ctrl-S (or click the save button) to bring up the tiddlypwa save dialog
- click the “upload the app wiki button” and wait for a message like: “Uploaded: * https://tiddlypwa.taild603.ts.net/xxxxxxxxxxxxxxxxxxxxx/app.html — current page”
- refresh the browser page
- enjoy your wiki!
Steps to access your wiki from another device
The other device will need these 3 pieces of information
- the app wiki url (i.e. shaped like this: https://tiddlypwa.taild603.ts.net/xxxxxxxxxxxxxxxxxxxxx/app.html)
- the full token (this can be found in Control Panel => Storage and Sync tab => Synchronization tab)
- your wiki password (you’d better know this! Otherwise you won’t be able to setup the other device)
Follow these steps:
- Visit the app wiki url in the browser of your other device
- in the sync token field enter/paste the token
- in the password field enter the wiki password
password? token? what do these mean and how must they be cared for?
password
- all tiddlers not in the app wiki are encrypted using this password
- if you permanently forget or lose this password, then all your tiddler data will be unrecoverable
- if you decide to use the tiddlypwa “remember it” feature to save the password in the local storage of your device, it is still important not to forget it.
- you will need this password (and the token) every time you setup access to this wiki on a new browser or new device
- recommend you decline your browser’s offer to save the password. Use an external password manager instead
- frequently export a backup! This can be done by clicking the save button, then in the “Export single file” tab, click the “save this wiki without TiddlyPWA”
- if your password leaks to someone who also has the token for your wiki, then they will have full read/write access.
token
- if you lose access to the token, but still have access to your wiki, you can find it at Control Panel => Storage and Sync tab => Synchronization tab
- if the token leaks to someone else before you claim the wiki slot with the procedure in how to use it?, then that person will be able to claim the slot for themselves and you won’t be able to use it.
- if the token leaks to someone else after you already claimed the wiki slot, that person will still be unable to access your tiddler data because access is protected by your password
- the tiddlypwa admin (me) has access to the token, but the admin also has access to the underlying sqlite database which is just as powerful as having access to the tokens. However, the tiddlers in that database are encrypted, so the admin is still locked out from accessing the data.
what is tiddlypwa good for and not good for?
Good:
- read/write access across multiple devices
- This works even for collaborating with multiple people (though I’m not sure how well it will work for multiple people to simultaneously edit the same tiddler)
- offline access - all changes will be synced to and from the server after coming back online
Not good:
- publicly sharing a wiki
- giving access to a wiki is all or nothing read/write. If you have access to read, then you can also write
- giving access to the wiki involves sharing url, token, and wiki password.
- though it could be a good solution for privately authoring the wiki and then publishing it to some other public server
- storing super-sensitive information. Everything is encrypted, but who knows (see these encryption details)?
