https://github.com/ajainvivek/p2pdrop
P2PDrop will allow you to share files between peers powered by WebRTC
https://github.com/ajainvivek/p2pdrop
electron emberjs p2pshare webrtc
Last synced: 3 months ago
JSON representation
P2PDrop will allow you to share files between peers powered by WebRTC
- Host: GitHub
- URL: https://github.com/ajainvivek/p2pdrop
- Owner: ajainvivek
- Created: 2015-12-11T06:46:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-06T21:16:37.000Z (almost 9 years ago)
- Last Synced: 2025-02-27T03:11:50.862Z (3 months ago)
- Topics: electron, emberjs, p2pshare, webrtc
- Language: CSS
- Homepage: http://app.p2pdrop.com/
- Size: 1.77 MB
- Stars: 28
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
P2PDrop
Share files between peers powered by WebRTC
[](https://gitter.im/ajainvivek/P2PDrop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
P2PDrop is a file sharing application which allows you to transfer files directly between devices, without having to upload to any server. It uses [WebRTC](http://www.webrtc.org)(data channels) powered [WebTorrent](https://webtorrent.io/) for peer-to-peer file transport, [SimpleWebRTC](https://github.com/andyet/SimpleWebRTC) for exchange of hash handshake between peers and [Firebase](https://www.firebase.com) for presence management.
P2PDrop requires internet connection to establish handshake between peers. It lets you securely share large files without even uploading to server therefore you need not worry about data leakage.
### Setup & Installation Steps
* Once the repository is cloned do npm install & bower install.
* If you are using latest version of node and get script error in terminal then paste below script in terminal
```js
git clone git://github.com/creationix/nvm.git ~/.nvm
printf "\n\n# NVM\nif [ -s ~/.nvm/nvm.sh ]; then\n\tNVM_DIR=~/.nvm\n\tsource ~/.nvm/nvm.sh\nfi" >> ~/.bashrc
NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
```
* Configuration - go to config/environment.js update the config
```js
/**
* Set your custom configuration here
**/
var config = {
firebase : "", //firebase url
imgur : "", //imgur client id
googleAnalytics : "", //google analytics is
emailServer : "", //custom email server
signallingServer : "" //custom signalling server
};
```
* Run the application on browsers
```js
ember serve
```
* Generate electron builds
```js
ember electron:package
```
* P2P Email Server & Signalling Server repositories
* [P2P Email Server](https://github.com/ajainvivek/P2PServer)
* [P2P Signalling Server](https://github.com/ajainvivek/P2PSignalling)### Supported browsers & desktop
* Chrome (desktop and Android) 33+
* Windows, Mac & Linux### Note
* P2PDrop is currently developer version.
* Any bugs observed. Please report it so we can get it fixed for you.## License
#### The MIT License (MIT)
Copyright (c) Chaicode
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.