GithubHelp home page GithubHelp logo

ajainvivek / p2pdrop Goto Github PK

View Code? Open in Web Editor NEW
28.0 5.0 2.0 1.81 MB

P2PDrop will allow you to share files between peers powered by WebRTC

Home Page: http://app.p2pdrop.com/

JavaScript 36.76% HTML 7.25% CSS 56.00%
p2pshare webrtc electron emberjs

p2pdrop's Introduction


P2PDrop
P2PDrop

Share files between peers powered by WebRTC

Join the chat at https://gitter.im/ajainvivek/P2PDrop

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(data channels) powered WebTorrent for peer-to-peer file transport, SimpleWebRTC for exchange of hash handshake between peers and Firebase 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
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
/**
* 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
ember serve
  • Generate electron builds
ember electron:package

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.

p2pdrop's People

Contributors

ajainvivek avatar ember-tomster avatar gitter-badger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

p2pdrop's Issues

won't open via node or pm2

/var/www/perroud/htdocs/P2PDrop/app/app.js:1
(function (exports, require, module, __filename, __dirname) { import Ember from 'ember';
^^^^^^

SyntaxError: Unexpected reserved word
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3

I have tried to use node 0.10.25, 0.12.44 and 4.4.3
Many dependencies are deprecated too.

Using OSX (local), after many tries, via 4200 port, ok. But without UI at browser.
On Ubuntu, no results. I really need to use your firebase configuration?

What does secure mean?

P2PDrop is a secure file sharing application which allows you to transfer files directly between devices, without having to upload to any server. It uses WebRTC(data channels) powered WebTorrent for peer-to-peer file transport...

WebTorrent in its default is a non-silo solution. Which means data that is being seeded/transferred can potentially be downloaded by anyone. The description of P2PDrop on the other hand gives the impression of a private file transfer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.