PairDrop/README.md

107 lines
5.5 KiB
Markdown
Raw Normal View History

2023-02-04 17:12:00 +01:00
<div align="center">
<a href="https://github.com/schlagmichdoch/PairDrop">
<img src="https://raw.githubusercontent.com/schlagmichdoch/PairDrop/master/public/images/android-chrome-512x512.png" alt="Logo" width="150" height="150">
</a>
2023-02-04 17:12:00 +01:00
<h1>PairDrop</h1>
2015-12-18 16:50:36 +01:00
2023-02-04 17:12:00 +01:00
<p>
Local file sharing in your browser. Inspired by Apple's Airdrop.
<br />
<a href="https://pairdrop.net"><strong>Explore »</strong></a>
<br />
<br />
<a href="https://github.com/schlagmichdoch/PairDrop/issues">Report Bug</a>
·
<a href="https://github.com/schlagmichdoch/PairDrop/issues">Request Feature</a>
</p>
</div>
## Features
2023-01-22 16:13:17 +01:00
[PairDrop](https://pairdrop.net) is a sublime alternative to AirDrop that works on all platforms.
Send images, documents or text via peer to peer connection to devices in the same local network/Wi-Fi or to paired devices.
2023-01-25 10:43:00 +01:00
As it is web based, it runs on all devices.
2023-01-22 16:13:17 +01:00
2023-01-25 10:43:00 +01:00
You want to quickly send a file from your phone to your laptop?
<br>You want to share photos in original quality with friends that use a mixture of Android and iOS?
2023-01-22 16:13:17 +01:00
<br>You want to share private files peer to peer between Linux systems?
<br>AirDrop is unreliable again?
<br>_Send it with PairDrop!_
2017-01-14 21:52:52 +01:00
Developed based on [Snapdrop](https://github.com/RobinLinus/snapdrop)
2020-09-14 02:56:12 +02:00
## Differences to Snapdrop
### Device Pairing
* Pair devices via 6-digit code or QR-Code
2023-01-25 10:43:00 +01:00
* Pair devices outside your local network or in complex network environment (public Wi-Fi, company network, Apple Private Relay, VPN etc.).
* Connect to devices on your mobile hotspot.
* Paired devices will always find each other via shared secrets even after reopening the browser or the Progressive Web App
* You will always discover devices on your local network. Paired devices are shown additionally.
* Paired devices outside your local network that are behind a NAT are connected automatically via [Open Relay: Free WebRTC TURN Server](https://www.metered.ca/tools/openrelay/)
2023-01-19 19:07:43 +01:00
### [Improved UI for sending/receiving files](https://github.com/RobinLinus/snapdrop/issues/560)
* Files are transferred only after a request is accepted first. On transfer completion files are downloaded automatically if possible.
* Multiple files are downloaded as a ZIP file
* On iOS and Android, in addition to downloading, files can be shared or saved to the gallery via the Share menu.
2023-01-25 10:43:00 +01:00
* Multiple files are transferred at once with an overall progress indicator
2023-01-19 19:07:43 +01:00
2023-02-22 02:22:51 +01:00
### Send Files or Text Directly From Share Menu, Context Menu or CLI
* [Send files directly from context menu on Windows](/docs/how-to.md#send-files-directly-from-context-menu-on-windows)
* [Send directly from share menu on iOS](/docs/how-to.md#send-directly-from-share-menu-on-ios)
* [Send directly from share menu on Android](/docs/how-to.md#send-directly-from-share-menu-on-android)
* [Send directly via command-line interface](/docs/how-to.md#send-directly-via-command-line-interface)
### Other changes
* Change your display name permanently to easily differentiate your devices
* [Paste files/text and choose the recipient afterwords ](https://github.com/RobinLinus/snapdrop/pull/534)
2023-01-23 21:23:13 +01:00
* [Prevent devices from sleeping on file transfer](https://github.com/RobinLinus/snapdrop/pull/413)
2023-02-11 11:53:57 +01:00
* Warn user before PairDrop is closed on file transfer
2023-01-23 21:23:13 +01:00
* Open PairDrop on multiple tabs simultaneously (Thanks [@willstott101](https://github.com/willstott101))
* [Video and Audio preview](https://github.com/RobinLinus/snapdrop/pull/455) (Thanks [@victorwads](https://github.com/victorwads))
2023-01-25 10:43:00 +01:00
* Node-only implementation (Thanks [@Bellisario](https://github.com/Bellisario))
* Automatic restart on error (Thanks [@KaKi87](https://github.com/KaKi87))
* Lots of stability fixes (Thanks [@MWY001](https://github.com/MWY001) [@skiby7](https://github.com/skiby7) and [@willstott101](https://github.com/willstott101))
2023-01-19 19:07:43 +01:00
* To host PairDrop on your local network (e.g. on Raspberry Pi): [All peers connected with private IPs are discoverable by each other](https://github.com/RobinLinus/snapdrop/pull/558)
* When hosting PairDrop yourself you can [set your own STUN/TURN servers](/docs/host-your-own.md#specify-stunturn-servers)
2023-01-19 19:07:43 +01:00
## Screenshots
2023-02-04 17:12:00 +01:00
<div align="center">
2023-01-19 19:07:43 +01:00
![Pairdrop Preview](/docs/pairdrop_screenshot_mobile.gif)
2023-02-04 17:12:00 +01:00
</div>
2023-01-19 19:07:43 +01:00
## PairDrop is built with the following awesome technologies:
2020-12-20 04:01:53 +01:00
* Vanilla HTML5 / ES6 / CSS3 frontend
* [WebRTC](http://webrtc.org/) / [WebSockets](http://www.websocket.org/)
* [NodeJS](https://nodejs.org/en/) backend
* [Progressive Web App](https://wikipedia.org/wiki/Progressive_Web_App)
2023-01-19 19:07:43 +01:00
* [IndexedDB API](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API)
2023-01-19 23:57:13 +01:00
* [zip.js](https://gildas-lormeau.github.io/zip.js/)
* [cyrb53](https://github.com/bryc) super fast hash function
2020-12-15 22:29:02 +01:00
2020-12-20 04:01:53 +01:00
Have any questions? Read our [FAQ](/docs/faq.md).
2020-12-15 22:29:02 +01:00
You can [host your own instance with Docker](/docs/host-your-own.md).
2020-09-14 02:56:12 +02:00
2020-12-15 22:29:02 +01:00
## Support the Community
2023-01-19 19:07:43 +01:00
PairDrop is free and always will be. Still, we have to pay for the domain.
2020-01-31 09:17:35 +01:00
2023-01-19 19:07:43 +01:00
To contribute and support me:<br>
2023-01-17 10:50:28 +01:00
<a href="https://www.buymeacoffee.com/pairdrop" target="_blank">
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" >
</a>
2020-01-31 09:17:35 +01:00
2020-01-16 09:07:37 +01:00
Thanks a lot for supporting free and open software!
2023-01-19 19:07:43 +01:00
To support the original Snapdrop and its creator go to [his GitHub page](https://github.com/RobinLinus/snapdrop).
## How to contribute
Feel free to [open an issue](https://github.com/schlagmichdoch/pairdrop/issues/new/choose) or a
[pull request](https://github.com/schlagmichdoch/pairdrop/pulls) but follow
[Contributing Guidelines](/CONTRIBUTING.md).