How to create a shared TiddlyWiki accessible from multiple machines?

271 views
Skip to first unread message

Matthew Pennell

unread,
Mar 31, 2021, 10:11:32 AM3/31/21
to TiddlyWiki
I want to create a wiki that I can use from work and at home. Because it will have work stuff on, it needs to be stored somewhere private.

I don't want to use Dropbox because it's not technically approved by my employer for work use. And I don't want to use Google Drive because I have a different Google account for work, so don't want to have to switch accounts.

I thought a private GitHub repo would be the answer, but I can't figure out how that works across multiple machines - do I check out the repo on each machine and work on the local file, pulling the latest version at the start of each day?

What is the current best method for a private, secure page I can use on multiple machines?

Mark S.

unread,
Mar 31, 2021, 10:55:59 AM3/31/21
to TiddlyWiki
It's a bit of needle to thread, but checkout Github web pages. Github allows you to set up a repository where it will serve up your file, or to designate a branch of a repository from which it will serve up your file.

Once you have it set up, you can load your page like a web page from github, and then save back to github. So the main thing you need is an always-on connection. Also, you will probably need some way of transferring to yourself the token (not password) that you will want when saving from your work computer. Make your tiddlywiki encrypted, and it should be reasonably private.

So, assuming you consistently save back to GH, you will just go to work and load the page on GH like any other web page, enter your password, and have the same file you've been working on. Back at home, repeat.




Charlie Veniot

unread,
Mar 31, 2021, 12:04:32 PM3/31/21
to TiddlyWiki
With Google Drive, would it be okay for the TiddlyWiki to be stored on (and owned by) your personal Google Account and shared with your work account?

Matthew Pennell

unread,
Mar 31, 2021, 12:15:03 PM3/31/21
to TiddlyWiki
That could work, I guess - I assume it just works the same as the normal "share my Drive stuff with other people" access?

Charlie Veniot

unread,
Mar 31, 2021, 12:26:17 PM3/31/21
to TiddlyWiki
I'm thinking that would be the best no fuss no muss way to go.  If you give that a spin, let us know what you think/find !

If you are sharing with other people, should work A-1 if shared with other folk strictly with viewing access.  Things might get weird if you give other folk edit access.

Matthew Pennell

unread,
Mar 31, 2021, 1:11:58 PM3/31/21
to TiddlyWiki
Didn't work - sharing the file works fine, but my employer's Google Suite setup blocked me from installing Tiddly Drive to open the file. Fair enough really, I wasn't too keen on passing all the data through some unknown person's GitHub service.

I'll try the GitHub Pages solution instead. :)

Charlie Veniot

unread,
Mar 31, 2021, 1:48:00 PM3/31/21
to TiddlyWiki
That's a good point.  Thanks for taking the time to mention it !

Multi-access-point TiddlyWiki, secure for you/me/him/her, and not knee-capped by imposed "third-party(?)" environmental constraints.  That is some wildly interesting stuff.

Matthew Pennell

unread,
Mar 31, 2021, 3:00:50 PM3/31/21
to TiddlyWiki
More roadblocks - I tried setting it up in a private GitHub repo, with local checkouts on both machines. Works fine on my home PC with GitHub credentials in my settings, but the checkout on my work laptop refuses to save back to GitHub (401 response). I don't think it can be the stored credentials, since they are the same on both instances of the wiki, and I'm not on the VPN - perhaps it's some sort of local proxy setting getting in the way somehow?

Since most of the other save options rely on being able to install and run arbitrary stuff on your machine, I guess I'm restricted to the Google Pages plus TW encryption option. :/

Mark S.

unread,
Mar 31, 2021, 4:23:02 PM3/31/21
to TiddlyWiki
Be sure to type and save a path on your work machine even if it looks like it's already filled in. GH can be ornery when you first set up,  so maybe give it one more try, watching for things like an accidental space on the end of the repository name. It's usually something like that when people have trouble setting up. Also, once you have it set up, consider setting your save to "manual" and only save as needed -- GH doesn't like rapid-fire saves. If you can use GH at all at work, then I kind of doubt it's a proxy problem.

Re GDrive, like you, I worry about my info going through someone else's site, no matter how benign. 

Mat

unread,
Mar 31, 2021, 4:30:07 PM3/31/21
to TiddlyWiki

Joshua Fontany

unread,
Mar 31, 2021, 8:51:21 PM3/31/21
to TiddlyWiki

At this point, Tiddlywiki-on-Fission is the easiest way to have a "single-file wiki" sync to multiple machines and be editable/saveable back tot he "same space".

(Behind the scenes, Fission actually generates a unique ID for each version of the document, and updates the "file location" to point to the most recent unique ID, and your private folders are encrypted, while you public folders are publicly available at your NAME.files.fission.name/p/PATH/TO/INDEX/html).

https://tiddlywiki.fission.app/

Your first AUTH will help you setup your account. Go back to the https://tiddlywiki.fission.app/ address if it doesn't spin you back there after creating your account, and re-authorize. This is NEW STUFF. :)

Best,
Joshua F

Boris Mann

unread,
Apr 1, 2021, 12:21:41 AM4/1/21
to TiddlyWiki
Thanks Joshua! We don't have multi-user yet in TiddlyWiki on Fission, which is where it's really going to get interesting.

I had actually bookmarked this thread to share about my usage several years ago of a really interesting Google App Engine solution written in GoLang that used Google accounts to set login / permissions. It looks like it's still maintained by the author https://github.com/rsc/tiddly

It is NOT easy to install / setup, as this is full on cloud devops that is needed to setup and configure this. But, if you want to use it as a business, and use the Google Accounts at your business to control access, this totally does work.
Reply all
Reply to author
Forward
0 new messages