Ask HN: WebRTC self-hosted file sharing
4 comments
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...
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
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.
Sounds similar to https://github.com/RobinLinus/snapdrop
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.
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?