5 ms·
I've been hosting my own pairdrop for a year now, very easy and quick to share a file between my smartphone and laptop without digging out a usb cable.
by INTPenis 2y ago
I've been hosting my own pairdrop for a year now, very easy and quick to share a file between my smartphone and laptop without digging out a usb cable.
- p4bl0 2y agoI use KDE Connect for that. Have you given it a try?
- INTPenis 2y agoNo, I did try the Gnome equivalent a long time ago but these days I use a more minimal setup. So I'd prefer a CLI tool.
- jimbobthrowawy 2y agoWhat is the Gnome equivalent? If you mean GSconnect, that's an implementation of kde connect. I think kde connect has some CLI tools, but they're not super ergonomic. For CLI stuff, I usually just run the python http server or woof and make a QR code with the URL.
- INTPenis 2y agoWhat about sharing from your phone to your laptop?
- e12e 2y agokde connect runs on laptops and phones? https://kdeconnect.kde.org/download.html https://kdeconnect.kde.org/download.html
- p4bl0 2y agoKDE Connect allows you to send individual files both ways and also to browse files on your phone from your computer. It is also capable of sharing the clipboard and open link from one device to another, as well as controlling input (mouse and keyboard) from another device.
- INTPenis 2y agoYeah I know but we were talking about CLI alternatives and the person said they used a quick python http webserver, but that doesn't work the other way.
- jimbobthrowawy 2y agoPersonally, I use pairdrop for that. Though, if I'm limited to CLI, woof has an upload option (-U) allowing me to select a file from the phone. Don't know of an easy way to do that from the builtin http.server.
- Toorkit 2y agoKDEConnect can be used from the CLI :) kdeconnect-cli --share [url|path/to/file] --device [device_id]
- ranger_danger 2y agoI really want to like kdeconnect because when it does work, it works well, but in my experience it just has way too many bugs and seems to randomly stop working for unknown reasons.
- lozf 2y agoI like the wormhole-william[0] Go implementation of "Magic Wormhole" protocol on the CLI. There's a couple of compatible Android apps[1][2] in the F-Droid store and Rydmport[3] for your GUI loving friends. [0](https://github.com/psanford/wormhole-william https://github.com/psanford/wormhole-william) [1](https://f-droid.org/en/packages/com.pavelsof.wormhole/ https://f-droid.org/en/packages/com.pavelsof.wormhole/) [2](https://f-droid.org/en/packages/com.leastauthority.destiny/ https://f-droid.org/en/packages/com.leastauthority.destiny/) [3](https://github.com/Jacalz/rymdport https://github.com/Jacalz/rymdport)
- TonyStr 2y agoThank you for introducing me to this! Life transferring files and holding presentations will be a lot easier from now on
- I_o_IllI__o_I 2y agoI use Telegram for that. Also good for taking notes or reminders for yourself without having to use a separate app.
- sneak 2y agoTelegram is not end to end encrypted, and thus not suitable for such uses due to insecurity.
- NayamAmarshe 2y agoTelegram has cloud encryption via MTProto 2.0. The servers use a distributed key generation mechanism.
- deleted 2y ago[deleted]
- ffpip 2y agoCloud encryption is just HTTPs + encryption at rest (only claimed, not verified). They hold the keys, irrespective of how many proprietary protocols they wrap over the message. A great product tho! I used saved messages extensively!
- NayamAmarshe 2y ago> Cloud encryption is just HTTPs + encryption at rest Not just plain-old HTTPs. MTProto 2.0 is a whole encryption algorithm for Cloud chats: https://core.telegram.org/mtproto/AJiEAwIYFoAsBGJBjZwYoQIwFMAm/2-0 https://core.telegram.org/mtproto/AJiEAwIYFoAsBGJBjZwYoQIwFM...
- ffpip 2y agoIn the end, they hold the keys irrespective of how many algorithms they wrap on top. I do not feel it is any different from Google Chat, Twitter DMs, etc. They do have a lot of censorship resistant and anti-MITM attack features in between, but they hold the keys by default I use it for convenience and amazing features, not for security!
- accrual 2y agoI've got another one on the topic of self-hosted file sharing: - FileBrowser (https://filebrowser.org/features https://filebrowser.org/features) - Syncthing (https://syncthing.net/ https://syncthing.net/) Run both as Docker containers on a server at home. Syncthing keeps the files on your PC, Mac, and BSD systems in sync, and FileBrowser can point to the sync share and supply a convenient web UI for phones, etc. It works for me, it's kind of like a local Dropbox.
- graemep 2y agoSyncthing does not need a server to work over the LAN, and I think you can set it to only use peer discovery over a LAN. You can disable pubic servers, but data sent through them is encrypted anyway. Syncthing + KDE connect does a lot. The only issues I have had is that I cannot ensure that both are always running on android.
- pbhjpbhj 2y agoFunnily enough, the only issue I have with kde connect is I can't get it to not run on Android; always starts in background somehow.
- accrual 2y agoOh for sure, Syncthing absolutely works peer to peer. But I find it useful to have a central always-online hub for clients to sync to. For example, imagine you save a file on your laptop then put it to sleep. You turn on your desktop and the file isn't there because the laptop is now asleep. Having a central 24/7 Syncthing server allows the share to always be available.