Hello there! I have a friend who uses a program called modd <https://github.com/cortesi/modd> to accomplish this - that's one way to do it!
When he and I were talking about Git integration with TiddlyWiki, I offered the idea of adding an event listener for the "change" event on the Node side, and then doing git-add + git-commit after the filesystem plugin had finished writing the tiddler out to disk. That's another approach you might want to consider! -Rob On Saturday, June 27, 2020 at 7:55:13 AM UTC-5, Michael Arndt wrote: > > I'm currently trying to figure out which hosting options suite my needs > best. > > My current take is running TiddlyWiki on Node, however I would love to do > more than just saving to the filesystem. Almost everything I do is backed > by git anyway, so I see a lot of value in syncing those files to git. At > the same time I want my server to remain responsive. Easiest would be to > run a cron job that does a commit and push every few seconds, but I wonder > if a syncadapter would be more elegant. From what I've read there can only > be one syncadapter, so saving to filesystem and git would probably require > a new syncadapter that merges the functionality from the filesystem > syncadapter and github saver. Though being on node we have more options > like nodeGit or https://isomorphic-git.org/. > I would use git only for backup and versioning, so not looking for > changes, just force-pushing. > > What do you think? Is a syncadapter for fs+git a good idea? Am I missing > something that would give that capability already? > > > Greetings > Mene > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4cf7e4ac-e0d5-42d3-9db4-b06e6b9f9440o%40googlegroups.com.

