12 ms·
OpenDrop: An open Apple AirDrop implementation written in Python
- 1cvmask 5y agoIs there a particular reason they chose GPL 3 over an MIT license?
- barefeg 5y agoWhy is this downvoted?
- newaccount74 5y agoPresumably because the merits of GPL vs MIT are discussed so often on HN that people don't want any more of that.
- hk__2 5y agoMaybe because that’s not the place where to ask that question. OP should open an issue on the project to ask them instead of the HN community (who probably don’t know better).
- switch007 5y agoAsking "is there a particular reason" comes off as quite bitchy and dismissive.
- atoav 5y agoAlso: The creator probably has a reason why they chose the license. This comment pretents to be a question, when in fact it just expresses unhappieness with that license choice. If you are curious why they chose the license, why not ask them?
- infinityplus1 5y agoThere is "Open" in its name. Author probably doesn't want anyone to create more closed source software using it.
- mrtksn 5y agoAirDrop is brilliant but it fails silently, no error messages - nothing. At best, it says that it was cancelled. Does anyone knows how to debug it? I also wonder, why this type of file transfer isn't the industry standart. It's so straightforward(when it works), why would anyone transfer files in any other way? Okay, maybe a transfer history can also be useful.
- aaaaaaaaaaab 5y agosudo killall bluetoothd This fixes if the error is on the Mac side. On iOS you have to reboot the device.
- ink404 5y agoToggling bt/airplane mode can work for iOS instead
- mrfusion 5y agoA major failure point for me is devices simply not showing up as available.
- tgv 5y agoI’ve got an MBP that doesn’t show up, and never has, but it sees the rest. Any other macbook or iphone I’ve tried AirDrop with just works, but not my MBP.
- reaperducer 5y agoI've had similar experiences. iOS devices always show up, no problem. Macs at home only do occasionally. Until the latest macOS update, my MacBook Pro would only show up if I opened an AirDrop Finder window. But when I was in the office, my work group of about 15 people would AirDrop files back-and-forth to one another all day long, without a hiccup. It is a mysterious beast.
- notreallyserio 5y ago
- Simplicitas 5y agoBTW, is there one to share between iOS and Android?
- bilal4hmed 5y agoI tend to use snapdrop.net when everyone is on the same network otherwise https://www.sharedrop.io/ https://www.sharedrop.io/ works well too
- derwiki 5y agoCorporate policy blocks Airdrop and removable media, so Sharedrop is my preferred method of transfer.
- javajosh 5y agoSyncthing
- Shish2k 5y agoSyncthing is great software… but it isn’t in the same genre of “send a random one-off file to a person physically close to you with no advanced setup"
- tosh 5y ago(not exactly the same but when you control both devices:) Taildrop https://tailscale.com/kb/1106/taildrop/ https://tailscale.com/kb/1106/taildrop/
- adidevsoft 5y agoDisclaimer: We built it. Airdrop like functionality for all platforms. Checkout https://quickit.adidevsoft.com https://quickit.adidevsoft.com
- kitotik 5y agoThis looks like a nice tool, but the killer feature of AirDrop is not requiring a local network. The p2p nature of it is why it’s so nice to use.
- matthewfcarlson 5y agoMake me want to setup a raspberry pi in a public place and just see what sort of things people send to it.
- matthewfcarlson 5y agoOr the reverse of that where it sends a random meme to anyone walking by.
- patentatt 5y agoOh no, a thousand marketers just had the idea of automatically airdropping advertisements to passers-by. You could even structure it as a lottery-esque type of thing, only giving out good coupons or discounts to random individuals at random intervals, prompting people to loiter and wait for theirs.
- bellyfullofbac 5y agoHah, make it give out cryptocoins, and take the idea of peasants waiting for royalty to make it rain money to the 21st century, where it all happens digitally/using a smartphone. Did kings and emperors even do that in the old times?
- tinus_hn 5y agoThe default is to only accept transfers from people that are in your address book.
- fosefx 5y agoIf I understood their paper[1] correctly you can just use a popular phone number that a person walking by is likely to have in their contacts, like an emergency line number. My mobile telco's SIM comes with a couple of contacts on it like their customer support line. I don't know anything about AirDrop, but I assume this will work. [1]: https://www.usenix.org/conference/usenixsecurity21/presentation/heinrich https://www.usenix.org/conference/usenixsecurity21/presentat...
- samwillis 5y agoI believe AirDrop is a a great example of how Apples vertical integration and full ownership of software and hardware really thrives. It may not offer interoperability with other platforms, but that’s because other platforms don’t have the control needed to implement the same level of integration of hardware and software needed. Without the direct low level control of the radio hardware they would not have been able to integrate both Bluetooth and WiFi in the way that AirDrop does. I hope one day standards for this type of functionality appear so that other platforms can implement it. Ideally apple would contribute their tech to create the standard but that’s probably wishful thinking.
- emsy 5y agoAirdrop is a good example that a easy to use but unreliable technology will beat a hard to use but reliable solution. Airdrop sucks, but even my mom can use it.
- dividuum 5y ago> I believe AirDrop is a a great example of how Apples vertical integration and full ownership of software and hardware really thrives. I guess you don't have two iDevices then? Airdropping something constantly and randomly doesn't work with no popup on the other side. It's totally embarrasing given that they have control over soft and hardware. I'm puzzled how it's even possible to screw this up so badly and leaving it like this for years.
- samwillis 5y agoNo I do, and the 95% of the time it works makes up for the 5% of the time it doesn’t.
- djxfade 5y agoAirDrop works perfectly fine on a Hackintosh given you have compatible Bluetooth and WiFi hardware.
- nijave 5y agoWindows has a lot of integrated solutions like that. I think Linux is the main outlier where there's nearly infinite ways to configure the whole OS and each component has at least 2-3 software alternatives (init systems, desktop environments, network management components)
- vinnymac 5y agoI would be interested in an overview and comparison of all the available options to solve this kind of problem. Here is a list of some services I’ve used successfully in the past. SnapDrop - Site: https://snapdrop.net/ https://snapdrop.net/ - Source: https://github.com/RobinLinus/snapdrop https://github.com/RobinLinus/snapdrop ShareDrop - Site: https://www.sharedrop.io/ https://www.sharedrop.io/ - Source: https://github.com/szimek/sharedrop https://github.com/szimek/sharedrop FilePizza - Site: https://file.pizza/ https://file.pizza/ - Source: https://github.com/kern/filepizza https://github.com/kern/filepizza Wormhole - Site: https://wormhole.app/ https://wormhole.app/ - Source: Closed (for now)
- teawrecks 5y agoDoesn't look like any of those are airdrop compatible.
- hansel_der 5y agothx for the clarification
- minhmeoke 5y agoAnother option (also not Airdrop compatible) is https://github.com/akovacs/uploadserver https://github.com/akovacs/uploadserver which is a Rust (Rocket) web server that you can run on a local machine. Open a browser and navigate to the machine's IP address at port 8000 to upload/download files from the web form. Disclaimer: I know the author.
- quyleanh 5y agoIs there any Airdrop alternative for Android - Android and Android - Windows devices in the same network?
- grishka 5y agoFor Android-Android, there's Google's nearby share. It's built into GSF so every single Android phone out there has it out of the box. I reverse engineered enough of its protocol to be able to transfer a file from my phone to my computer over LAN. I really need to do a writeup on this stuff, and also finish my macOS app to be actually usable.
- quyleanh 5y agoCould you share it?
- adidevsoft 5y ago[flagged]
- donkarma 5y agoWonder if there's anything like this for the iWatch and Android.
- geophertz 5y agoThat's Nearby Share for Android.
- sys_64738 5y agoDoes Air Drop use bluetooth or is it network facing? I always worry about yet another attack vector being opened up. Usually any new usability feature like this is designed with security from the ground up which is a misnomer for riddled with unexposed security holes. I always recall the promotion of JAVA as being the security standard bearer but look where that ended up. The best way to secure an unwanted feature is to disable it permanently.
- supreme_berry 5y agoAirDrop never was hacked. It uses bluetooth and wifi to auth/search/transfer. It doesn’t require any existing network so it works in the desert or in the middle of the ocean.
- fragmede 5y agoThat's slicing it rather finely. After transfer is complete, the host device opens the transferred data. When combined with CVE-2016-4657 on an unpatched device, they allow an attacker to gain control of the victim's device after they accept the airdrop. We can call that a Webkit vulnerability instead of Airdrop (because it is), but end of the day, Airdrop is another route for attackers to gain access to your system. You can choose to enable it if you deem it useful enough, but it would be naive to blindly believe "it's fine". Now, the victim has to accept the Airdrop payload, and Airdrop has limited range, so it's not as scary as the Pegasus iMessage exploit which was totally remote, but I wouldn't bet my life on the Airdrop code having zero bugs.
- jamesgeck0 5y agoAirDrop has had several vulnerabilities. Some of them were reported by the same group of security researchers who developed OpenDrop. ADWL, the underlying protocol, had a zero-day that allowed pwning every iOS device in radio range with no user interaction. https://googleprojectzero.blogspot.com/2020/12/an-ios-zero-click-radio-proximity.html https://googleprojectzero.blogspot.com/2020/12/an-ios-zero-c...
- 5y ago
- taf2 5y agoI wonder if this could work with circuit python to drop updated programs …
- btown 5y ago> OpenDrop automatically sets DYLD_LIBRARY_PATH to look for the Homebrew version. You may need to update the variable yourself if you install the libraries differently. FYI for those thinking of doing this, and who would implement it as looking in /usr/local - make sure you also search in /opt/homebrew as this is now the default for Homebrew installations on Apple Silicon based Macs. https://docs.brew.sh/Installation https://docs.brew.sh/Installation https://www.reddit.com/r/MacOS/comments/jw9guu/why_did_homebrew_move_from_usrlocalto_opthomebrew/?utm_source=share&utm_medium=ios_app&utm_name=iossmf https://www.reddit.com/r/MacOS/comments/jw9guu/why_did_homeb...
- _V_ 5y agoI went from MacOS to Linux recently so I was going through similar projects and there is one important caveat: You have to have WIFI adapter that supports special mode (active monitor mode with frame injection). Without compatible wifi adapter this will not work unfortunately :-(
- bredren 5y agoIt would be great to be able to drop .epub files to my main machine. Then have those automatically converted into .mobi format by calibre, and finally sent on to my kindle. I suppose I could set up something to just watch for new epubs in downloads though.
- stevenhubertron 5y agoCould this act as a dead drop? Just have this running on a Pi Zero in a public place as a way to covertly transfer info?
- jkepler 5y agoAs a Debian and Android user, can anyone help me understand how AirDrop and this python implementation differ from or are similar to Syncthing and/or Firefox Send? Is it basicly the same idea?
- lelandbatey 5y agoSyncthing and Firefox send both incorporate a 3rd party publicly available server which both parties contact over the general internet. Airdrop is done direct device to direct device, without intermediate, over wifi.
- jacob019 5y agoSyncthing is p2p, a relay is supported for when both clients are behind NAT on different networks. It supports local network discovery, but the use case is different. It's for syncing files between your devices, not one off transfers.
- geophertz 5y agoNearby Share is the Android equivalent.
- sudhirkhanger 5y agoI have been having a huge problem getting pics and videos out of my partner's iPhone. We don't have a Mac or Windows to run iTunes. The only way I have found is to upload pics to Google Drive but then I have to keep the app open on iPhone until all pics are uploaded and bringing Google in between doesn't feel well. Is there a way to transfer pics from iOS to Android wirelessly and locally similar to Xender or Nearby Share on Android.
- trevcanhuman 5y agoDo you have a Linux machine ? If so, use libimobiledevice to connect your phone with a cable. the Arch Wiki walks you through syncing your pictures [0] from an iOS Device to a Linux machine. For wireless / through LAN: If you want to transfer pictures/files/practically anything that can be uploaded through a web browser, you may use something like [1] snapdrop, it allows you to transfer files securely on a LAN Network, using WebSockets. [0] https://wiki.archlinux.org/title/IOS https://wiki.archlinux.org/title/IOS [1] https://snapdrop.net/ https://snapdrop.net/ Edit: specified (not)wireless
- jiehong 5y agoAnother way: I mount a shared directory (from my NAS) with Files, and save a copy there (connected with Wifi). The other device can then access it similarly. You could also connect both apple ids as a family and have iCloud sync them maybe?
- onemiketwelve 5y agoWould it be possible to make this work on Android? Airdrop is the one thing I really wish I had
- garfieldnate 5y agoI was at the drug store trying to print photos the other day; I was required to bring either an SD card, a USB drive, or a phone with their custom app installed, which I'm never gonna do. I thought to myself, "why on Earth is there no cross-platform version of AirDrop?" and here we are :D