this post was submitted on 20 Apr 2024
292 points (99.7% liked)

Open Source

30982 readers
414 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Peer-to-peer file transfers in your browser Cooked up by Alex Kern & Neeraj Baid while eating Sliver @ UC Berkeley.

Using WebRTC, FilePizza eliminates the initial upload step required by other web-based file sharing services. When senders initialize a transfer, they receive a "tempalink" they can distribute to recipients. Upon visiting this link, recipients' browsers connect directly to the sender’s browser and may begin downloading the selected file. Because data is never stored in an intermediary server, the transfer is fast, private, and secure. (Your PC must be online while the recipient download the file(s), if you shutdown the PC or goes offline, the download also stops)

You can selfhost it or use the official instance

https://github.com/kern/filepizza

you are viewing a single comment's thread
view the rest of the comments
[–] kevincox@lemmy.ml 16 points 6 months ago (1 children)

I created my own similar tool: https://filepush.kevincox.ca/

It is optimized for the case where you commonly send files to the same devices. For example I have set up all of my devices as well as my partner's phone and Steam Deck. Then I can just tap them and send the file with end-to-end encryption.

It is sort of cool that there is no backing server, just static files. All of the signalling goes over WebPush.

[–] bitfucker@programming.dev 3 points 6 months ago (1 children)

If you are talking about WebPush, technically the browser company provides the backing server

[–] kevincox@lemmy.ml 1 points 6 months ago

That's a good point, I worded it poorly. The backing server is provided by you (via your browser). In theory you could run your own or whatever you want. But all traffic is encrypted so it doesn't matter much who runs it.