12 ms·
An easy way to share files P2P, and how it works
- jodiug 13y agoRecently, I started building a website which does pretty much exactly this. When I had it up and running after a few days (the WebRTC API is relatively simple), I found sharefest and have been using that since. It's a great way to get files from one place to the other. The (encrypted) data does not go via a server, making this potentially the fastest, most scalable and safest type of file transfer available in a browser. One of the extra perks is that sharing files on a local network becomes really really fast. It's miles ahead Props to the devs for making this! :)
- shacharz 13y agoThanks!
- andarianlb 13y agoworks like magic, how did they not think of it till now?
- whadar 13y agoWebRTC was not there to help... It's just recently that DataChannels API hit Chrome and FF. Quite experimental stuff
- shacharz 13y agoHey thanks, It's lately enabled thanks to WebRTC data channel http://www.wertc.org http://www.wertc.org
- JosephHatfield 13y agohttp://www.webrtc.org http://www.webrtc.org
- katzboaz 13y agoNice! Didn't know about it before.
- shacharz 13y agoSome1 has shared this firefox swarm: http://www.sharefest.me/97dc9020 http://www.sharefest.me/97dc9020
- whadar 13y agoNice. Here's one for Chrome http://www.sharefest.me/53e62808 http://www.sharefest.me/53e62808
- adventureartist 13y agoThis. Is. Amazing.
- shacharz 13y agoThanks!
- shacharz 13y agoOf course we're looking for any feedback that you guys can give for us to improve.
- wslh 13y agoExcellent, I was making a list of this kind of service but having the source code available is a must. And this is exactly what we need against NSA... If someone is interested I share a list of similar approaches: https://www.getshareapp.com/v2 https://www.getshareapp.com/v2 (from BitTorrent, requires a plugin): http://www.jetbytes.com/ http://www.jetbytes.com/ http://www.filesovermiles.com/ http://www.filesovermiles.com/ http://host03.pipebytes.com/ http://host03.pipebytes.com/
- kimlelly 13y agoSupposing you're ok with using a client (open-source): http://retroshare.sourceforge.net http://retroshare.sourceforge.net is exploding. (It's not just file sharing, though: it aims to address your entire encrypted p2p communication needs.)
- phreeza 13y agoThere should be a HN keysharing thread. FWIW, here is mine: -----BEGIN PGP PUBLIC KEY BLOCK----- Version: OpenPGP:SDK v0.9 xsBNBFHUtg4BCACvWPNRhEGm/n3o+1tr1ye71SWwiCYDdC8cTn7t38Gmo/E/HG4q hgOJvRp8kAStwryzggAwRrE8rfEsJEP6YaGw+vTQVQffwKw6C4MlGx3TJ5OgklLl 93eAw0hfTVNZCcQ42g/wzEjigAcmb+Kd15M8wCKKNX0VR96SJjJMS+z7Fv0UGKSo MJnqS+6HLyR6SrgbIsRrGOziHDIz03ycH2T3Ckc66zmwvzi6uwcQFpVoqmtQZIiE nFzNJHLrtr+SlXQLw4rJgNixsUgiCBzm7nM2548ygk3OEOVFQA2HfSvrG8PlhdKo KtJBimYkov6eEgyDFrwBwUaqLUeSxHaH563JABEBAAHNJHBocmVlemEgKEdlbmVy YXRlZCBieSBSZXRyb1NoYXJlKSA8PsLAXwQTAQIAEwUCUdS2DgkQ7F/6kYGHq0IC GQEAAMNmB/9SOQFld2G8roNu+VOX5L0h0u6Hl4IsOpdxRkMofO0LFzH7n7+6EkBS sXOdBvcLo3UL2cJxCf3bI/u2MJrrRbIdls2id2g4egAtnupXtLVu6q6S1vRg40PB 2ab4iJKe4Siz5QedsZd6HGfaV46fEWl6Tfu/sbIVH+5vHqc9A/CYUW8HjGQRFm0Z Q4P1jwHkMTt/o6fUWWmja6/2Wz3j4v8HtkAuvusVqlPXmdDDNpyOt9L3stTQF1XQ XskJaegiNhp8j7MlMEb9TGNFRaim1G/w8EwCauO8j+fjHJxvXmmqCzL/pG1cxKik WYWfKn3+Q5MUfPpGltj0HdOkEw/yuu35 =37ck -----END PGP PUBLIC KEY BLOCK----- --SSLID--a71db6edde2788ece31c3437098be374;--LOCATION--mba; --LOCAL--192.168.0.4:33395;--EXT--92.229.126.245:44003;
- mknits 13y agoI've added you as a friend on Retroshare. Don't forget to approve me.
- tommi 13y agoWon't work for me. I want to send a file, know when it's done and close my computer. With Dropbox and others I know when it's sent from my perspective. With P2P the whole system becomes unstable. And for all of my file sharing, it is unacceptable. Too much uncertainty.
- shacharz 13y agoif you're only sending to one recipient we have that feature in (you get file downloaded green message on the top) if you have multi recipient that's a more complex ui problem that we're thinking of... Thanks for the feedback
- tommi 13y agoThanks for the reply! If I have to think that will I also CC somebody/team/any group before sending it out, then it becomes too complex for me. It's not then the easiest by far since I already have a working solution! Maybe I'm just not in the target group.
- shacharz 13y agoWell I agree that dropbox is easy, but it's also limited. Space for example. Also, if you're sending to a group of co-workers you don't have to upload the entire thing to the cloud. it'll transfer blazingly fast inside the LAN.
- djim 13y agostorage space and bandwidth are not really limiting factors on today's internet. i have over 100gig of online storage and 25mbps internet, for example. (corrected 1gig to 100gig).
- shacharz 13y ago1 gig is nothing (for many people needs). anyway I don't see sharefest as a replacement, but rather another tool.
- Xanza 13y agoThis might be cool in theory, but no way in HELL it's the 'easiest way in the world.' As of right now, only chrome can transfer files to chrome, and firefox to firefox. As of now, the easiest, best, fastest, and most secure way to transfer files is by using BTSync. (http://labs.bittorrent.com/experiments/sync.html http://labs.bittorrent.com/experiments/sync.html) Create a shared folder, give out the secret or read only key, done.
- StavrosK 13y agoYou forgot "Install BTSync", which is strictly more work than visiting a webpage.
- rasur 13y agoAnd you know it's "secure" because it's so open-source, right?
- dombili 13y agoSpeaking of which, is there a website where people share what they "sync" with BTSync? There was a website called 12char.com, but it's dead now. Are there alternatives to 12char?
- pixelcort 13y agohttp://reddit.com/r/btsecrets http://reddit.com/r/btsecrets
- 13y ago
- StavrosK 13y agoI submitted a feature request for encryption over this (it's probably vulnerable to MITM attacks as-is, as you never verify the recipient). My request was: * Generate the URL like sharefest.me/roomid#randomstring * Sharefest encrypts the file contents before and after transmission with randomstring as key using the SJCL. * Send the URL/key out of band, over a secure channel. * Voila, end-to-end crypto. I don't know if anything became of it, though. EDIT: Oh, here it is: https://github.com/Peer5/ShareFest/issues/24 https://github.com/Peer5/ShareFest/issues/24
- shacharz 13y agoYea you're right, we just didn't get around to it yet. Thanks for the issue.
- StavrosK 13y agoYou are quite welcome, hopefully you'll find some time soon, it would make Sharefest the file transfer mode of choice for paranoid people like me :)
- arethuza 13y agoOut of interest, if the decryption is being done in a client by JavaScript, what's stopping a MITM attacker replacing the JavaScript crypto library with something that captures the source URL and key?
- skymt 13y agoThat's a well-known problem with JavaScript crypto: http://www.matasano.com/articles/javascript-cryptography/ http://www.matasano.com/articles/javascript-cryptography/ The short answer is that so long as the page is loaded entirely over TLS, and the TLS isn't stripped or subverted in any way, it's safe from MITM. Sharefest doesn't currently support TLS, so they would need to set that up prior to enabling end-to-end encryption.
- 13y ago
- AndrewDucker 13y agoWhy can FF and Chrome not share? Is there a major difference in their implementations?
- shacharz 13y agoThey currently can't interoperate, but it's on their todo's I want to believe Chrome 31 and FF 26 will interoperate
- mtgx 13y agoWaiting for the day RIAA will "demand" that browser vendors, such as Google, Microsoft and Apple especially, stop implementing protocols that "make it easy" to pirate files. And the companies might actually listen. So far Google has fulfilled their every request and then some (hello ContentID, mass DMCA automation tool for links, and SEO punishments!), so it wouldn't surprise me if they did this, too.
- imissmyjuno 13y agoI would hope at least Mozilla would not comply with such a request..
- shacharz 13y agoThere is no right for such a demand as these protocols are just a technology that is not even necessarily related to the sharing of files.
- chourobin 13y agoI've been using http://dropandload.com/ http://dropandload.com/ which does something similar. It's cool that this is open source.
- shacharz 13y agoI don't think this is p2p, it's server streaming.
- MrJagil 13y agoWould it be possible to create a sharefest tracker? I.e. A piratebay with no magnet link or torrent file needed. Just a simple download button.
- shacharz 13y agoHmm, isn't that sharefest.me already? you just put the link for a file and bam...you're in a p2p network e.g: http://www.sharefest.me/d09118ed http://www.sharefest.me/d09118ed
- djim 13y agoI'll keep using Google Drive.
- shacharz 13y agoSharefest and google drive are made for different purposes. Sharefest is a file sharing/transfer platform. When Drive is, well as its name infers...a drive.
- djim 13y agoSharing files is a major feature of Google Drive.
- whadar 13y agoYes, but it's much more limited by the inherent use of server storage. They, for instance, give 15GB (https://support.google.com/drive/answer/2736257?hl=en https://support.google.com/drive/answer/2736257?hl=en) for ALL your files. So you end up thinking, should I share via Drive and waste 10% of my space for this one time sharing. Plus all the security/privacy issues...
- shacharz 13y agoI've received a feedback that people want a copy to clipboard button, I'm against it just because there's no way to do it today without flash. what do you guys think?
- NelsonMinar 13y agoCan you defer loading the Flash until the user clicks the "copy" button? Or just load one of the tiny Flash shims that are invisible, discussion at http://stackoverflow.com/questions/400212/how-to-copy-to-the-clipboard-in-javascript http://stackoverflow.com/questions/400212/how-to-copy-to-the...
- shacharz 13y agoIf anyone has bitdefender installed, it may block websockets from communicating with the server. If you don't receive a url when adding a file, check your websockets status here: http://websocketstest.com/ http://websocketstest.com/
- deweerdt 13y agoSharefest was covered at Google I/O's WebRTC pres: https://www.youtube.com/watch?feature=player_detailpage&v=p2HzZkd2A40#t=930s https://www.youtube.com/watch?feature=player_detailpage&v=p2...
- shacharz 13y agoYup, thanks it's on the bottom of the webpage.
- PavlovsCat 13y agoHow about a checkbox for keeping the file in local storage, so when you restart the browser, you can share that file without having to download first? Or is that done already anyway?
- isxek 13y agoThe FAQ link goes to the Github bugtracker. Can we have a proper FAQ page, please?
- whadar 13y agoYes, sorry about that. We surely need one... Check out the live chat in the meantime http://webchat.freenode.net/?channels=sharefest http://webchat.freenode.net/?channels=sharefest