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

Open Source

31116 readers
322 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
[–] vort3@lemmy.ml 9 points 6 months ago

Others told about snapdrop, sharedrop, localsend etc.

But depending on what devices you are talking about, you might do with just an http server.

I have a file manager on my (android) phone with a http server built in, and my laptop is connected to it via WiFi hotspot all the time. I just start a server on my phone and use a browser or any other download tool (curl, wget) to transfer files from my phone to my laptop.

If you have python installed, you can run an http server on any device you have (for example, a laptop) via python -m http.server and access your files from any other device on the same network by manually typing your local IP into a browser.