this post was submitted on 13 Oct 2023
34 points (97.2% liked)

Selfhosted

40042 readers
969 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

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

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hello.

I'm looking for a solution to send text from my PC to my phone, but also the other way around. Big plus if I can send files too in both ways. I already use pairdrop which is nice (while not 100% reliable from my experience) for files, and ntfy is good to send a notification (so basically text) to my phone but the android app won't let me send from my phone to my pc.

I used to use airdroid a while back, but I don't want to use proprietary software if I can.

Any idea ?

Solution: snapdrop or pairdrop. For text, right click on PC, long press on phone.

all 32 comments
sorted by: hot top controversial new old
[–] [email protected] 31 points 1 year ago (2 children)

Have you tried KDE connect? It has Linux & Windows clients and can send clipboard/files/notifications/etc. seamlessly in either direction between Android and PC.

[–] [email protected] 6 points 1 year ago

Thanks for your answer. I remember having tried it twice before. If I remember correctly, I ditched it because it was too complicated for my use case. But as everyone is suggesting it here, I shall give it another try :)

[–] [email protected] 1 points 1 year ago (1 children)

It really doesn't work well for me. I can't get the clipboard feature to work no matter what I do. And I can see all my SMS messages there, but when I send one, it never sends and there's no error message.

It works for notifications, which is one of the most important features for me, but idk. I feel like there's gotta be something better. Something where half the features aren't broken.

I used it many years ago with a different phone and laptop and had kind of a similar experience. Sometimes it would update and a feature would be broken for 6 months, then it would update again and it would start working. But at least SMS worked, which is probably my second most important feature.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

That's strange, I can't say I've experienced any of that over the past few years I've been using it. I have seen small differences in how windows and Linux handle the connection, but I think that has more to do with my Linux network settings than the app.

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago) (1 children)
[–] [email protected] 4 points 1 year ago

Thanks for your answer. I remember having tried it twice before. If I remember correctly, I ditched it because it was too complicated for my use case. But as everyone is suggesting it here, I shall give it another try :)

[–] [email protected] 13 points 1 year ago (2 children)

KDEConnect works great, you can share every form of content I've run across between desktop and mobile device. Runs on Linux, Windows and Android. Not sure if there's a Mac client.

[–] [email protected] 2 points 1 year ago (1 children)

Thanks for your answer. I remember having tried it twice before. If I remember correctly, I ditched it because it was too complicated for my use case. But as everyone is suggesting it here, I shall give it another try :)

[–] [email protected] 1 points 1 year ago (1 children)

If you run Tailscale on your phone and PC, they can sync from anywhere (Tailscale is a private mesh network client).

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Any vpn into your home network should work right? And that would include other solutions intended for local transfers mentioned here

[–] [email protected] 10 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago (1 children)

Correct me if I'm wrong but I thought the purpose of syncthing was to keep files in sync between 2 machines. Not to send files nor text.

[–] [email protected] 4 points 1 year ago (1 children)

Text can be in a file. All you do is add to the file and sync. Then add different files and sync.

[–] [email protected] 3 points 1 year ago (1 children)

While the solution is clever, I just wish I could simply type some raw text in a field and ping it on to my other machine.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I do this with Syncthing (specifically Syncthing-Fork, it provides finer sync job control), using a text file I keep open on my phone.

Not the most elegant solution, but is a damn near instant sync.

Syncthing shows up in the share meju, so for files you can share them to Syncthing, then pick the sync job you want it to use. It'll copy the file to that sync job's folder.

[–] [email protected] 10 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (2 children)

So for text, you just send a .txt file ?

[–] [email protected] 3 points 1 year ago (1 children)

Right click or long press (mobile) will bring up a text box. I mostly use it to send links back and forth between desktop and phone.

[–] [email protected] 3 points 1 year ago

I feel stupid for missing this functionality.

That is my solution. Thank you :)

[–] [email protected] 2 points 1 year ago

Snapdrop and pairdrop both support txt. On a PC right click your target. Android method will probably vary based on what app you're using.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

If you want persistent messages, use a messaging app like another poster posted. KDE connect should work, but it doesn't work for my setup for some reason.

If you just need transient messages, which is more of my usecase, and lightweight sending, use pairdrop.

snapdrop and pairdrop app from fdroid for Android, pairdrop website in desktop.

You can just use the website instead of app on phone too.

Sending over LAN is local - it doesn't go outside your own network.

If devices are on same WiFi, no pairing required.

You can also send across networks by pairing.

Project GitHub repository

[–] [email protected] 4 points 1 year ago

Localsend has clients for all OSs.

[–] [email protected] 3 points 1 year ago (1 children)

Signal messenger has a note to self function that can be opened on the phone and windows that will do text and small files

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Not sure why all the downvotes, I use the note to self function for exactly this type of thing all the time. Though to be fair signal is both on my phone and on my computer basically all the time because I use it to talk to everyone too...

EDIT: oh, it's downvoted because this is the selfhosted community....

[–] [email protected] 2 points 1 year ago

For smaller smalle text snippets I use QR codes. I use Binary Eye on android, I'm sure there is an open source tool for Windows too. For anything larger, I use syncthing.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

For files in particular, I wrote something for this called QuickDAV. It’s open source and runs on Windows, Mac, and Linux. You can connect from anything that supports WebDAV. Well, technically you can connect from anything that has a browser, because it has a web client build in.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

nearby share

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago)

Depending what you want, you can do this very simply:. Create an SMB network share on the PC. It can be password protected or not. Doesn't matter what OS, really (Windows, OSX, Linux). Then, on your Android phone, use an app like Solid Explorer or any other network capable file manager app that you like. Add the share to your file explorer app. After that, you can copy files just like the network share is a USB flash drive or SD card, or any other drive. It is taking advantage of stuff already built into your PC OS.