Running via node and GitHub saving

52 views
Skip to first unread message

Matt

unread,
Feb 18, 2020, 2:25:51 AM2/18/20
to TiddlyWiki
I’m extremely new to the TW5 ecosystem so I’m not sure if this is possible, but I was wondering how difficult it might be to have GitHub saves done on the entire directory my tiddlers are nested in.

Rather than commit a single html file, I was thinking I could commit everything required to run TW5 from my command line (namely, the .info file), which would enable me to keep TW5 sync’d between multiple machines and run it as more of a standalone application.

Ideally what I’d like to do is have a `git add .` anytime there’s a save in TW5 and potentially a `push` defined in some other way (keystroke, etc). And, on initial load, a `pull`. Maybe this is too much of a fantasy but I’m curious what pieces of this may be doable.

Mark S.

unread,
Feb 18, 2020, 11:59:24 AM2/18/20
to TiddlyWiki
It seems to me this is more of a "git" problem. Searching "automatically commit to github" I find that
there are multiple solutions to this kind of problem. The one at the top of the list for instance was "gitwatch".
It looks pretty interesting.

Maybe you could also synchronize your git directory using GoogleDrive or DropBox. Then it would be available everywhere.
You would only need to push to github when you needed github itself to have the latest updates.

Good luck
Reply all
Reply to author
Forward
0 new messages