Clone of Airdrop, Apple's proprietary file transfer product, that boasts the same high-speed as its predecessor.
'fairdrop' is an Apple Airdrop clone. fairdrop, name still in progress, is meant to be a substitute for Airdrop.
Requires Node >= 8. Dependencies include: promise-socket and prompt-sync.
Clone this repo. After cloning, run npm i
in the main directory to install the dependencies.
Note: This repo includes a sample_files
directory of three files that can be sent for testing purposes.
fairdrop has two main files, client.js
and server.js
, which are used to send and receive files respectively. A single machine can be used as both the sender and receive to send a file to itself for testing purpose.
node server.js
on the receiving device to listen for any incoming data/requests.node client.js
on the sending device. It will prompt you to drag the file you wish to be sent into the terminal. You can also enter the path to the file from the root folder./fairdrop
,