DEV Community

Cover image for git-syr - Sync Your Repos
Andrew Erlikh
Andrew Erlikh

Posted on

git-syr - Sync Your Repos

Pull or push your git repos regularly. For dotfiles backups or note-taking in a git repo.

Why?

I used a simple cron script to sync my note-taking app for years, but it becomes complicated, when you have more than one repository to sync. So, I created this app with easy config and GUI.

What it does?

git-syr has separate config for each repository. It indicates whether the repo should be pulled, committed and pushed or both every N seconds (minutes, hours).
It can run in CLI-only mod or with web GUI.

Example

repos.yaml:

- name: Dotfiles
  path: /home/data/repo/dotfiles
  timeout: 4h
  pull: "no"
  push: "yes"

- name: MyNotes
  path: /home/data/repo/MyNotes
  timeout: 1m
  pull: "yes"
  push: "yes"
Enter fullscreen mode Exit fullscreen mode

Try it

https://github.com/aceberg/git-syr

Top comments (0)