Brian Lovin
/
Hacker News
Daily Digest email

Get the top HN stories in your inbox every day.

eigenspace

My problem is that all these alternatives require the devices to be on the same local network.

One beauty of Airdrop is that it creates and handles that local network automatically under the hood (as far as I understand). So you could be out on a hike with friends and Airdrop something.

The workaround I've found after switching to an Android device has been to teather my connection to my friend's device, which ends up creating a LAN that Localsend can work through, but this is not as nice an experience.

raxxorraxor

I think the initial handshake for Airdrop is through bluetooth and then both devices peer through wifi. Not sure why there isn't a solution for Android, perhaps there are hardware limitations, I don't know the bluetooth stack.

If we would have good operating systems, perhaps this would be easier and more widely spread. Otherwise the solution has to come from the device manufacturer.

moo-jason

https://mbarlow.github.io/thinair/

Device to device transfer, just a static github page.

gh repo: https://github.com/mbarlow/thinair

Creates QR codes for each device to scan for webrtc. Android to android will do an audible chirp that lets the devices know to switch from qr code mode to opening the camera to scan each others codes. Tested android to apple and working, the audio chirp doesn't get caught by apple. Just wait and eventually the qr code will dissolve to allow scanning step.

Just threw this together. I was playing with audio handshake using bird-like chirp "songs" or old school modem between smartphones. Fun putting phones together as they send audio frames and confirm to start transfer, but unreliable and slow to handshake. I would like to cleanup the flow to improve. I've started using it for sending files between iphone/android/pc without having to deal with apps, emails, accounts, etc. blah.

thingortwo

This is using webrtc and speeds are slower than a physical USB I get 3-4MB/s instead of local network speed of 30MB/s due to browser browser implementation bottlenecks. I needed fast local network sharing of files over 5GB and tried a lot of approaches and speed doesn't budge more than 6-7MB/s .

Also you don't even need a server atleast for now in chrome webrtc transfer can work over a file:// in firefox it doesn't. For signaling you could even use free peerjs tunnel or other when user is connected to internet and otherwise fallback to this QR or offer code sharing. This will become so useful if browsers eliminate those bottlenecks.

also even in localsend speeds are limited usually to my internet speed for some reason.

nomel

Whenever I need to use something like this it's because the device isn't mine, which makes this so much better than an app. Would be cool if there was a text message option, and a bit of server so the second scan wouldn't be required. Pretty funny how simple the concept is though.

JayDustheadz

Doesn't seem to work for sending files from my Mac to my Android - I scan the code on the phone and....nothing happens? I tried sending via FF/Safari/Brave and receiving on FF/DDG. No idea what am I doing wrong.

nyreed

For true crossplatform p2p the closest I have found is FlyingCarpet [1].

But it is not super reliable or friendly.

[1] https://github.com/spieglt/FlyingCarpet

justmarc

We've made the one true, and ultimate, cross platform P2P + E2EE data transfer tool out there.

Both UI and CLI with complete feature parity on any device/OS, between the same user's devices and between users.

https://zynk.it

DerWOK

iOS App 10€/month Hmm - no.

rubslopes

Thanks for the tip. Just tried it and it worked great between MacOS and Android.

cachius

Make sure to also try PairDrop https://news.ycombinator.com/item?id=47935875

It's a pretty polished PWA you don't even need to install as it uses WebRTC P2P streaming in the local network or via TURN over internet.

So a good solution for ad-hoc file sharing without ad-hoc network.

user3939382

I use wormhole.app

eigenspace

Very cool, I didn't know about this. I'll watch it with interest.

max8539

Airdrop is also pretty weird: sometimes it can’t find other phones (probably when a previous transfer failed silently in the background). Also, it had some issues searching for contacts when there was no mobile/Wi-Fi connection (tried to send photos to another phone in the mountains). Sometimes it could just freeze and not work… Apple magic here isn’t really useful.

WhyNotHugo

Indeed, Localsend only does the last step of what Airdrop does. With Localsend, you need to:

- Create an ad-hoc Wi-Fi network on one device.

- Connect the other device(s) to that Wi-Fi network.

- Now run Localsend.

The first two steps are a bit of a drag, and the fact that Airdrop handles it is what makes it so frictionless to use.

giobox

Right, the first two steps are what make AirDrop, "AirDrop". This isn't an alternative at all if it requires both devices to already be connected to the same WiFi.

AirDrop is fantastic for sharing files with people you don't know/just met - if we have to find and agree to join the same wifi before we interact we are no longer talking about the same feature.

If Apple's AirDrop implementation had required people to join the same WiFi first, the feature would never have taken off the way it has among non-techy users. I'm still today mildly surprised I can use AirDrop as a verb in conversation and most of the time the other party knows what I mean.

askldfhalkdfh

This. Localsend may be very useful for a set of devices you control or influence. The USP of Airdrop is ad hoc sharing with people you don't really know. Classic case is meeting strangers on holiday and you want to swap some photos of the trip you're on. One or both of you doesn't have data or time to install anything, or it's just too hard to persuade someone they should install random app. Pairing Bluetooth or setting up local networks is way too convoluted and time consuming.

With Airdrop you have trivially easy, "just works" sharing with people in proximity. It works great between iPhones and Pixel phones now they support it. It just needs support to spread to more Android devices.

davely

> With Airdrop you have trivially easy, "just works" sharing with people in proximity.

Funny enough, I encounter so many problems trying to share things via AirDrop with friends, family, and even my own Apple devices that I just tell everyone to install LocalSend and I find that things work better.

I’m not sure why that is, because AirDrop used to work pretty well for me. But it’s been an exercise in frustration more often than not for me.

(Obviously, LocalSend works only as long as everyone is on the same network.)

Melatonic

I've found it very often falls back to sending over your internet connection even if your cell reception sucks. No idea why. People on a previous HN thread talked about solutions

t43562

setting up local networks is so trivial compared to forcing everyone to buy an Apple gizmo.

maratc

The real choice though is between (a) buying an apple gizmo and not having to set up local networks; and (b) buying a non-apple gizmo and having to do that.

bee_rider

True. But I mean these are photos (from strangers that you aren’t even willing to exchange phone numbers with?). It is a really non-essential feature anyway, so most likely everybody who doesn’t have an Apple device skips it.

sholladay

Not only that, but with iOS 17.1 or later, AirDrop transfers will continue to work if you go out of Wi-Fi range during the transfer. It seamlessly switches to an Internet-based relay.

lxgr

Which, in my view, significantly decreases the value proposition, as there is no way to deactivate this feature to my knowledge (at least not without also opting out of other useful features under the "Handoff" umbrella).

A typical Apple feature, dreamed up by engineers that are presumably not aware of the existence of metered data plans...

sholladay

You can disable it, actually.

Settings > General > AirDrop > turn off Use Cellular Data

That said, I don’t really see why you would disable that. It’s only a backup method for when the peer-to-peer connection fails. Unless you are sending huge files on a regular basis, I wouldn’t expect it to be worth disabling. Also, most metered plans I’ve encountered just cause your connection to be very slow after you hit the data cap.

If you are on a plan that automatically charges you excessive overage fees without warning and there is no other choice, then my condolences.

nine_k

Speaking of ad-hoc communication channels that do not require shared infrastructure: I like the idea of https://github.com/divan/txqr which sends data using animated QR codes. An ultimate guarantee of physical proximity. The bandwidth is not comparable to WiFi 6, of course, but no OS support is required.

cachius

cachius

The better example for colored QRs is https://jabcode.org/ by by Fraunhofer Institute for Secure Information Technology. It is more recent and actively maintained.

undefined

[deleted]

a7fort

Recently started using it, it works really well and it's much more reliable than AirDrop. But the UX could be improved.

But I just wish Apple fixed AirDrop, every time I go to use I have so little confidence in it, it often doesn't see devices or if you have multiple Mac users it will confuse them, showing you the same Mac device twice without telling you which user it is

d3Xt3r

I'm curious, what do you people use this for? What are all these (presumably large) files that you guys are generating and transferring, that requires the use of apps like these?

Like in my case, the only files I generate on my phone are photos and videos, and these get backed up by Immich, which I can then share with someone by sending them a link to the files/album in question. I imagine normal folks would use iCloud or Google Photos for the same task.

For syncing other files like documents and such, I use ownCloud OCIS, and I'd imagine most other folks would use something like DropBox or iCloud, or even just email or WhatsApp the files.

For local network transfers of say ISOs or something, I'd just copy them over SMB, which is pretty much universal and doesn't need any special app. Or even just plug in a hard drive, if I'm doing backups.

So I don't understand why I should be using this.

RandallBrown

Sending someone a link to a photo is a much worse experience than sending them the actual photo directly to their phone.

Sending a photo over text message often compresses it, which isn't always desirable. (Not actually sure if it gets compressed when sent of iMessage)

I've also used it to send people photos when we were in places without cell service like on hiking and camping trips.

energy123

Sending plain text from one device to another. I was debugging my steamdeck and I send code snippet from desktop chatgpt to steamdeck using Localsend to run. Then I send the debug output (also plaintext) back to desktop to ask chatgpt what to try next. Other than this, random small files from time to time. The app is lightweight and just works.

Obscurity4340

Threema's better for that use case

brianwmunz

I use it for moving SSH keys, VPN configs, and .env files between my laptop and a work machine. Obviously don't want that sitting in dropbox, pasted into Slack, etc. Localsend on the same network, gone in two seconds no account and no history. Easier than spinning up scp every time.

michaelscott

For me, video is the main one. Sizes from 100MB - 3GB. Getting videos from an Apple device to an Android is a pain in the ass because I need to 2FA log in or click through something relatively convoluted (Dropbox, GDrive) or deal with pulling out some hardware I use once every 100 years (external drives). Localsend is a 2 or 3 click operation and very robust.

inquirerGeneral

Luckily, Google enabled Airdrop inside of Quick Share so my phones and my MacBook and my Windows PC all can share now.

internet101010

I use LocalSend a lot to send my clipboard or random files when I don't feel like using ssh or using NAS as intermediary.

burner35534

I only use it for sending a bunch of photos that wouldn't go so well over iMessage, usually on vacation. And sometimes that vacation involves not having cell service. Otherwise I'll usually message a single photo to someone because AirDrop is finicky.

internet_points

my kid recently wanted to transfer a picture from an iPad drawing app to a windows laptop, I wish I knew about localsend for that

undefined

[deleted]

dmak

Have you tried troubleshooting those issues already? I had similar visibility issues in the past, but seems to always work now for me.

tonyedgecombe

I think it initiates the connection over Bluetooth so if your Bluetooth is poor it isn’t going to work very well.

OGWhales

Yup, for me I can see the device but when I try to initiate a send it just doesn't show up on the other device about half the time. I've not found a reliable way to fix it either, toggling AirDrop on and off on both devices seems the best way to fix it but only works like 70% of the time.

lxgr

I feel like we need a spamsolutions.txt [1] for purported AirDrop replacements.

This one fails the "must not require an existing Wi-Fi network that both peers are connected to" criterion.

[1] https://craphound.com/spamsolutions.txt

satvikpendem

Look into Sendme [0] and AltSendme [1] (which is a GUI around the former), they use Iroh [2] which is an open-source encrypted peer-to-peer relay service to send data so there are no limits whatsoever for sending and receiving files, because there's no central server.

From my earlier comment about a similar thread a couple days ago about which file sharing apps people use [3]:

[0] https://github.com/n0-computer/sendme

[1] https://github.com/tonyantony300/alt-sendme

[2] https://github.com/n0-computer/iroh

[3] https://news.ycombinator.com/item?id=47906587

3371

This kind of services that requires the user to share a seed/code to the recipient always seems kinda awkward to me. The code is not simple/short enough to be verbally communicated; If I can send the code, I usually can just send the file.

satvikpendem

Not necessarily. For example I might have a few gigs of photos to send someone, and I want to send them uncompressed. I could text someone the seed or QR code for them to download the photos, but I can't send those photos (especially uncompressed, even if over RCS or WhatsApp) over text.

cortesoft

Wouldn’t this use your internet data, though? Isn’t the point of these tools to send locally without being limited by internet speeds and without having to use your mobile data?

nine_k

The code can be easily communicated as a QR code. But a 100 MB file cannot.

miguel-muniz

https://github.com/schlagmichdoch/pairdrop

A similar project but this one works entirely in the browser and can connect to clients beyond your local network with "public" rooms

hecifato

I'll need to give this a shot. I have Localsend installed for sending thing between my iPhone and Linux desktop, but it doesn't always play nice. Even with the Localsend port open in Firewalld it can take upwards of 10 minutes for the devices to see each other. A browser solution should at least have faster discovery.

cachius

Pairdrop is awesome! The docs are a bit hidden, the FAQ is at https://github.com/schlagmichdoch/pairdrop/blob/master/docs/... and the How-To for integration into Share menu on Android, iOS and Windows at https://github.com/schlagmichdoch/PairDrop/blob/master/docs/...

They forked sharedrop after it and snapdrop got acquired and enshittified by LimeWire, whoever that is now.

hbn

Should have been called PearDrop

newhotelowner

And it works in the browser. https://web.localsend.org/

From windows to android to iOS.

duckmysick

I can't get it to work on my end. Tried sending/receiving with Firefox, Chrome, mobile phone, a laptop.

Got this in the console: `WebRTC: ICE failed, add a TURN server and see about:webrtc for more details.` Not sure how to troubleshoot this. Most of the suggestions I found are for the devs not users.

EDIT: Ok, figured it out. It works if I disable Tailscale.

nazcan

How does this work to discover things on the LAN from a browser?

tetris11

Amazing! Though v1.18.0 hasn't dropped in F-droid yet

clutch89

I wish you just send plaintext on the web app, it looks like it only works for files

coldstartops

Hi,

I am late to the party, but I was also building in this space in the last year,

Basically I did a peer to peer filesystem named keibidrop: https://keibidrop.com/

I made it public last week. It does what local send does, but also via WAN. Still did not launch the mobile apps.

And 1 up is that it has also a virutal filesystem that is synced both ways.

repository is here: https://github.com/KeibiSoft/KeibiDrop

The code is open source, except for the UI, and I did benchmark on loopback vs localsend (local send is faster :D )

https://keibisoft.com/blog/keibidrop-benchmarks-vs-competiti...

and was also trying to get a commenting thread in /r/golang yesterday!

behind the hood I went with PQC, + gRPC + FUSE.

FireInsight

Very interesting. With the "virtual folders" feature, doesn't this also compete with Syncthing kind of? I have actually been looking for a solution like Syncthing, where I can write and cache files offline without actually having all the files in the full synced folder on every device (just my NAS). Kind of a hybrid between a remote filesystem mount and full-on folder sync.

Ey7NFZ3P0nzAe

I made websend to make it easier and secure to send images from phones to computers. It also allows automatically OCRing and cropping etc to turn a bunch of pictures into a proper pdf when there's no flatbed scanner around.

https://github.com/thiswillbeyourgithub/WebSend

Note that I'm currently refactoring it heavily (the code is awful currently).

Unicironic

After switching to Linux, this was one of the very first applications I installed.

It really helped cement how great open source apps can be for me.

nshntarora

This is a great app! Simple and does the job.

The F1TV app is not available in my country on play store on my Google TV. The first time, I logged into the device using the android debugger to install the APK - I didn't want to use an ad-full app. Then I tried LocalSend, and it is now my default to send the APK from my mac to my android tv. Love the simple experience. Minor quirks in the UI, but gets the job done.

MasterYoda

LocalSend is the best app to transfer files from mobile to computer wireless that I have fund.

But it has one really big weakness/bug. When you transfer a file and it get interrupted, the half written file on the receiving end is not removed and you get an corrupted file. If you dont notice it, it could look like al files are transfered, but they are not. This is really bad, it is not how files should be "copied/transfered".

Daily Digest email

Get the top HN stories in your inbox every day.