Ask HN: WebRTC self-hosted file sharing

15 points by denis4inet ↗ HN
I am looking for the Software that could run as a daemon on a Raspberry Pi-like single board computer to share files to everyone I want using WebRTC.

The idea is to generate a secret link on Raspberry Pi, then everyone could download a file or directory over Web App and WebRTC using this link.

Is there something already in the Open-Source Software world? Does it make sense to work on project like this?

9 comments

[ 3.9 ms ] story [ 9.9 ms ] thread
I think it is a great idea! Sharing files is something people still struggle with. WebRTC's NAT Traversal also could help people connect without fiddling with network settings.

A few projects exist to share files with WebRTC, but I don't know how easy they are to deploy etc...

Look at https://github.com/webtorrent/webtorrent. It's bittorrent, but run over webrtc and fully browser compatible.
It also now uses webseeds so could link to another pc without a browser.

But beware: webrrc implementation ignore limits of message sizes so raw implementation of webrrc in js fail to accomodate

It could be used as a base. But in the way it works right now not-encrypted private information could leak.
just use magic-wormhole, the best file transfer tool out there.
It doesn't look as a web-friendly solution, end user has to install a python, but I will check it out, probably it could be improved in the way I can share just a link.
There are many implementations out there. An android app, an iOS app, and probably also a web app.