HACKER Q&A
📣 trulyanakin

What is the best FOSS file sharing protocol/app?


Hello fellow hackers , i have been lurking here for quite some time but now i have a question that i wish i can ask you guys

i was wondering whats the best file sharing protocol/app/website , tbh send.vis.ee seems to be currently the best to me but still i wanted your opinion here are things i found

1. Localsend 2. ffsend 3. croc 4. webtorrent 5. magic-wormhole 6. using curl on 0x0.st or pixeldrain 7. (anonfiles has left so thats sad) 8. rsync / ssh 9. onionshare 10. ipfs

from what i am hearing , magic-wormhole makes the most sense since they seem to be the most open standard of sharing files but still seems incomplete or the lack of information on such topic makes me feels wierd.

croc seems to have a lot of cve and magic wormhole passed that test from suse's audit. webtorrent seems to fit in a wierd niche and its implementations like file.pizza arent really that well built ( considering you cant send multi files over there)


  👤 tetha Accepted Answer ✓
Mh, if you are on a somewhat trustworthy network - like your home WLAN - and need to get some files from a host on that network to another once, there is . Lookup your local IP, port 8000 is open, the PWD is being served. Throw wget/curl/telnet/nc at it and that's it.

For a more permanent setup, I tend to run SyncThing between my laptop and my stationary tower, for example to keep my ~/Projects and my ~/Documents up to date with each other. Sure, everything is in git as well. But it's neat to be able to just open up the laptop and your exact last project state or your last dwarfen fort is right there without really caring about it or dealing with it.

From there I'm currently considering adding a small vServer as a third SyncThing node so I don't have to start my laptop after travel once to get the data back onto the workstation. Would also add a bit of redundancy in case of fire, theft or law enforcement.

I'd also consider using the server as a bit of a file storage for some archival and data hoarding purposes, mirrors for some cloud services as well as backups of the syncthing state and such, but I'm not really sold on the tech to use there. Something like OwnCloud/Nextcloud looks pretty as a file store and might also allow family to store some stuff there... but it's quite the chunk of tech to maintain, patch, monitor and secure for something I technically could have via... sshd and some cloud volume? Not really decided there.


👤 ruune
For strictly local use, Google's Nearby share is technically FOSS but the documentation is basically non-existent and a proper Linux implementation is not here yet. Alternatives aren't hard to find though, with Mint's Warpinator or KDE Connect having worked well for me.

For non-local use (everything out of Bluetooth range), you almost have to trust a third party, unless you host yourself, and it really depends on your use case. Want to send your friend a file or host pictures of your birthday for multiple people to download? For the former magic wormhole works great, for the later you could almost spin up a nextcloud or similar (personally I like https://github.com/filebrowser/filebrowser ). Want to regularly send files from device 1 to device 2? Now sync solutions like syncthing or rsync become really viable.

If everything else fails, FTP always has your back


👤 matusnovak
Probably not what you are asking for, but if you would like to host on your own server, there is https://github.com/timvisee/send which is a fork of Firefox's Send.

You get a web interface where you can drag and drop files. It uploads the files to your own server and you will get a link to share them.


👤 ritsch_master
I used to use Syncthing for that. it worked really great. Especially with family members that are not so tech-savvy.

Off topic but related: I completely ditched my Linux setup in favor of macOS (+ my family went also full macOS). iCloud really does the job there.


👤 IronRod
LocalSend. Been using it for a month or more and fits well my occasional transfer needs and is nice that it works the same way on all platforms I use. I have five network shares on my server for general access from all other systems. Platforms: Android, LinuxMint, Fedora, Windows.

👤 edward28
Syncthing

👤 aborsy
For sending (not syncing) many files, SSH. For one time file transfer, magic wormhole.

For continuous sync, Synchting.


👤 stop50
One way only: my nextcloud instance and sharing files multi way sync: nextcloud app or syncthing.

👤 cpach
Depends on your requirements/needs/usage patterns.

magic-wormhole is probably the most secure one.


👤 1letterunixname
With anyone: ipfs

With internet- & LAN-connected users on devices under their control: afs (openafs)


👤 Alifatisk
List taken from my notes (removed the proprietary entries):

# WAN

instant.io

share.ipfs.io

Wormhole.app

# LAN

pairdrop.net

snapdrop.net

# CLI

Wormhole

Airtar

Webtorrent-hybrid

# Apps

KDE Connect?


👤 thy77
Magic wormhole or ssh

👤 dalmo3
Toffeeshare?