this post was submitted on 27 Oct 2024
95 points (97.0% liked)

Asklemmy

43858 readers
1707 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Sometime i want to send small messages between devices, such as a url, a note, a id, a token, a piece of code, a picture Especially send between phone and laptop.

Some chatting app have self messages such as telegram saved messages, slack (you), Microsoft team...

However i don't want a bloated chat app that would took few hundred mb on phone, or required to install an app on my pc (linux which make many app broken). I don't want work chat app too, because self messages can be seen and scanned by employer (yes, a security add on chatbot on slack warm me because i send something like password to myself on slack)

Something like Opera Flow would fit perfectly, but i don't want opera browser.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] PoolloverNathan@programming.dev 6 points 2 weeks ago* (last edited 2 weeks ago)

SSH over Tailscale to Termux (all three free) using private-key authentication โ€” two levels of e2ee, and fairly easy to use.

For small bits of text, I use one of these, depending on the direction and the source device:

  • Laptop โ†’ phone: xclip -o | ssh phone termux-clipboard-set
  • Laptop โ† phone: ssh phone termux-clipboard-get | xclip
  • Phone โ†’ laptop: termux-clipboard-get | ssh laptop DISPLAY=:0 xclip
  • Phone โ† laptop: ssh laptop DISPLAY=:0 xclip -o | termux-clipboard-set

For larger things, or files, I use scp. For other devices that I haven't setup beforehand, or can't set up (e.g. can't run arbitrary programs), I connect to my phone's hotspot, and use Total Commander's Wi-Fi transfer addon for files (both of which are also free). Small strings I just copy over by eye and hope it goes well.