![]() ![]() Uses bittorrent as the transfer mechanism so the more peers/devices you have, the faster speeds you can achieve.Īll strategies come preconfigured and can be disabled individually or customized to use custom tracker or relay servers.Ī torrent file is a file used by BitTorrent, a peer-to-peer (P2P) file sharing program, for downloading a file (often from multiple locations at one time).A trust system based on secret keys instead of passwords and accounts.NAT-PMP/UPnP For automatic port forwarding.DHT (distributed hash table) peer discovery for trackerless peer discovery.A relay server for peers that cannot make a direct connection.A bootstrapping server for finding peers (known as a tracker).There are a read only keys and read/write keys as well as one time only keys of both flavors for transmitting to someone over an insecure connection.īecause there are no central servers, uncommon connection strategies are required for reliable peer connections: Shared folders are connected using secret keys. Files are synchronized between devices directly or through a public relay server. It is different than most dropbox/box services in that it is distributed and central servers are optional, but are used to speed up peer discovery. Just install BitTorrent Sync on the devices you want to sync. You can help the IndieWeb wiki by expanding it.īittorrent Sync is a proprietary Dropbox replacement/alternative. The good thing is that BitTorrent Sync can sync and share large files without compressing them. Setup peersĪlong with having Sync installed, each peer(fire truck) needs to run a helper script located at sync_api_sample/helper.py.This article is a stub. Get the shareid for the Sync and Status folders and copy them into the sync_api_sample/helper.py file into the variables SYNC_FOLDER_SHARE_ID and STATUS_FOLDER_SHARE_ID. We need to get the folder share id for the Sync and Status folders Storing the most recent state of each peer in this Status folder will allow the main client to always have access to the latest state of each peer. We do this because we assume fire trucks will be driving around and in and out of connectivity and may not always be able to communicate directly with the main client. We use this folder hash to check if a folder is in sync. The Status folder is needed to keep the hash state of the Sync folder for each peer. The Status folder needs to have read/write permissions. We now need to share these folders with all the peers (fire trucks). This folder can be located anywhere and we will call it the Status folder. Using the BitTorrent Sync client on the main client (fire station), add the folder you want to keep in sync. Resilio Sync client needs to be installed on all systems (fire station and fire trucks). This sample application will help us accomplish this scenario. The fire station wants to constantly know if each fire truck is in sync and has recieved the new files in the folder. The fire station will share a folder with all the fire trucks that will contain information to help them stay up to date. Suppose we have a fire station with x number of fire trucks. Send the link to another device or a friend that is using Sync and you are on your way to syncing a folder.
0 Comments
Leave a Reply. |