Syncthing or https://pairdrop.net/
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I'm not sure if there's one the best tool, depending on a case, I use mix of
- scp
- localsend
- croc
- https://github.com/dutchcoders/transfer.sh
- https://github.com/stonith404/pingvin-share
- pbcli (pastebin)
- I also have a script that sends me mail with files attached
SFTP or Matrix
I usually use kde connect.
KDE Connect also works on Gnome, Windows and Android. I can't recommend it enough. Transfering a single image from phone to PC is instantaneous
And having a unified clippboard is just so convenient
I love localsend.
Works on Linux, Android, iOS, Windows, and Mac. It is basically an OS agnostic Airdrop.
It's FOSS, so you can go to the Github and build from source for OpenBSD, but I have no idea if that would work.
Dart (the language it's written in) doesn't work on BSD, so sadly that's out of the question for now.
Dang, that's too bad. Hopefully one day!
Syncthing is fast. I have an IPv6 setup too which seems to help.
I have my downloads directory on my desktop linked to a downloads directory on my Android; you can't link to the real Android downloads directory anymore so I use another.
When the file is removed from the desktop downloads directory it disappears from mobile.
I tried using Bluetooth between them but it's more fiddly than Syncthing with my config. Switch Bluetooth on on desktop, connect to desktop, send file, disconnect, move file. Whereas Syncthing is always on.
However, before I started using Obsidian notes I used to transfer URLs using Signal's Note-to-self thing. Signal on both desktop and mobile.
Obviously, I sync between mobile and desktop Obsidian using Syncthing.
Here are a bunch of local services I’ve used at one point or another from phone to PC or PC to PC. Not sure if any links are out of date.
KDE Connect
Wormhole (Closed Source)
- Site: https://wormhole.app/
LocalSend
- Site: https://localsend.org/
- Source: https://github.com/localsend/localsend
SnapDrop
- Site: https://snapdrop.net/
- Source: https://github.com/RobinLinus/snapdrop
ShareDrop
- Site: https://www.sharedrop.io/
- Source: https://github.com/szimek/sharedrop
FilePizza
- Site: https://file.pizza/
- Source: https://github.com/kern/filepizza
Original Wormhole
- Site: https://webwormhole.io/
- Source: https://github.com/saljam/webwormhole
PeerTransfer
JustBeamIt
- Site: https://justbeamit.com/
- Source: https://github.com/justbeamit/beam
Send Visee
- Website: https://send.vis.ee/
- Source: https://github.com/timvisee/send
- List of instances at: https://github.com/timvisee/send-instances
+1 for LocalSend. Well worth checking out.
Another +1 for it here. Use it multiple times a day between Linux, MacOS, android, and iOS.
+1 KDE Connect. File transfer works great on Android, Linux, and even on Windows 10/11! Clipboard sync is also a game changer; super easy to copy and paste across devices.
+1 Love LocalSend!
PairDrop is a fork of SnapDrop, which at one point had more features and active development. Don't know, how it is nowadays though.
Kdeconnect. Alternatively NextCloud or sending an email to myself.
open source, can be self hosted or you can use the official instance.
Personally I have been using KDE connect most of the time when I am at home.
Pairdrop I use more when sharing with other people across the internet.
pairdrop
I like this a lot.
A question. Docs say:
Your files are sent using WebRTC, encrypting them in transit. Still you have to trust the PairDrop server. To ensure the connection is secure and there is no MITM there is a plan to make PairDrop zero trust by encrypting the signaling and implementing a verification process. See issue #180 to keep updated.
Does this mean if you self-host on your LAN for personal use without https, then nothing is encrypted, or does WebRTC negotiate its own crypto?
Never heard of that tool. Thank you for sharing it!
Localsend works great for me.
Yeah, can recommend that one too Although it sometimes seems to have some performance problems with a large amount of files - could be, that it's already fixed though
Does your PC have Bluetooth? Definitely quick and sort of self hosted.
As I have basically all devices connected to my Nextcloud instance, I simply use that. I don't have any "time-critical" file transfers though.
Well my transfers aren't "time critical" either, but life feels easier if I don't have to jump through hoops to solve a task that involves copy files around.
Re: next cloud, looking for something more lightweight than that.
For more manual stuff; Ssh and X-Plore File Explorer.
Internal, sd card, ssh, ftp(s), google drive, dropbox, and a bunch of other cloud providers; treats it all like one big file system that I can casually copy/move files between.
For just syncing files between folders: FolderSync. The 'downloads' folder on my phone is setup as a 2-way sync with a folder on my server. Drop a file in either side, click sync, file is in both places. I use this to keep most of the files on my phone backed up, not just syncing the download folder.
I was a dedicated xplore user for years until I saw all the advertising cookies that they stuffed into it. That made me sad and I uninstall it.
I just paid the whole 4$ for the pro version and to support an otherwise free app I've quite enjoyed.
No ads/tracking anymore.
Devs gotta eat.
I also had the pro version. Last time I installed it, it asked me to review a bunch of cookies.
This was about a year ago. Could have changed since then.
FX File Explorer has a local web-access feature. Start it on your phone and access via local IP, then just turn it off when you're done.
Don't use on public wifi, it's http-only.
I use pairdrop. I don't personally self host it, but that option is available. It's better suited to more one-off situations, as there's no history kept anywhere.
Selfhost: https://github.com/schlagmichdoch/pairdrop
Open instance: pairdrop.net
Not heard of this one. Thanks.
I've tried LocalSend for this, but I usually end up using more reliable ways like Syncthing (not instantly transfered, but at a decent speed) or sending myself the file on Element for Matrix (as good as instantaneous).
I'd use anything else that is based on rsync over Syncthing
I often spin up a quick python http server. Just go to the folder which has the files you want to transfer and run the following command: python3 -m http.server
. This will server the folder content Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
. On your phone you can then browse to http://PC_IP:8000 and download what you want/need.
Too much typing, especially if transferring from phone to computer.
Thanks though.
I use SyncMe which synchronizes smb shares to your phone. It's great once you have it set up, but it does take a little setup. Gotta have shares and whatnot.
I use Cx file explorer and mount my PC via sshfs in there. It's closed source but it supports a whole bunch of protocols including samba, ftp and webdav. And it can launch a webserver on your phone to offer the phone's files. But sshfs is the most convenient for me.
And for links and other small texts I use either KDEConnect's copy and paste sync or just send myself the text in Signal.
You got some good replies and I personally am enamored by LocalSend, it is worth checking it out.
However, there is a simple way if a) you use whatsapp and b) the devices involved have access to whatsapp.
This involves not just sending files but you can send text and whatever whatsapp supports and you'll have a history of these chats should you need to have them later again. Probably possible with other platforms but I use whatsapp so that is what I setup for information transfer to myself.
The thing you want to do is create a chat group, add a friend for a very brief moment, remove said friend again after they accepted, enjoy your private group where you can dump any and all info into and pick up from wherever you have whatsapp available. The trick is to add a friend for a couple of seconds. If you create a group you are automatically in it but you cannot use it until you add someone else, then it becomes active and use-able. The fact that you end up alone in that group does not make it unavailable again. Weird but it works.
Hah. Nice hack!
Also, I love red dwarf.
I didn't see it mentioned yet, so I'll throw warpinator in the ring.
Clients are available for Linux, Windows, Android: https://warpinator.com/
Taildrop works relatively well for most all circumstances. Only thing is you gotta use trayscale or cli currently for sending files from a Linux/bsd machine. I don’t know if opened has a port for trayscale but it definitely has a port of tailscale.