mirror-sync

Description

Seamless Mirror-Sync: Your Effortless Repository Synchronization Engine Unlock true simplicity for keeping your mirrors aligned. Mirror-Sync is a clean, high-performance Go tool built to automate the replication of repositories with minimal fuss — no manual toil, no drift, no surprises.

Why youll love it

  • 📦 Plug-and-play: Drop the binary in, point it at your source & destination, configure via environment variables, and youre done.

  • 🔁 Reliable mirroring: Whether youre syncing from one endpoint to another or maintaining multiple mirrors, Mirror-Sync keeps everything in step with precision.

  • 🛠 Modern and lean: Written in Go with a minimal shell build wrapper, its designed for speed, simplicity and low-footprint deployment (Linux, containers, whatever you like).

In short Mirror-Sync takes the headache out of repository mirroring. Set it up once, configure it easily, and forget about it — while knowing your mirrors stay consistent, aligned and up-to-date.

(Generated by AI because nobody will see it anyway)

How to build

./build.sh --target-current

How to install

./install.sh

and uninstall

./uninstall.sh

Make a project

  • Step 1 : Make an empty directory
mkdir my-project
cd my-project
  • Step 2 : Make a file named git-compose.yaml
nano git-compose.yaml
  • Step 3 : Add the following content
repositories:

    my-repo:
        storage:
            source: 
                url: "https://git.example.com/user/repo"
            mirror:
                url: "https://github.com/user/repo"
                authentication:
                    token: ""
        schedule: "* * * * *"
  • Step 4 : Apply the configuration
mirrorsync apply
Description
Lightweight, configurable Go tool for effortless repository mirroring.
Readme MIT 117 KiB
Languages
Go 89.9%
Shell 10.1%