{"id":16086193,"url":"https://github.com/zw963/btsync_no_pain","last_synced_at":"2025-04-05T14:13:02.396Z","repository":{"id":147696238,"uuid":"49515000","full_name":"zw963/btsync_no_pain","owner":"zw963","description":"Use btsync start to synchronize data between Linux/Mac/BSD within 10 seconds, NO PAIN. ","archived":false,"fork":false,"pushed_at":"2018-02-09T15:42:58.000Z","size":201,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T10:24:18.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zw963.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-12T16:55:34.000Z","updated_at":"2018-02-09T15:42:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb41a33c-4e75-4623-96b0-2f696ebf4061","html_url":"https://github.com/zw963/btsync_no_pain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Fbtsync_no_pain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Fbtsync_no_pain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Fbtsync_no_pain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zw963%2Fbtsync_no_pain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zw963","download_url":"https://codeload.github.com/zw963/btsync_no_pain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345844,"owners_count":20924102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T13:11:08.358Z","updated_at":"2025-04-05T14:13:02.380Z","avatar_url":"https://github.com/zw963.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This small script is for quickly start synchronize data with [BitTorrent Sync](https://getsync.com/) between your device.\nshould be start to work less than 10 seconds with internet connection(for download btsync binary only)\n\n## Philosophy\ninitialize a worked btsync config with minimum effort, make synchronize between two device\nstart to work immediately in config mode with NO PAIN.\n\nIt convenient for sync data between home/compary localnet pc, between host and virtual machine\nand autobackup things, after change some config, can worked through internet. be careful to\nunderstood config completely before do this.\n\nAbout BitTorrent Sync Documents, Please refer to [Running Sync in configuration mode](http://help.getsync.com/hc/en-us/articles/204762689-Running-Sync-in-configuration-mode#overview)\n\n## Requirement\n1. netcat(nc) is required for transmit script from one device to another device.\n2. `wget` is required in linux, `curl` is required in BSD (should be there in most UNIX like system)\n3. Need BitTorrent Sync support this platform.\n\n## Getting Started\nMake your two device sync immediately only need two step!\n\nStep one, down script to local, Open your's terminal:\nLinux:\n```sh\n  $ wget https://raw.githubusercontent.com/zw963/btsync_no_pain/master/btsync_no_pain\n```\n\nBSD, if not wget is installed.\n```sh\n  $ curl https://raw.githubusercontent.com/zw963/btsync_no_pain/master/btsync_no_pain \u003e btsync_no_pain\n```\nRun this script with bash.\n```sh\n  $ bash btsync_no_pain\n```\nIn this step, this script will try download btsync to current device (if not exist), and\nstart btsync with a predefined config, and then ask you whether synchronized to another\ndevice with **readonly** access authority.\n\n![btsync_no_pain1.png](images/btsync_no_pain1.png)\n\nPress yes for readonly sync, or vice versa.\n\nwill See following WARN message for you:\n\n![btsync_no_pain2.png](images/btsync_no_pain2.png)\n\nStep Two, is operate in another device(Slave device), Please read WARN carefully,\nand open your's **slave device** terminal, input:\n\n$ nc *MASTER_DEVICE_IP_ADDRESS* 2000\n\nit Done! your's two device `~/sync` folder should be syncing now, Just have a try.\n\nBasically, the last step do following things:\n\n1. Generate **slave device** btsync predefined config according to **master device** config.\n2. transmit this script to slave deivce, and run it with bash in slave device.\n3. do the same things with master deivce (e.g. download, start)\n\n## Support\nShould worked with Linux/BSD/OSX/Andorid.\n\nOSX need install btsync with official dmg package first, current not test.\n\nAndorid Support is irrelevant of offical btsync apk package, it need adbtools to install\n[busybox](https://www.busybox.net/downloads/binaries/busybox-armv5l) (with wget, uname command), current not tested.\n\n## Limitations\n* Windows is current not supported.\n* BitTorrent Sync Web UI is closed.\n* btsync is not open source, maybe use [syncthing](https://github.com/syncthing/syncthing) instead.\n\n## History\n  See [CHANGELOG](https://github.com/zw963/btsync_no_pain/blob/master/CHANGELOG) for details.\n  \n## Contributing\n  * [Bug reports](https://github.com/zw963/btsync_no_pain/issues)\n  * [Source](https://github.com/zw963/btsync_no_pain)\n  * Patches:\n    * Fork on Github.\n    * Create your feature branch: \\`git checkout -b my-new-feature\\`.\n    * Commit your changes: \\`git commit -am 'Add some feature'\\`.\n    * Push to the branch: \\`git push origin my-new-feature\\`.\n    * Send a pull request :D.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Fbtsync_no_pain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzw963%2Fbtsync_no_pain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzw963%2Fbtsync_no_pain/lists"}