I’m using TiddlyWiki across multiple computers with GitLab as my storage solution. While saving changes to GitLab works automatically, loading/syncing doesn’t.
Currently, I need to manually pull changes every time I open TiddlyWiki on a different computer. If I forget to pull, I end up with conflicts.
Is there a way to make TiddlyWiki automatically pull changes from GitLab when loading, similar to how it automatically saves changes? I’m looking for a solution that would keep all my computers in sync when I’m using it. without manual intervention. I will never edit the wiki from two different computers in the same time.
Tidgi is an app which loads tiddlywikis, so you can have all your tw’s in one place, if that’s local, tiddlyhost, git, etc TidGi will list them for you making it easier to manage. It’s got a few other bells and whistles I think, but I’ve not really dived into it.
I can only speak for Github, I host the wiki on git hub, put my token in the github tab of the control panel and off it goes. I assume you could do the same for gitlab?
Ok, so I tried it with github and it still didn’t work.
I created a new page and saved it to github.
After that I downloaded the page to another machine and made a small change and saved it.
The change didn’t reflect on the first machine
Did you check github? Did it commit? If it did the the other machine should be pulling the new version from git. You might have to refresh a couple of times to get the new version, not the version in the browser cache. Ctrl + r, I think, should help that (I could be mis remembering keyboard shortcuts)
Yes, I checked it also with GitHub. I think there is misunderstanding, I don’t want to run git pull, but I want tidy wiki to automatically fetch the changes from GitHub.
Currently I have to remember to run git pull before I’m doing any changes.
For clarity then
My work flow:
I load/open my wiki hosted on github.
I change a tiddler in the wiki.
Wiki saves to git.
Open on another device, all changes shown as git serves the lates version.
Occasionally I get a previous version because it loads from the browser cache.
Actually, I tried exactly what you did, but in my case I don’t see the changes.
Are you open the wiki directly from GitHub or you have a local file on the device?