Skip to content

Clone of Airdrop, Apple's proprietary file transfer product, that boasts the same high-speed as its predecessor.

Notifications You must be signed in to change notification settings

andymina/fairdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fairdrop

'fairdrop' is an Apple Airdrop clone. fairdrop, name still in progress, is meant to be a substitute for Airdrop.

Airdrop vs. fairdrop

  • Airdrop only works between Apple devices whereas fairdrop can be used between any device that can run node.js.
  • Airdrop has a GUI and fairdrop does not (but it's in progress).
  • fairdrop only works on devices connected on the same network, but Airdrop can communicate as long as both devices have Bluetooth and a Wi-Fi connection using AWDL.

Requirements

Requires Node >= 8. Dependencies include: promise-socket and prompt-sync.

Setup

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.

Usage

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.

  1. Run node server.js on the receiving device to listen for any incoming data/requests.
  2. Run 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.
  3. After selecting a file, the client will search for any devices on the network that are eligible to receive files and display them in a numbered list. Enter the number associated with the chosen receiver device.
  4. Once the file transfer is complete, the file will be in the root directory of the project, /fairdrop,

To Do List

  • Allow users to choose the file to be sent.
  • Better documentation.
  • Develop a GUI.
    • Mobile app
    • Desktop app
  • Clean up data handlers.
  • Include more information in file transfer.
    • File name
    • File type
    • File size (in bytes)
  • Send multiple files.
  • Consistent file type when receiving/sending.
  • User can set permissions on who to receive files from.

About

Clone of Airdrop, Apple's proprietary file transfer product, that boasts the same high-speed as its predecessor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published