Snapdrop. selfhosted airdrop for your own network

3 years ago by death916 to c/selfhosted

A Progressive Web App for local file sharing . Contribute to RobinLinus/snapdrop development by creating an account on GitHub.

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"
  
raphael 18 points 3 years ago path: 0 284339, hotness: undefined, score: 18, children: 3
death916 3 points 3 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

path: 0 284339 284377, hotness: undefined, score: 3, children: 0
MisterB 1 point 3 years ago

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

path: 0 284339 325105, hotness: undefined, score: 1, children: 1
raphael 0 points 3 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)

path: 0 284339 325105 328963, hotness: undefined, score: 0, children: 0
Shortcake 8 points 3 years ago

You should check out pairdrop too.
Same underlying software with some great enhancements for security
Here is their Github

path: 0 284867, hotness: undefined, score: 8, children: 0
00 4 points 3 years ago

This seems similar to KDE Connect? Am i missing something?

path: 0 287058, hotness: undefined, score: 4, children: 4
curioushom 6 points 3 years ago

It's quite a different use case, it's meant to facilitate wireless transfer between any device through a browser tab without having to have any local software installed first. So think more like sharing full resolution photo to a friend's device who is connected to the same wifi as you by just both of you opening the same url, snapdrop.net or pairdrop.net (fork with more features) or your own selfhosted url.

path: 0 287058 287241, hotness: undefined, score: 6, children: 3
00 2 points 3 years ago

Ah, thank you! That makes sense.

path: 0 287058 287241 291597, hotness: undefined, score: 2, children: 2
FederalAlienSmuggler 1 point 3 years ago

The browser has to support WebRTC though.

path: 0 287058 287241 291597 298314, hotness: undefined, score: 1, children: 1
00 1 point 3 years ago

😐😐😐

path: 0 287058 287241 291597 298314 299367, hotness: undefined, score: 1, children: 0
Wiredfire 4 points 3 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.

path: 0 285083, hotness: undefined, score: 4, children: 2
planish 0 points 3 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?

path: 0 285083 285708, hotness: undefined, score: 0, children: 1
asjmcguire 2 points 3 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.

path: 0 285083 285708 286846, hotness: undefined, score: 2, children: 0
lupec 2 points 3 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.

path: 0 286233, hotness: undefined, score: 2, children: 0
binwiederhier 2 points 3 years ago

Awesome. Thanks for sharing.

path: 0 284780, hotness: undefined, score: 2, children: 0
Olly1240 2 points 3 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

path: 0 284706, hotness: undefined, score: 2, children: 0
jakoma02 2 points 3 years ago

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

path: 0 1111479, hotness: undefined, score: 2, children: 0
float 2 points 3 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.

path: 0 329882, hotness: undefined, score: 2, children: 1
deepdive 1 point 3 years ago

Syncthing is an amazing tool ! I'm always in aw how good it is and how good it works on all my devices ! It's a fantastic piece of open source software.

path: 0 329882 330435, hotness: undefined, score: 1, children: 0
Avalanched 1 point 3 years ago

I didn't know I needed this, I'm going to set this up right away Thanks for sharing!

path: 0 287881, hotness: undefined, score: 1, children: 0
grehund 1 point 3 years ago

Snapdrop is great. I don't need it often, but when I do, it's so simple and easy to use.

path: 0 285788, hotness: undefined, score: 1, children: 0
dan 1 point 3 years ago

What is the self-hosted podcast you mentioned?

path: 0 326175, hotness: undefined, score: 1, children: 3
death916 3 points 3 years ago path: 0 326175 327130, hotness: undefined, score: 3, children: 2
dan 2 points 3 years ago

Nice, thanks! Now I just need to figure out how to subscribe to a podcast, lol. I guess I can just add it to my RSS reader.

path: 0 326175 327130 359236, hotness: undefined, score: 2, children: 1
death916 1 point 3 years ago

That link takes u to a bunch of ways to subscribe and I believe they do have an rss fees

path: 0 326175 327130 359236 362336, hotness: undefined, score: 1, children: 0
zer0 1 point 3 years ago
path: 0 327905, hotness: undefined, score: 1, children: 0
slug 1 point 3 years ago

this is cool, i'd love something similar that replicates the Firefox send-to feature which i often use to leave a tab waiting for me on another device.

path: 0 293911, hotness: undefined, score: 1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
63002
6814
5980

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

go to feed...