Heard about his on the self hosted podcast and just installed it and it works great. Dont use the given compose file just make your own with the linuxserver image. Here’s mine and it works over tailscale and through my reverse proxy.

version: "3"
services:
  snapdrop:
    image: "linuxserver/snapdrop"
    
    volumes:
      - /nasdata/docker/volumes/snapdrop/:/data
    
    ports:
      - "8090:80"
      - "4430:443"
  
    • death916@lemmy.death916.xyzOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Just looked at that and might have to try that. had a couple issues with devcvices finding eachother at first, but a reboot of thee container fixed it. Might be handy for sending my gf something when out and about.

      I just heard about this on the podcast and wanted to try it but pairdrop may be better. Thanks

    • MisterB@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      How would one securely host this via reverse proxy so bots don’t bring it down?

      • raphael@lemmy.mira.pm
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        2 years ago

        I put things behind traefik and authelia if they don’t have their own authentication. But anthing that the reverse proxy can offer would work I guess (like BasicAuth middleware on traefik)

  • Wiredfire@kayb.ee
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    I’ve always found snapdrop very very inconsistent. When it works is amazing, but it often as not doesn’t see other devices.

    LocalSend, on the other hand, is excellent. It’s an app so needs to be installed but it available for about every platform desktop and mobile and is my go-to now.

    • planish@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Another recommendation for Localsend. But it’s cool that Snapdrop manages to do almost the same thing and does it in the browser. I can definitely see where it would be useful.

      What’s the point of self-hosting Snapdrop though? Does it need a discovery server in there for WebRTC? Or does this just end up serving the same static files but now from a local server?

      • asjmcguire@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        The main reason to self host snapdrop is that a good 60% of the time, when I really need it to work - it’s down.

  • jakoma02@czech-lemmy.eu
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Also see pairdrop, it is a snapdrop fork that allows connecting devices on different networks using a numeric code and has other improvements.

  • Lupec@lemmy.lpcha.im
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Hah, just heard about it on the same place as well. I’m floored I’d never heard of it before, such a neat implementation. Planning on giving it a go sometime soon.

  • float@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I tried it a few times but was so slow (even in a local network), I ended up cancelling the transfer every single time. I prefer Syncthing which does require some basic setup though.

  • Olly1240@feddit.it
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I woul recommend LANDrop, apart from some fiddling with my unusual firewall, it has apps for whatever phone os, sharing menu integration on mobile, works flawlessly locally