TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ShareDrop – P2P File Transfer Using WebRTC

92 pointsby plibither8over 5 years ago

18 comments

currysausageover 5 years ago
There&#x27;s a clone at <a href="https:&#x2F;&#x2F;snapdrop.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;snapdrop.net&#x2F;</a> which loads a little faster and works a little more reliably in my experience.<p>FAQ: <a href="https:&#x2F;&#x2F;github.com&#x2F;RobinLinus&#x2F;snapdrop#frequently-asked-questions" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RobinLinus&#x2F;snapdrop#frequently-asked-ques...</a>
评论 #21440984 未加载
评论 #21440713 未加载
评论 #21440732 未加载
dbrgnover 5 years ago
There&#x27;s this situation that comes up again and again: It&#x27;s 2019 and I want to send a (potentially large) file from my phone to my computer, or from my computer to my wife&#x27;s computer. How do I do it?<p>- USB connection? I don&#x27;t want to dig out my cable and climb under the desk to plugin the USB cable.<p>- Samba share? Forget it.<p>- FTP server app? Works, but usually quite slow and painful.<p>- Start a HTTP server to serve the directory? That works, but seriously?<p>- Sending via E-Mail or Dropbox? Oh FFS, both devices are connected to the same WiFi access point, how can it be that uploading the file to a cloud hosted across the world and downloading it again from my other device is the simplest approach?<p>So far, Sharedrop is the simplest solution I know that works across any device that has a modern browser and that allows me to send the file directly from one computer to the other, without the need for logins or accounts or external software or arcane command-line incantations.<p>(The WebRTC Datachannel stack is horrible and mostly neglected by browser vendors, especially Google, but that&#x27;s another story...)
评论 #21441462 未加载
评论 #21442182 未加载
评论 #21440917 未加载
评论 #21441362 未加载
评论 #21441948 未加载
评论 #21441120 未加载
评论 #21441003 未加载
jackewiehoseover 5 years ago
After working with WebRTC and realizing its potential I immediately disabled it in my webbrowser.<p>One fear was to become a peer in a (copyright infringing) p2p-network, unknowingly just by visiting a random website.<p>WebRTC can be very useful but I think browsers should ask for special permissions like they do for camera access etc.
评论 #21440806 未加载
评论 #21440465 未加载
评论 #21440495 未加载
coconutrandomover 5 years ago
Just shows &quot;Loading&quot; and the warning &quot;firebase.js:39 FIREBASE WARNING: The Firebase database &#x27;sharedrop&#x27; has reached its peak connections limit.&quot;<p>But if this is interesting, checkout <a href="https:&#x2F;&#x2F;instant.io" rel="nofollow">https:&#x2F;&#x2F;instant.io</a> which uses the webtorrent protocol.
评论 #21441040 未加载
评论 #21441252 未加载
Legogrisover 5 years ago
You really shouldn&#x27;t need any server-side at all for something like this these days (thinking about firebase).<p>Webtorrent should be mature enough.<p>We did something similar back 5 years ago for our BSc thesis project, using a DHT and Namecoin for distributed key exchange. Abandoned and obsolete, but in case anyone&#x27;s interested: <a href="https:&#x2F;&#x2F;github.com&#x2F;rymdjs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rymdjs</a>
评论 #21440638 未加载
ignoramousover 5 years ago
<a href="https:&#x2F;&#x2F;instant.io" rel="nofollow">https:&#x2F;&#x2F;instant.io</a> by u&#x2F;feross [0] is another tool that I use: It does BitTorrent over WebRTC [1].<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=feross" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;user?id=feross</a><p>[1] <a href="https:&#x2F;&#x2F;webtorrent.io&#x2F;faq" rel="nofollow">https:&#x2F;&#x2F;webtorrent.io&#x2F;faq</a>
MaxikCZover 5 years ago
PC and Android on same hotel wifi didnt find each other. Understandable, scanning QR code paired devices nicely.<p>Did speedtest.net<p><pre><code> on PC: 14&#x2F;10 Mbit down&#x2F;up with 8ms ping. on AN: 35&#x2F; 7 Mbit down&#x2F;up with 13ms ping. </code></pre> Transfering AN -&gt; PC at 3 Mbit&#x2F;s<p>When refreshed site on PC to try another direction my PC is stuck on &quot;loading&quot;. After restarting browser it went trough, but now my Android is stucked at loading. After completely closing firefox in Android I was finally able to pair again to do speedcheck in other direction:<p>Transfering PC -&gt; AN at.... 20 MB file transferred, by eye, 20% and got stuck.<p>Well, the search continues...
评论 #21448306 未加载
szimekover 5 years ago
ShareDrop author here.<p>It&#x27;s really great that people are still using it, after almost 6 years since the release! It was first announced here on HN: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7468328" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7468328</a>. Fun fact: on the same day Facebook announced Oculus acquisition ;)<p>Also, sorry that the service was down for some of you yesterday - it&#x27;s using a free Firebase account that has a limit of 100 connections - usually it&#x27;s enough.
cyborgx7over 5 years ago
I&#x27;ve been using file.pizza for the exact same thing. Can&#x27;t evaluate sharedrop right now because it is dead, but I find that the aesthetic of file.pizza makes it very approachable for a lot of people, though some people might consider it untrustworthy because of it.
mdrznover 5 years ago
I&#x27;ve been using this for months now, it&#x27;s great to quickly transfer files via WiFi on the same network. Right now, I guess it received the HN hug of death.
amanziover 5 years ago
This is pretty neat, and in my quick testing between Chrome and Firefox on both Android and Windows, it worked well.<p>A quick search on HN shows that this was first posted 6 years ago as a &quot;Show HN&quot; - looks like it&#x27;s come a long way since then: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7468328" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7468328</a>
评论 #21440203 未加载
timviseeover 5 years ago
Shameless plug to Firefox Send (<a href="https:&#x2F;&#x2F;send.firefox.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;send.firefox.com&#x2F;</a>) with ffsend (<a href="https:&#x2F;&#x2F;github.com&#x2F;timvisee&#x2F;ffsend" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timvisee&#x2F;ffsend</a>).<p>Crypto is done on the client. The key is in the share URL and is not sent to the server.
评论 #21440867 未加载
评论 #21441850 未加载
ishanjain28over 5 years ago
I don’t like webrtc based solutions because the speeds are subpar.<p>My phone and iPad are on the same WiFi network and both have a link speed of roughly 400mbps.<p>Using trebleshot(a oss file sharing tool like shareit&#x2F;midrop) I was able to get 30-40MBps which is pretty insane speed if you ask me.<p>But sharedrop didnt’t work. It failed with “could not establish direct WiFi connection with peer” error and with snapdrop that someone else suggested I could only get speeds of up to 15mbps(or roughly 2MBps).<p>I only use trebleshot on android and trebleshot via the web interface to transfer between iOS and android. It’s the fastest tool I have ever used and I strongly recommend it if you are looking for a tool like that.<p>TLDR being, webrtc based tools for p2p file sharing suck.
VvR-Oxover 5 years ago
It&#x27;s wonderful just like SnapDrop and I recently found another one: <a href="https:&#x2F;&#x2F;github.com&#x2F;spieglt&#x2F;FlyingCarpet" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;spieglt&#x2F;FlyingCarpet</a><p>I love the &quot;Air Drop&quot; feature from apple and I&#x27;m very happy we can do this on linux now without the need to explain someone how to open a socket in the terminal ;-P
boboshaover 5 years ago
This is a neat idea, I have had the same idea and been meaning to work on this for a while. Thanks for building this.<p>Can you share the technical details behind this? Also, what is your business model? Freemium?
Angosturaover 5 years ago
Trying at work (behind aggressive firewall). Loaded on my Mac OK with Safari first time. On my iPhone (same wifi) I just get &#x27;Loading&#x27;.<p>Have we killed it?
评论 #21440323 未加载
jjbinx007over 5 years ago
I&#x27;ve seen a lot of suggestions for alternatives but nobody&#x27;s mentioned station307.com yet
s09dfhksover 5 years ago
How does this differ from filepizza?