this post was submitted on 30 Jan 2025
110 points (95.8% liked)

Selfhosted

61544 readers
1189 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hey,

I was wondering what folks use to quickly send a file or a link between your PC and android phone in a lightweight and self hosted way.

Currently I use syncthing to copy files around, but I'm looking for something more immediate, and quick than doesn't involve searching for folders in a file manager.

Example use case: Send a file from PC to phone. Notification pops up on phone, tap it to access.

(PC runs OpenBSD)

What lightweight software do you guys use?

Stuff I tried so far:

  • syncthing
  • xmpp
  • tox
  • scp and termux.
  • magic wormhole
  • telegram saved messages
top 50 comments
sorted by: hot top controversial new old
[–] Lettuceeatlettuce@lemmy.ml 51 points 2 years ago (1 children)

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.

[–] vext01@lemmy.sdf.org 6 points 2 years ago (2 children)

Dart (the language it's written in) doesn't work on BSD, so sadly that's out of the question for now.

[–] Lettuceeatlettuce@lemmy.ml 5 points 2 years ago

Dang, that's too bad. Hopefully one day!

load more comments (1 replies)
[–] vinnymac@lemmy.world 50 points 2 years ago* (last edited 2 years ago) (6 children)

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)

LocalSend

SnapDrop

ShareDrop

FilePizza

Original Wormhole

PeerTransfer

JustBeamIt

Send Visee

[–] Voroxpete@sh.itjust.works 23 points 2 years ago (1 children)

+1 for LocalSend. Well worth checking out.

[–] Arkhive@lemmy.blahaj.zone 8 points 2 years ago

Another +1 for it here. Use it multiple times a day between Linux, MacOS, android, and iOS.

[–] happinessattack@lemmy.world 17 points 2 years ago

+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.

[–] reddwarf@feddit.nl 7 points 2 years ago

+1 Love LocalSend!

[–] dahpu@feddit.org 3 points 2 years ago

PairDrop is a fork of SnapDrop, which at one point had more features and active development. Don't know, how it is nowadays though.

load more comments (2 replies)
[–] nichtburningturtle@feddit.org 40 points 2 years ago (3 children)

I usually use kde connect.

[–] klangcola@reddthat.com 12 points 2 years ago (1 children)

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

[–] needanke@feddit.org 5 points 2 years ago

And having a unified clippboard is just so convenient

[–] cyberwolfie@lemmy.ml 3 points 2 years ago

Yeah, me too. It is quick and easy. I use SyncThing for things I want to keep synced.

load more comments (1 replies)
[–] hendrik@palaver.p3x.de 23 points 2 years ago* (last edited 2 years ago) (1 children)

Kdeconnect. Alternatively NextCloud or sending an email to myself.

[–] sem@lemmy.blahaj.zone 3 points 2 years ago* (last edited 2 years ago)

Seconding sending an email. SMB for big stuff.

[–] electric_nan@lemmy.ml 13 points 2 years ago (1 children)

I use KDEConnect. I don't know about iPhone but it works with Android, Linux and Windows.

[–] rumba@lemmy.zip 4 points 2 years ago (2 children)

I have tried to use KDEconnect over and over, It doesn't work on my work network, it doesn't work on most of my home network, If my laptop my cell phone come up as different IPs it gets confused. It's discoverability is just absolutely horrible except for a select number of plain vanilla networks.

load more comments (2 replies)
[–] Deckweiss@lemmy.world 12 points 2 years ago* (last edited 2 years ago) (3 children)

https://pairdrop.net/

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.

Never heard of that tool. Thank you for sharing it!

load more comments (2 replies)
[–] MangoPenguin@lemmy.blahaj.zone 11 points 2 years ago (2 children)

Localsend works great for me.

load more comments (2 replies)
[–] jet@hackertalks.com 9 points 2 years ago (5 children)

Kde connect is also a option

load more comments (5 replies)
[–] qwerty@discuss.tchncs.de 7 points 2 years ago
[–] JASN_DE@lemmy.world 6 points 2 years ago (1 children)

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.

[–] vext01@lemmy.sdf.org 4 points 2 years ago

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.

[–] terminhell@lemmy.dbzer0.com 6 points 2 years ago (2 children)

I mean, the fastest method is likely to just plug the phone into PC and pretend it's a flash drive?

[–] Hawk@lemmynsfw.com 5 points 2 years ago (2 children)

From memory MTP is pretty flaky and quite slow.

ADB push is pretty good but at that stage rsync is just as easy.

Put SSH in the phone and you can do it all from the computer too.

load more comments (2 replies)
load more comments (1 replies)
[–] lka1988@sh.itjust.works 5 points 2 years ago

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.

[–] Darkassassin07@lemmy.ca 5 points 2 years ago* (last edited 2 years ago) (1 children)

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.

[–] vext01@lemmy.sdf.org 3 points 2 years ago (1 children)

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.

[–] Darkassassin07@lemmy.ca 4 points 2 years ago (2 children)

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.

load more comments (2 replies)
[–] deadcatbounce@reddthat.com 5 points 2 years ago* (last edited 2 years ago)

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.

[–] Enkers@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago) (1 children)

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

[–] vext01@lemmy.sdf.org 3 points 2 years ago

Not heard of this one. Thanks.

[–] waldek@lemmy.86thumbs.net 4 points 2 years ago (3 children)

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.

[–] vext01@lemmy.sdf.org 4 points 2 years ago

Too much typing, especially if transferring from phone to computer.

Thanks though.

load more comments (2 replies)
[–] Fuzzypyro@lemmy.world 4 points 2 years ago

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.

[–] haverholm@kbin.earth 4 points 2 years ago

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).

[–] bjoern_tantau@swg-empire.de 4 points 2 years ago* (last edited 2 years ago)

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.

[–] hperrin@lemmy.ca 4 points 2 years ago

I use QuickDAV and OwlFiles.

[–] just_another_person@lemmy.world 3 points 2 years ago

I'd use anything else that is based on rsync over Syncthing

[–] LodeMike@lemmy.today 3 points 2 years ago* (last edited 2 years ago)

SFTP or Matrix

[–] Kolanaki@yiffit.net 3 points 2 years ago

For a single file, I just use Bluetooth. For a lot of files, or a really big file, I plug my phone into the PC and set it to storage device.

[–] art@lemmy.world 2 points 2 years ago

Open source file manager Material Files lets you set an SSH server as a bookmark and mount it instantly. Moving files around just like like it's native. Works seamlessly through Tailscale.

load more comments
view more: next ›