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
  • arthurpizza@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 hours 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.

  • EvilHaitianEatingYourCat@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 hours ago

    I ll just hijack this thread : when plugging my android into laptop, the laptop doesn’t recognise it as anything. And the phone doesn’t give me the option to “share files” instead of just charge. Does anyone knows what’s wrong?

    • qwerty@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      8 hours ago

      Check if your cable has data lanes, some cables don’t have them and can only be used for charging. Tap the charging notification and check if you can change it to file transfer.

  • electric_nan@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    15 hours ago

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

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      14 hours ago

      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.

      • electric_nan@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        14 hours ago

        Damn that sucks :(. Seems to me I have to disable my VPN in order to discover devices, but I can re-enable it afterwards. I use it mostly for clipboard sharing between devices.

        • rumba@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 hours ago

          My home network is split between wired and wireless, they’re on different IP ranges. I have every proper forwarding protocol and UDP sniffing everything set up so that devices can talk to each other across subnets.

          It refuses.

          So at home I can set it up on Linux to use a static IP to find my phone. And the phone kind of deals with it and works most of the time. But then I go to work and my IPs are the two devices change. Then I’m SOL.

          Also if I’m home and I’m roaming onto one of my other networks to talk to security cameras or something it’s incapable of talking to my PC.

          Honestly it’s discovery is just bad for me. I really wish that it’s supported a list of IPs, or gave me some kind of client I could run in concert with tail scale or I could move s*** around it’s just absolutely inflexible and for no good reason.

    • Hawk@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      14 hours ago

      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.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        14 hours ago

        MTP’s not bad anymore. It works perfectly well in Windows Linux and Mac these days and is as fast as anything else.

        • Hawk@lemmynsfw.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          Oh good to know.

          It used to be awful but I’m glad to hear it’s improving.

    • ChapulinColorado@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      17 hours ago

      I don’t know if it is always the fastest. I know they said android, but for example on not too old Apple phones (pre-usb c), I had the impression you could get better throughout on wifi compared to a cable connection. Maybe that’s just apple trying to squeeze money on proprietary connectors, but other manufacturers seem to copy their worst takes sometimes though.

  • vividspecter@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    17 hours ago

    I’ll add in Bitwarden Send (including self-hosted vaultwarden), although probably doesn’t make sense if you’re not already using it for password management.

  • Lettuce eat lettuce@lemmy.ml
    link
    fedilink
    English
    arrow-up
    47
    ·
    2 days ago

    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.orgOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

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

      • Hawk@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        14 hours ago

        Maybe snapdrop?

        When I was obsd I did FTP and rsync for everything. Syncthing had dinner performance issues for me.

        Maybe Seafile but I had a bad time with that.