Coder Social home page Coder Social logo

perguth / peertransfer Goto Github PK

View Code? Open in Web Editor NEW
310.0 4.0 42.0 2.39 MB

:package: • Send a file p2p and e2e encrypted in your browser using WebRTC.

Home Page: https://perguth.de/peertransfer/

License: MIT License

JavaScript 40.85% HTML 16.34% CSS 42.81%
p2p webrtc transfer browser encryption filetransfer end-to-end-encryption

peertransfer's Introduction

Peertransfer

In-browser secure peer-to-peer filetransfer in three simple steps:

  1. Select the file you want to send.
  2. Open the generated link on other PCs.
  3. Download over a direct, authenticated and end-to-end encrypted line.

Thus the file will only be available for download as long as the sender keeps his browser tab open.

peertransfer

Features

  • Data is sent directly peer-to-peer.
  • Data is transferred using end-to-end encryption (due to WebRTC).
  • The messages that are relayed by a server to initiate the p2p WebRTC connections are encrypted (to protect against IP leakages and man-in-the-middle attacks while initiating WebRTC).

Install

A hosted instance of Peertransfer is available at https://perguth.github.io/peertransfer/

git clone https://github.com/pguth/peertransfer.git
cd peertransfer
export NODE_ENV=production
npm install
npm start
# You can also set HUB_URLS to a comma separated list of `signalhub` URLs

Related

  • A variation of Peertransfer I wrote: peermesh
  • sharedrop "HTML5 clone of Apple's AirDrop - easy P2P file transfer powered by WebRTC"
  • ShareFest "Web based p2p file sharing built on WebRTC Data Channels API"
  • serverless-webrtc "A demo of using WebRTC with no signaling server."
  • WebTorrent "Streaming torrent client for node & the browser"
  • OnionShare "Securely and anonymously share a file of any size"
  • FilePizza "Peer-to-peer file transfers in your browser"
  • HTML/CSS of this project are forked from Creating a File Encryption App with JavaScript (license: "You can use, modify and build upon our code for your (or your clients’) personal and commercial projects with no attribution necessary.").

peertransfer's People

Contributors

greenkeeper[bot] avatar perguth avatar pguth avatar waffle-iron 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

peertransfer's Issues

An in-range update of crypto-js is breaking the build 🚨

The dependency crypto-js was updated from 3.1.9-1 to 3.2.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

crypto-js is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Make code resilient against out of order packages

Receving chunk #1088 of 1093
bundle.js:57 Receving chunk #1093 of 1093
bundle.js:255 'webkitURL' is deprecated. Please use 'URL' instead.
bundle.js:57 blob:http%3A//pguth.github.io/edfd3656-6120-4244-a0df-3bb34d81ff92
bundle.js:57 Receving chunk #1089 of 1093
bundle.js:57 Receving chunk #1090 of 1093
bundle.js:57 Receving chunk #1091 of 1093
bundle.js:57 Receving chunk #1092 of 1093

Download starts before file transfer finishes.

multiple files

can you add the possibility to add multiple files (zip them for example like takeafile.com) ?

Problem loading page

[email protected] start /root/peertransfer

[[ $NODE_EVN = production ]] && npm run prod || npm run dev

sh: 1: [[: not found

[email protected] dev /root/peertransfer
signalhub listen -p 7000 & budo --live --host localhost index.js:bundle.js -- -t envify

signalhub listening on port 7000
[0000] info Server running at http://localhost:9966/ (connect)
[0000] info LiveReload running
[0002] 2090ms 3.6MB (browserify)

But cant connect to webpage

Error handling

  • "Could not connect. Retry."
  • If HTTPS for broker is disabled give alarm when user is trying to use HTTPS.

Document usage

How do I actually run the project?
I have successfully cloned the project.
But I don't see any server.js file to run a server for file transfer.

Stuck on Getting ready

signalhub.perguth.de is down or something?
sharedrop.io is down, this is down, everything is down?

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Add WebRTC checker

Some browsers do not support WebRTC, so I hope that peertransfer can detect whether WebRTC is supported when loading a web page and remind users.

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.