News for hackers. Stuff that matters.
Re:Mozilla’s Send makes it easy to send a file from one pers... by Sir_Cmpwn on Thursday August 03, 2017 @10:59AM (#14920137)
A better approach in 2017 is something like File Pizza: https://file.pizza/

This uses WebRTC to transfer files peer-to-peer.

Re:Mozilla’s Send makes it easy to send a file from one pers... by tadzik_ on Thursday August 03, 2017 @11:14AM (#14920283)
The 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.

Re:Mozilla’s Send makes it easy to send a file from one pers... by dijit on Thursday August 03, 2017 @11:08AM (#14920223)
YES, 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) :(

Re:Mozilla’s Send makes it easy to send a file from one pers... by alexkern on Thursday August 03, 2017 @04:15PM (#14923391)
FilePizza 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.
Re:Mozilla’s Send makes it easy to send a file from one pers... by Sir_Cmpwn on Thursday August 03, 2017 @11:16AM (#14920309)
There are other things with a similar concept. The core JS behind this is a couple hundred lines at the worst.
Re:Mozilla’s Send makes it easy to send a file from one pers... by dijit on Thursday August 03, 2017 @11:19AM (#14920338)
ideas on where to look?

I really prefer p2p if available, and on my LAN it doesn't have to traverse NAT or anything.

Re:Mozilla’s Send makes it easy to send a file from one pers... by Sir_Cmpwn on Thursday August 03, 2017 @11:31AM (#14920435)
https://www.sharedrop.io/

https://sharefest.me/

Or just start poking through their code and WebRTC docs/libs to see what you can build yourself.

Re:Mozilla’s Send makes it easy to send a file from one pers... by filiwickers on Thursday August 03, 2017 @11:40AM (#14920508)
Check out Dat: 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.

Re:Mozilla’s Send makes it easy to send a file from one pers... by Sir_Cmpwn on Thursday August 03, 2017 @04:45PM (#14923706)
Where's the code?
Re:Mozilla’s Send makes it easy to send a file from one pers... by filiwickers on Thursday August 03, 2017 @05:01PM (#14923856)
http://github.com/datproject. It is pretty modular so if you need help finding something hop in our chat: http://chat.datproject.org.

=)

Re:Mozilla’s Send makes it easy to send a file from one pers... by Sir_Cmpwn on Friday August 04, 2017 @04:08PM (#14931768)
Thanks!
Re:Mozilla’s Send makes it easy to send a file from one pers... by gfody on Thursday August 03, 2017 @02:47PM (#14922507)
Re:Mozilla’s Send makes it easy to send a file from one pers... by dijit on Thursday August 03, 2017 @04:34PM (#14923587)
Do you know where the source is?
Re:Mozilla’s Send makes it easy to send a file from one pers... by boondaburrah on Thursday August 03, 2017 @11:09AM (#14920230)
I now need an app that does this (so it can act as a file sink, ex. when you press "share" on your phone).
Re:Mozilla’s Send makes it easy to send a file from one pers... by floatingatoll on Thursday August 03, 2017 @11:17PM (#14926080)
"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.
Re:Mozilla’s Send makes it easy to send a file from one pers... by amelius on Thursday August 03, 2017 @12:02PM (#14920728)
Nice, 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.

Re:Mozilla’s Send makes it easy to send a file from one pers... by supertrope on Thursday August 03, 2017 @01:35PM (#14921722)
Effectively turning an asynchronous conversation (e.g. email) into a synchronous one (e.g. phone call).
Re:Mozilla’s Send makes it easy to send a file from one pers... by boobsbr on Thursday August 03, 2017 @11:48AM (#14920574)
WebSocket connection to 'wss://file.pizza/' failed: WebSocket is closed before the connection is established.