Share files between devices on the same Wi-Fi.
Dropair turns your computer into a simple local file-sharing server. Open it on your Mac, Windows, or Linux machine, scan the QR code with your phone, and start uploading or downloading files.
No app. No account. No cloud.
- Works with phones, tablets, and computers
- Access through any web browser
- Upload files
- Download files
- QR code for quick access
- Files stay on your local network
- Simple and lightweight
- Node.js 16+
- npm
git clone https://github.com/dha-aa/dropair.git
cd dropair
npm installnpm startDropair will start a local server and print a QR code in your terminal.
Scan the QR code with your phone and open the page.
Tip: Start Dropair inside the folder you want to share. Uploaded files will be saved there.
You can also install Dropair as a global command:
npm linkThen run it from any folder:
dropairDropair will use your current directory for file sharing.
| Setting | Default |
|---|---|
| Port | 3000 |
| Save location | Current directory |
dropair/
├── server.js
├── cli.js
├── upload/
├── download/
├── utils/
└── public/
Port already in use
Another application is using port 3000. Stop it or change the port in server.js.
Can't upload files
Make sure you have write permission for the directory where Dropair is running.
QR code doesn't work
Make sure both devices are connected to the same Wi-Fi network.
Found a bug or have an idea?
Issues and pull requests are welcome.
ISC