tunasync

Mirror job management tool.

  • Owner: tuna/tunasync
  • Platform:
  • License:: GNU General Public License v3.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

tunasync

Build Status
Coverage Status
Commitizen friendly
GPLv3

Get Started

Download

Pre-built binary for Linux x86_64 is available at Github releases.

Design

# Architecture

- Manager: Central instance for status and job management
- Worker: Runs mirror jobs

+------------+ +---+                  +---+, Client API, Job Status, +----------+     +----------+ 
+------------+, +----------------->, --->, mirror  +---->, mirror, +------------+, w, config, provider, Worker API, H, o, +----------+     +----+-----+ 
+------------+, T, Job Control, r, +------------+, T +----------------->, k, +------------+, Job/Status, P, Start/Stop/..., e, mirror job, <----+, Management, S, r, +------^-----+             
+------------+, Update Status, +---------+---------+         
+------------+, <------------------+, Scheduler, BoltDB, +-------------------+
+------------+ +---+                  +---+


# Job Run Process


PreSyncing                           Syncing                               Success
+-----------+     +----------+    +-----------+    +-------------+     +--------------+, pre-job  +--+->, pre-exec +--->, job run  +--->, post-exec  +-+-->, post-success, +-----------+  ^  +----------+    +-----------+    +-------------+, +--------------+, +-----------------+, Failed
               +----------------+    post-fail, <---------------+
                                +-----------------+

Building

Setup GOPATH like this.

Then:

go get -d github.com/tuna/tunasync/cmd/tunasync
cd $GOPATH/src/github.com/tuna/tunasync
make

If you have multiple GOPATHs, replace the $GOPATH with your first one.

Main metrics

Overview
Name With Ownertuna/tunasync
Primary LanguageGo
Program languageShell (Language Count: 4)
Platform
License:GNU General Public License v3.0
所有者活动
Created At2014-10-17 08:24:26
Pushed At2025-04-16 23:13:13
Last Commit At2025-02-28 15:19:17
Release Count31
Last Release Namev0.9.3 (Posted on 2025-02-28 15:28:58)
First Release Nametravis-upload (Posted on 2016-11-20 00:59:07)
用户参与
Stargazers Count1.7k
Watchers Count60
Fork Count289
Commits Count514
Has Issues Enabled
Issues Count123
Issue Open Count9
Pull Requests Count61
Pull Requests Open Count1
Pull Requests Close Count14
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private