Giter Site home page Giter Site logo

btsync-cli's Introduction

btsync-cli

Console Application for BitTorrent SyncApp WebUI written in Go Alpha version. Tested against 1.0.116.

Features

  • add folder to sync folders (with empty or predefined secret)
  • remove folder from sync folders
  • list all sync folders
  • generate secret (with readonly secret)

Example Usage

Usage of btsync-cli:
  -a="":                absolute path to add for index (-r for relative path support)
  -d="":                absolute path to delete from index (-r for relative path support)
  -g=false:             get new secret
  -host="127.0.0.1":    btsync webui hostname
  -l=false:             list folders
  -p="password":        password
  -port="8888":         btsync webui port
  -r=false:             resolve relative path (for -a and -d)
  -s="":                secret, if empty will be autogenerated
  -u="admin":           username
  -v=false:             verbose mode on

Known Issues

  • delete folder always returns true
  • russian utf-8 names are in win-1252 encoding (via -l)

How-to build on Synology DS210j

cd ~btsync-cli
export GOPATH=`pwd`
export GOARM=5
/opt/go/bin/go build src/btsync-cli.go
./btsync-cli -h

Changelog

v0.2

  • -r flag for relative path on server
  • tests

btsync-cli's People

Contributors

sergeyfast avatar

Watchers

 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.