Giter Club home page Giter Club logo

gync's Introduction

Gync

Tool for syncing files to dropbox your folder.

Build

This project is under development and at the moment is just a working prototype

Download the source

$ go get -d github.com/btfidelis/gync

Install the dependencies

$ go get github.com/codegangsta/cli
$ go get github.com/crackcomm/go-clitable

Now you should be able to build with

go install github.com/btfidelis/gync

Usage

First, you'll need to configure the dropbox folder you wish to store your savegames do that by copying the config.json.dist file and renaming to config.json

$ cp config.json.dist config.json

Change the values of the config.json keys as needed (at the moment check interval does not work)

{
	"BackupPath": "C:\\Users\\Bruno\\Dropbox\\.gync",
	"CheckInterval": 2
}

Now you can add the save game directory

$ gync add GameName "C:\Path\To\Save"

And start the daemon, witch will listen for changes in the save dir and replicate to your dropbox

$ gync start

Third-Party Dependencies

  • CLI : A small package for building command line apps in Go
  • CLI-TABLE : Command line (ASCII) and Markdown table for Golang

Todo

  • Unit Tests
  • Refactoring
  • Add the functionality to restore saves
  • Add the functionality to create profiles ("git like branches")
  • Implementation with dropbox api

Contribuiting

I am quite new to golang, so if you have any suggestions or you can help with some of the todo itens, feel free to open a feature issue. Please describe the new feature as well as implementation ideas.

Pull requests for bugs may be sent without creating any Feature issue. If you believe that you know of a solution for a bug that has been filed on Github, please leave a comment detailing your proposed fix

License

See the file called LICENSE

gync's People

Contributors

btfidelis avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.