Hi, I'm using this script to sync things to git automatically https://github.com/linonetwo/Tiddlywiki-NodeJS-Github-Template/blob/master/scripts/watchWiki.js There are also scripts to start TiddlyWiki on start-up.
But... you can see it ruined my GitHub commit timeline[image: Screen Shot 2020-06-29 at 2.25.35 PM.png] 在2020年6月29日星期一 UTC+8 上午5:30:53<Rob Hoelz> 写道: > 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/e5b413dc-70db-4a71-8179-83fdb613073dn%40googlegroups.com.

