4 ms·
A better approach in 2017 is something like File Pizza: https://file.pizza/ https://file.pizza/ This uses WebRTC to transfer files peer-to-peer.
by Sir_Cmpwn 9y ago
A better approach in 2017 is something like File Pizza: https://file.pizza/ https://file.pizza/
This uses WebRTC to transfer files peer-to-peer.
- dijit 9y agoYES, this is what I was hoping send was, another implementation of webrtc p2p file sharing. Unfortunately it is not. My only issue with filepizza is, I wanted to host one internally, but it has a hard dependency on a hardcoded list of torrent trackers. (I have a DENY ALL firewall rule at the border which can't be touched) :(
- Sir_Cmpwn 9y agoThere are other things with a similar concept. The core JS behind this is a couple hundred lines at the worst.
- dijit 9y agoideas on where to look? I really prefer p2p if available, and on my LAN it doesn't have to traverse NAT or anything.
- Sir_Cmpwn 9y agohttps://www.sharedrop.io/ https://www.sharedrop.io/ https://sharefest.me/ https://sharefest.me/ Or just start poking through their code and WebRTC docs/libs to see what you can build yourself.
- filiwickers 9y agoCheck out Dat: https://datproject.org/install https://datproject.org/install. We do NAT traversal but also connect to local peers over multicast DNS. Command line client should have a local or offline option to restrict only to local peers soon.
- Sir_Cmpwn 9y agoWhere's the code?
- filiwickers 9y agohttp://github.com/datproject http://github.com/datproject. It is pretty modular so if you need help finding something hop in our chat: http://chat.datproject.org http://chat.datproject.org. =)
- Sir_Cmpwn 9y agoThanks!
- gfody 9y agohttp://fy.lc http://fy.lc
- dijit 9y agoDo you know where the source is?
- alexkern 9y agoFilePizza creator here! I hear you—the dependency on the broadcast servers has been giving me issues. I'm planning on going back to a home-grown file transfer method over simple WebRTC, rather than using WebTorrent. Hopefully will get a fix out in the next couple days.
- boondaburrah 9y agoI now need an app that does this (so it can act as a file sink, ex. when you press "share" on your phone).
- tadzik_ 9y agoThe problem with all these P2P approaches is that they work sometimes, or barely. Aforementioned file.pizza can't even send me a file between my laptop and desktop, both being behind the same NAT. EDIT: Well what do I know, it worked today, but hasn't a few weeks ago when I first heard of it. The transfer speed however makes it seem like it's actually pushing it through the entire internet, it's flying at about 500kB/s.
- boobsbr 9y agoWebSocket connection to 'wss://file.pizza/' failed: WebSocket is closed before the connection is established.
- amelius 9y agoNice, but impractical, since now I have to keep the browser open. Most of the time, I want to send a link by email, and let the receiver choose when they want to download the file.
- supertrope 9y agoEffectively turning an asynchronous conversation (e.g. email) into a synchronous one (e.g. phone call).
- floatingatoll 9y ago"Better" is incorrect and presumptive. I'm frequently bound by idiotic networks that prohibit P2P in every possible form they can obstruct, including (through no fault of its own) WebRTC.