Skip to content

Console Application for BitTorrent SyncApp WebUI written in Go

Notifications You must be signed in to change notification settings

sergeyfast/btsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

btsync-cli

Console Application for BitTorrent SyncApp API written in Go Beta version. Tested against 1.2.82.

Features

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

Example Usage

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

Known Issues

How-to build on Synology DS210j

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

Changelog

v0.3

  • support official API instead of webui
  • delete folder by secret without path
  • generate readonly secret for folder

v0.2

  • -r flag for relative path on server
  • tests

About

Console Application for BitTorrent SyncApp WebUI written in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages