PairDrop/README.md

73 lines
3.8 KiB
Markdown
Raw Normal View History

2018-09-21 19:51:29 +02:00
# Snapdrop
2015-12-18 16:50:36 +01:00
2018-09-21 19:51:29 +02:00
[Snapdrop](https://snapdrop.net): local file sharing in your browser - inspired by Apple's Airdrop.
2017-01-14 21:52:52 +01:00
Squashed commit of the following: commit c04cdad7db20fcd66a8e191c99282d21aa1a4ca2 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 08:47:40 2018 +0200 Cleanup commit 891859680a1565cead8fe3dca771449b5e1e3035 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 05:55:09 2018 +0200 Refactor about page commit 04415ef28f8e7281c13546f168f2582a82bcb34f Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 04:44:17 2018 +0200 Cleanup commit 52bd7692e951c5fafdcdb182a69646b78f03884d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 23:19:54 2018 +0200 Notifications Android & Desktop commit f537b9621350fd1ea6694e7a2a8d3eca1edbf012 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:32:39 2018 +0200 Notifications commit 476cb0ae6525177d7ea0519c9f0c4de67d2bf0f3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:31:46 2018 +0200 Notifications commit 5a631d3833a63e76d3611dc97ec073e471af58ba Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:21:44 2018 +0200 Notfication API on android commit 600d3551f4765d65a4348a33012b57ee370b3da3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:12:11 2018 +0200 Add will-change commit 3ac40fb3d7467df6c0f66b0d156202cbfbf80f09 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:04:48 2018 +0200 Don’t reconnect if already connecting commit 9c9ca70d05fb2894d4e8113acc3a99a7b582ec78 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:55:15 2018 +0200 Reconnect on rejoin room commit 7194c65c74681883089d21c574275dfc01864d50 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:51:56 2018 +0200 Reconnect on rejoin room commit 0ede41f8d5397e8b7beb62ba6abe2571296f4690 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:34:49 2018 +0200 Cancel keep alive on join room commit 1d9581632fe3a99c2068d8c0cece9345c9397cc8 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:25:54 2018 +0200 Cancel keep alive on join room commit e71564a97cc083b606f144db4de3e35e5e172bfb Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:15:55 2018 +0200 Cancel keep alive on join room commit 0731a21d685c35e45985a39e3df32549730953db Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:09:49 2018 +0200 Cancel keep alive on join room commit 61697d3abc5430ad58478b12a9b7fc36d8978881 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:01:59 2018 +0200 Cancel keep alive on join room commit b0fd89eb96f69279a01b64ce5db29c020838f87d Merge: 4cf2bed b67afca Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:55:32 2018 +0200 Merge remote-tracking branch 'origin/master' into dev # Conflicts: # server/index.js commit 4cf2beda9075d75e1efc6dca3dc0e390612882fd Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:49:16 2018 +0200 Fix beforeunload on iphone commit 728aabd449ed8f70231c643d756488fef7431aae Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:32:59 2018 +0200 Fix typo in server commit 96e37aef40c7a69203b172655b290732dc236dc3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:25:01 2018 +0200 Fix typo commit 31e5f635d19a69ebe719194aeb8465368e9f672d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:24:01 2018 +0200 Add connection state handler commit e573d5741979fa48fdbfebed4f3cedd7f82f9ea5 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:17:07 2018 +0200 STUN server tests commit 6a1de2926782ad0ca861b078c31ad3de2bc6e172 Merge: 6317c25 92a5f3b Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:15:31 2018 +0200 Merge branch 'dev' of github.com:RobinLinus/snapdrop into dev # Conflicts: # client/scripts/network.js commit 6317c25b10f3d885c8ccc3374fb1e873e2c18f44 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit 92a5f3b782b4037beaf9b404683239cf71105586 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit e9eeea48e5ea76214971daa1a879b0ae2ba1a196 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:54:52 2018 +0200 Fix notifications on android commit 36ec13d4285b1d8633cc3bddd26df8fddbb8e59e Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:53:31 2018 +0200 Fix uncaught error in server commit abf96c02282c5171793f5487880918f4719e8f15 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 16:36:59 2018 +0200 Test
2018-09-24 13:14:11 +02:00
#### Snapdrop (Version 2) is built with the following awesome technologies:
2018-09-21 19:51:29 +02:00
* Vanilla HTML5 / ES6 / CSS3
* Progressive Web App
2015-12-29 01:42:01 +01:00
* [WebRTC](http://webrtc.org/)
* [WebSockets](http://www.websocket.org/) fallback (iDevices don't support WebRTC)
* [NodeJS](https://nodejs.org/en/)
* [Material Design](https://material.google.com/)
2015-12-18 16:50:36 +01:00
2020-01-16 09:07:37 +01:00
## Support the Snapdrop Community
Snadprop is free. Still, we have to pay the server. If you want to contribute, please use [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=G2VDVRHGPJML2&source=url) or Bitcoin
[<img src="https://coins.github.io/thx/logo-color-large-pill-320px.png" alt="CoinThx" width="200"/>](https://coins.github.io/thx/#1K9zQ8f4iTyhKyHWmiDKt21cYX2QSDckWB?label=Coins%20Project&message=Thank%20you%20for%20your%20contribution!)
2018-09-21 16:12:21 +02:00
2020-01-16 09:07:37 +01:00
Thanks a lot for supporting free and open software!
## Frequently Asked Questions
2015-12-18 16:50:36 +01:00
2015-12-30 23:00:29 +01:00
### Instructions
* [Video Instructions](https://www.youtube.com/watch?v=4XN02GkcHUM) (Big thanks to [TheiTeckHq](https://www.youtube.com/channel/UC_DUzWMb8gZZnAbISQjmAfQ))
2015-12-31 02:17:02 +01:00
* [idownloadblog](http://www.idownloadblog.com/2015/12/29/snapdrop/)
* [thenextweb](http://thenextweb.com/insider/2015/12/27/snapdrop-is-a-handy-web-based-replacement-for-apples-fiddly-airdrop-file-transfer-tool/)
* [winboard](http://www.winboard.org/artikel-ratgeber/6253-dateien-vom-desktop-pc-mit-anderen-plattformen-teilen-mit-snapdrop.html)
Squashed commit of the following: commit c04cdad7db20fcd66a8e191c99282d21aa1a4ca2 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 08:47:40 2018 +0200 Cleanup commit 891859680a1565cead8fe3dca771449b5e1e3035 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 05:55:09 2018 +0200 Refactor about page commit 04415ef28f8e7281c13546f168f2582a82bcb34f Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 04:44:17 2018 +0200 Cleanup commit 52bd7692e951c5fafdcdb182a69646b78f03884d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 23:19:54 2018 +0200 Notifications Android & Desktop commit f537b9621350fd1ea6694e7a2a8d3eca1edbf012 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:32:39 2018 +0200 Notifications commit 476cb0ae6525177d7ea0519c9f0c4de67d2bf0f3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:31:46 2018 +0200 Notifications commit 5a631d3833a63e76d3611dc97ec073e471af58ba Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:21:44 2018 +0200 Notfication API on android commit 600d3551f4765d65a4348a33012b57ee370b3da3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:12:11 2018 +0200 Add will-change commit 3ac40fb3d7467df6c0f66b0d156202cbfbf80f09 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:04:48 2018 +0200 Don’t reconnect if already connecting commit 9c9ca70d05fb2894d4e8113acc3a99a7b582ec78 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:55:15 2018 +0200 Reconnect on rejoin room commit 7194c65c74681883089d21c574275dfc01864d50 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:51:56 2018 +0200 Reconnect on rejoin room commit 0ede41f8d5397e8b7beb62ba6abe2571296f4690 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:34:49 2018 +0200 Cancel keep alive on join room commit 1d9581632fe3a99c2068d8c0cece9345c9397cc8 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:25:54 2018 +0200 Cancel keep alive on join room commit e71564a97cc083b606f144db4de3e35e5e172bfb Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:15:55 2018 +0200 Cancel keep alive on join room commit 0731a21d685c35e45985a39e3df32549730953db Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:09:49 2018 +0200 Cancel keep alive on join room commit 61697d3abc5430ad58478b12a9b7fc36d8978881 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:01:59 2018 +0200 Cancel keep alive on join room commit b0fd89eb96f69279a01b64ce5db29c020838f87d Merge: 4cf2bed b67afca Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:55:32 2018 +0200 Merge remote-tracking branch 'origin/master' into dev # Conflicts: # server/index.js commit 4cf2beda9075d75e1efc6dca3dc0e390612882fd Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:49:16 2018 +0200 Fix beforeunload on iphone commit 728aabd449ed8f70231c643d756488fef7431aae Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:32:59 2018 +0200 Fix typo in server commit 96e37aef40c7a69203b172655b290732dc236dc3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:25:01 2018 +0200 Fix typo commit 31e5f635d19a69ebe719194aeb8465368e9f672d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:24:01 2018 +0200 Add connection state handler commit e573d5741979fa48fdbfebed4f3cedd7f82f9ea5 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:17:07 2018 +0200 STUN server tests commit 6a1de2926782ad0ca861b078c31ad3de2bc6e172 Merge: 6317c25 92a5f3b Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:15:31 2018 +0200 Merge branch 'dev' of github.com:RobinLinus/snapdrop into dev # Conflicts: # client/scripts/network.js commit 6317c25b10f3d885c8ccc3374fb1e873e2c18f44 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit 92a5f3b782b4037beaf9b404683239cf71105586 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit e9eeea48e5ea76214971daa1a879b0ae2ba1a196 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:54:52 2018 +0200 Fix notifications on android commit 36ec13d4285b1d8633cc3bddd26df8fddbb8e59e Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:53:31 2018 +0200 Fix uncaught error in server commit abf96c02282c5171793f5487880918f4719e8f15 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 16:36:59 2018 +0200 Test
2018-09-24 13:14:11 +02:00
* [免費資源網路社群](https://free.com.tw/snapdrop/)
2015-12-30 23:00:29 +01:00
2015-12-29 01:45:10 +01:00
##### What about the connection? Is it a P2P-connection directly from device to device or is there any third-party-server?
It uses a P2P connection if WebRTC is supported by the browser. (WebRTC needs a Signaling Server, but it is only used to establish a connection and is not involved in the file transfer).
2015-12-18 16:50:36 +01:00
Squashed commit of the following: commit c04cdad7db20fcd66a8e191c99282d21aa1a4ca2 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 08:47:40 2018 +0200 Cleanup commit 891859680a1565cead8fe3dca771449b5e1e3035 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 05:55:09 2018 +0200 Refactor about page commit 04415ef28f8e7281c13546f168f2582a82bcb34f Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 04:44:17 2018 +0200 Cleanup commit 52bd7692e951c5fafdcdb182a69646b78f03884d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 23:19:54 2018 +0200 Notifications Android & Desktop commit f537b9621350fd1ea6694e7a2a8d3eca1edbf012 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:32:39 2018 +0200 Notifications commit 476cb0ae6525177d7ea0519c9f0c4de67d2bf0f3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:31:46 2018 +0200 Notifications commit 5a631d3833a63e76d3611dc97ec073e471af58ba Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:21:44 2018 +0200 Notfication API on android commit 600d3551f4765d65a4348a33012b57ee370b3da3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:12:11 2018 +0200 Add will-change commit 3ac40fb3d7467df6c0f66b0d156202cbfbf80f09 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:04:48 2018 +0200 Don’t reconnect if already connecting commit 9c9ca70d05fb2894d4e8113acc3a99a7b582ec78 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:55:15 2018 +0200 Reconnect on rejoin room commit 7194c65c74681883089d21c574275dfc01864d50 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:51:56 2018 +0200 Reconnect on rejoin room commit 0ede41f8d5397e8b7beb62ba6abe2571296f4690 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:34:49 2018 +0200 Cancel keep alive on join room commit 1d9581632fe3a99c2068d8c0cece9345c9397cc8 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:25:54 2018 +0200 Cancel keep alive on join room commit e71564a97cc083b606f144db4de3e35e5e172bfb Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:15:55 2018 +0200 Cancel keep alive on join room commit 0731a21d685c35e45985a39e3df32549730953db Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:09:49 2018 +0200 Cancel keep alive on join room commit 61697d3abc5430ad58478b12a9b7fc36d8978881 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:01:59 2018 +0200 Cancel keep alive on join room commit b0fd89eb96f69279a01b64ce5db29c020838f87d Merge: 4cf2bed b67afca Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:55:32 2018 +0200 Merge remote-tracking branch 'origin/master' into dev # Conflicts: # server/index.js commit 4cf2beda9075d75e1efc6dca3dc0e390612882fd Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:49:16 2018 +0200 Fix beforeunload on iphone commit 728aabd449ed8f70231c643d756488fef7431aae Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:32:59 2018 +0200 Fix typo in server commit 96e37aef40c7a69203b172655b290732dc236dc3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:25:01 2018 +0200 Fix typo commit 31e5f635d19a69ebe719194aeb8465368e9f672d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:24:01 2018 +0200 Add connection state handler commit e573d5741979fa48fdbfebed4f3cedd7f82f9ea5 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:17:07 2018 +0200 STUN server tests commit 6a1de2926782ad0ca861b078c31ad3de2bc6e172 Merge: 6317c25 92a5f3b Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:15:31 2018 +0200 Merge branch 'dev' of github.com:RobinLinus/snapdrop into dev # Conflicts: # client/scripts/network.js commit 6317c25b10f3d885c8ccc3374fb1e873e2c18f44 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit 92a5f3b782b4037beaf9b404683239cf71105586 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit e9eeea48e5ea76214971daa1a879b0ae2ba1a196 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:54:52 2018 +0200 Fix notifications on android commit 36ec13d4285b1d8633cc3bddd26df8fddbb8e59e Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:53:31 2018 +0200 Fix uncaught error in server commit abf96c02282c5171793f5487880918f4719e8f15 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 16:36:59 2018 +0200 Test
2018-09-24 13:14:11 +02:00
If WebRTC isnt supported (Safari, IE) it uses a Web Sockets fallback for the file transfer. The server connects the clients with each other.
2015-12-18 16:50:36 +01:00
2015-12-29 01:45:10 +01:00
##### What about privacy? Will files be saved on third-party-servers?
None of your files are ever saved on any server.
2018-10-25 18:49:51 +02:00
Snapdrop doesn't even use a database. If you are curious have a look [at the Server](https://github.com/RobinLinus/snapdrop/blob/master/server/).
2015-12-18 16:50:36 +01:00
2015-12-29 01:42:01 +01:00
##### Is SnapDrop a fork of ShareDrop?
2018-09-21 16:12:21 +02:00
No. ShareDrop is built with Ember. Snapdrop is built with vanilla ES6.
I wanted to play around with Progressive Web Apps and then I got the idea of a local file sharing app. By doing research on this idea I found and analysed ShareDrop. I liked it and thought about how to improve it.
Squashed commit of the following: commit c04cdad7db20fcd66a8e191c99282d21aa1a4ca2 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 08:47:40 2018 +0200 Cleanup commit 891859680a1565cead8fe3dca771449b5e1e3035 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 05:55:09 2018 +0200 Refactor about page commit 04415ef28f8e7281c13546f168f2582a82bcb34f Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 04:44:17 2018 +0200 Cleanup commit 52bd7692e951c5fafdcdb182a69646b78f03884d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 23:19:54 2018 +0200 Notifications Android & Desktop commit f537b9621350fd1ea6694e7a2a8d3eca1edbf012 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:32:39 2018 +0200 Notifications commit 476cb0ae6525177d7ea0519c9f0c4de67d2bf0f3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:31:46 2018 +0200 Notifications commit 5a631d3833a63e76d3611dc97ec073e471af58ba Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:21:44 2018 +0200 Notfication API on android commit 600d3551f4765d65a4348a33012b57ee370b3da3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:12:11 2018 +0200 Add will-change commit 3ac40fb3d7467df6c0f66b0d156202cbfbf80f09 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:04:48 2018 +0200 Don’t reconnect if already connecting commit 9c9ca70d05fb2894d4e8113acc3a99a7b582ec78 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:55:15 2018 +0200 Reconnect on rejoin room commit 7194c65c74681883089d21c574275dfc01864d50 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:51:56 2018 +0200 Reconnect on rejoin room commit 0ede41f8d5397e8b7beb62ba6abe2571296f4690 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:34:49 2018 +0200 Cancel keep alive on join room commit 1d9581632fe3a99c2068d8c0cece9345c9397cc8 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:25:54 2018 +0200 Cancel keep alive on join room commit e71564a97cc083b606f144db4de3e35e5e172bfb Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:15:55 2018 +0200 Cancel keep alive on join room commit 0731a21d685c35e45985a39e3df32549730953db Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:09:49 2018 +0200 Cancel keep alive on join room commit 61697d3abc5430ad58478b12a9b7fc36d8978881 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:01:59 2018 +0200 Cancel keep alive on join room commit b0fd89eb96f69279a01b64ce5db29c020838f87d Merge: 4cf2bed b67afca Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:55:32 2018 +0200 Merge remote-tracking branch 'origin/master' into dev # Conflicts: # server/index.js commit 4cf2beda9075d75e1efc6dca3dc0e390612882fd Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:49:16 2018 +0200 Fix beforeunload on iphone commit 728aabd449ed8f70231c643d756488fef7431aae Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:32:59 2018 +0200 Fix typo in server commit 96e37aef40c7a69203b172655b290732dc236dc3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:25:01 2018 +0200 Fix typo commit 31e5f635d19a69ebe719194aeb8465368e9f672d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:24:01 2018 +0200 Add connection state handler commit e573d5741979fa48fdbfebed4f3cedd7f82f9ea5 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:17:07 2018 +0200 STUN server tests commit 6a1de2926782ad0ca861b078c31ad3de2bc6e172 Merge: 6317c25 92a5f3b Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:15:31 2018 +0200 Merge branch 'dev' of github.com:RobinLinus/snapdrop into dev # Conflicts: # client/scripts/network.js commit 6317c25b10f3d885c8ccc3374fb1e873e2c18f44 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit 92a5f3b782b4037beaf9b404683239cf71105586 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit e9eeea48e5ea76214971daa1a879b0ae2ba1a196 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:54:52 2018 +0200 Fix notifications on android commit 36ec13d4285b1d8633cc3bddd26df8fddbb8e59e Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:53:31 2018 +0200 Fix uncaught error in server commit abf96c02282c5171793f5487880918f4719e8f15 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 16:36:59 2018 +0200 Test
2018-09-24 13:14:11 +02:00
ShareDrop uses WebRTC only and isn't compatible with Safari browsers. Snapdrop uses a Websocket fallback and some hacks to make Snapdrop work due to the download restrictions on iDevices.
2015-12-18 16:50:36 +01:00
2015-12-29 01:42:01 +01:00
### Snapdrop is awesome! How can I support it?
2016-12-07 01:30:43 +01:00
* [File bugs, give feedback, submit suggestions](https://github.com/RobinLinus/snapdrop/issues)
2015-12-30 23:00:29 +01:00
* Share Snapdrop on your social media.
2016-01-02 02:26:47 +01:00
* [Buy me a cup of coffee](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R9C5E42UYEQCN)
Squashed commit of the following: commit c04cdad7db20fcd66a8e191c99282d21aa1a4ca2 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 08:47:40 2018 +0200 Cleanup commit 891859680a1565cead8fe3dca771449b5e1e3035 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 05:55:09 2018 +0200 Refactor about page commit 04415ef28f8e7281c13546f168f2582a82bcb34f Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Sat Sep 22 04:44:17 2018 +0200 Cleanup commit 52bd7692e951c5fafdcdb182a69646b78f03884d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 23:19:54 2018 +0200 Notifications Android & Desktop commit f537b9621350fd1ea6694e7a2a8d3eca1edbf012 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:32:39 2018 +0200 Notifications commit 476cb0ae6525177d7ea0519c9f0c4de67d2bf0f3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 22:31:46 2018 +0200 Notifications commit 5a631d3833a63e76d3611dc97ec073e471af58ba Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:21:44 2018 +0200 Notfication API on android commit 600d3551f4765d65a4348a33012b57ee370b3da3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:12:11 2018 +0200 Add will-change commit 3ac40fb3d7467df6c0f66b0d156202cbfbf80f09 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 21:04:48 2018 +0200 Don’t reconnect if already connecting commit 9c9ca70d05fb2894d4e8113acc3a99a7b582ec78 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:55:15 2018 +0200 Reconnect on rejoin room commit 7194c65c74681883089d21c574275dfc01864d50 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:51:56 2018 +0200 Reconnect on rejoin room commit 0ede41f8d5397e8b7beb62ba6abe2571296f4690 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:34:49 2018 +0200 Cancel keep alive on join room commit 1d9581632fe3a99c2068d8c0cece9345c9397cc8 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:25:54 2018 +0200 Cancel keep alive on join room commit e71564a97cc083b606f144db4de3e35e5e172bfb Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:15:55 2018 +0200 Cancel keep alive on join room commit 0731a21d685c35e45985a39e3df32549730953db Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:09:49 2018 +0200 Cancel keep alive on join room commit 61697d3abc5430ad58478b12a9b7fc36d8978881 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 20:01:59 2018 +0200 Cancel keep alive on join room commit b0fd89eb96f69279a01b64ce5db29c020838f87d Merge: 4cf2bed b67afca Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:55:32 2018 +0200 Merge remote-tracking branch 'origin/master' into dev # Conflicts: # server/index.js commit 4cf2beda9075d75e1efc6dca3dc0e390612882fd Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:49:16 2018 +0200 Fix beforeunload on iphone commit 728aabd449ed8f70231c643d756488fef7431aae Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:32:59 2018 +0200 Fix typo in server commit 96e37aef40c7a69203b172655b290732dc236dc3 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:25:01 2018 +0200 Fix typo commit 31e5f635d19a69ebe719194aeb8465368e9f672d Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:24:01 2018 +0200 Add connection state handler commit e573d5741979fa48fdbfebed4f3cedd7f82f9ea5 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:17:07 2018 +0200 STUN server tests commit 6a1de2926782ad0ca861b078c31ad3de2bc6e172 Merge: 6317c25 92a5f3b Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:15:31 2018 +0200 Merge branch 'dev' of github.com:RobinLinus/snapdrop into dev # Conflicts: # client/scripts/network.js commit 6317c25b10f3d885c8ccc3374fb1e873e2c18f44 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit 92a5f3b782b4037beaf9b404683239cf71105586 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 19:14:25 2018 +0200 Cleanup; fix STUN servers commit e9eeea48e5ea76214971daa1a879b0ae2ba1a196 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:54:52 2018 +0200 Fix notifications on android commit 36ec13d4285b1d8633cc3bddd26df8fddbb8e59e Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 18:53:31 2018 +0200 Fix uncaught error in server commit abf96c02282c5171793f5487880918f4719e8f15 Author: RobinLinus <robinlinus@users.noreply.github.com> Date: Fri Sep 21 16:36:59 2018 +0200 Test
2018-09-24 13:14:11 +02:00
* Fix bugs and make a pull request.
* Do security analysis and suggestions
2015-12-18 16:50:36 +01:00
2018-09-21 16:12:21 +02:00
## Local Development
2019-06-13 16:47:25 +02:00
[Install docker with docker-compose.](https://docs.docker.com/compose/install/)
2018-09-21 16:12:21 +02:00
```
2019-06-13 16:57:48 +02:00
git clone git@github.com:RobinLinus/snapdrop.git
2019-06-13 16:47:25 +02:00
cd snapdrop
docker-compose up
2018-09-21 16:12:21 +02:00
```
2019-06-13 16:47:25 +02:00
Now point your browser to http://localhost:8080.
2018-09-21 16:12:21 +02:00
   
## Deployment Notes
The client expects the server at http(s)://your.domain/server.
When serving the node server behind a proxy the `X-Forwarded-For` header has to be set by the proxy. Otherwise all clients that are served by the proxy will be mutually visible.
2018-09-21 16:12:21 +02:00
By default the server listens on port 3000.
2016-01-02 14:19:11 +01:00
2019-06-13 16:57:48 +02:00
For an nginx configuration example see `nginx/default.conf`.
2016-01-02 14:19:11 +01:00
## Licences
2016-12-07 01:30:43 +01:00
* Thanks to [Mark DiAngelo]() for the [Blop Sound](http://soundbible.com/2067-Blop.html)