logoalt Hacker News

eigenspaceyesterday at 12:47 PM25 repliesview on HN

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.


Replies

moo-jasonyesterday at 6:58 PM

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.

show 3 replies
raxxorraxortoday at 11:28 AM

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.

nyreedyesterday at 1:10 PM

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

show 4 replies
max8539yesterday at 3:09 PM

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.

WhyNotHugoyesterday at 2:43 PM

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.

show 1 reply
askldfhalkdfhyesterday at 2:17 PM

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.

show 2 replies
sholladayyesterday at 2:06 PM

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.

show 1 reply
nine_kyesterday at 3:56 PM

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.

show 1 reply
simonmalesyesterday at 12:54 PM

I think nowadays on Android it's called QuickShare, and it works. But I believe the fragmentation and awareness is a part of the problem for Android.

show 1 reply
satvikpendemyesterday at 2:20 PM

Iroh is a relay protocol for peer to peer transfers over the Internet so it doesn't have this problem, check out my other comment here about wrappers around the protocol for sending files, Sendme is the one I use.

https://news.ycombinator.com/item?id=47935026

show 1 reply
ngokevintoday at 5:26 AM

Airdrop has not felt reliable to me all the time, and completely fails on anything larger than a picture or short video. Especially if you are storing your files on iCloud and the pictures and videos don't live on your phone.

Been using Localsend to transfer bigger files between phone / laptops, never fails or has trouble finding a device, or stalling.

justmarcyesterday at 7:21 PM

That's why we worked very hard to create the ultimate, nothing held back tool and recently launched it. Works across any device/user/platform.

UI, CLI, Local network, over the internet, anything. P2P + E2EE.

https://zynk.it

show 1 reply
tremarleyyesterday at 3:50 PM

Feem is the only reliable one I've found that doesn't rely on being on the same local network

It works on iOS and Android

Ey7NFZ3P0nzAetoday at 7:51 AM

websend works even on separate networks.

https://github.com/thiswillbeyourgithub/WebSend

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

bear330yesterday at 11:45 PM

Maybe you can try this: https://github.com/nuwainfo/ffl

It's Android App don't need LAN to share: https://play.google.com/store/apps/details?id=com.fastfileli...

randomeelyesterday at 6:20 PM

I just use blip to send files to anyone on any device but it requires an account

chasilyesterday at 1:48 PM

I am usually able to coerce a Localsend connection by using a WiFi hotspot on the target device.

Usually, but not always.

show 1 reply
kitchiyesterday at 3:20 PM

I've recently started using blip, which works very similarly to airdrop after the initial pairing has happened. The devices do not need to be on the same network etc.

randomeelyesterday at 6:20 PM

I just use blip to send files to anyone on any device

tetris11yesterday at 1:19 PM

Wireguard VPN to your home network, and then you can do anything

show 3 replies
p_stuart82yesterday at 7:58 PM

yeah the airdrop part is not having to turn one phone into a hotspot first.

lorenzohessyesterday at 1:10 PM

If you're on a hike you can get on the same network by joining your friend's phone WiFi hotspot.

show 2 replies
lakshyanoiryesterday at 2:23 PM

try out this app called "Blip". It doesn't require you to be on the same network.

show 1 reply
Fokamulyesterday at 1:21 PM

Yes exactly, that's why another RCE which will be found in Airdrop, if found by bad actor. Will be pretty fun to watch.

Last RCE in Airdrop, could be made into worm, it was found by whitehat, luckily for Apple there are still people, which are willing report exploits for little money, so billionaires can enjoy their life on yachts.

show 1 reply
SingleSourceAIyesterday at 1:04 PM

[flagged]

show 15 replies