You can easily share files in both directions and you have a shared clipboard which makes exchanging short texts and urls very simple.
I'm not sure if (Intel-era) Macs without wireless cards/chipsets exist outside of Hackintoshes, but they're pretty common as Hackintoshes.
We have two ipads, two iphones, two Macs. Some new, some old. In general AirDrop only works between some devices, depending on device ages and (I guess ;-) the moon in conjugation with Apple's stock index.
If it works, its only after waiting a while, switching BT off and on (maybe repeat that), meanwhile doing some praying...
i.e. "upload with phone, get the file on computer"
Things like screenshots, gifs, webms etc from my computer
to any phone anywhere, without first uploading to imgur
or Google Drive / Dropbox / some other Live File-sharing service.
Know of a simple tool that does that?
Also, there was a 'modem' implementation in a browser posted a few days ago, that could be used to share URLs from phone to PC (if the PC has a mic).
Exfiltrating data can be non-nefarious.
For the other way I use the open source Android app "Share via HTTP" - it does the same thing.
Here's the shitty bash script (I stole the urlencode part from Stackexchange): http://termbin.com/3b04
Works surprisingly well.
It also works in this direction with Yopp.
Quick question; why not split the PHP file into index.html and upload.php (or whatever)? I get that simplicity is key ("This one file does everything!"), but you could use that to build a couple more features (maybe some sort of PIN protection). Just throwing some ideas out there, cool utility nonetheless.
Edit: And by splitting the file you could allow other people to build little frontends like native apps or browser extensions.
Sometimes its not even a file but a block of text that you want quickly transferred from your computer to your phone or vice-versa that shouldnt
require the use of a third party service.
I'm stunned to learn that there's really no such tool that lets you push URLs / Links / Text / GIFs / Screenshots between devices that you own & have on you.
There's QPush which has a Chrome extension and an app but really nothing else close to what I describe. 
 Onionshare - How to Use
The QR code detection in QtQR is a bit uncomfortable (you need to press a key to confirm, while holding the phone into the camera) and requires me to set my phone screen to maximum brightness, but otherwise it works quite well. It doesn't really solve the problem for large files like images, but I have successfully used it with long HN comments I started on my phone but wanted to finish on my laptop.
 https://fukuchi.org/works/qrencode/ There's a Debian package you can just apt-get install
I tried with WeTransfer and we have 10 taps/clicks + 16 alphanumeric characters to type on keyboard:
Open browser on phone [1 tap], Open wetransfer page [1 tap if in bookmarks], "Take me to free" [1 tap], "I agree" [1 tap],
"Add your files" [1 tap], Choose the file [1 action], "..." round icon [1 tap], "Send as link" [1 tap], "Transfer" [1 tap].
Open browser on computer [1 double click], write URL [at least 16 alphanumeric keystrokes], e.g. we.tl/aqNXmKTjFO
woof -i <ip_address> -p <port> <filename>
1. Allows directory upload/download (tar/gzip/bzip2 compressed)
2. Local file server (doesn't go over the internet)
3. Allows upload form (-U option)
4. Allows file to be served <count> number of times (-c option)
Termux is also on F-droid, thankfully for those without Google Services:
They should add:
- Run a static file server but huh, I don't have a full blown web server and/or php installed on my work station.
Seriously, I think syncthing provides a rather good solution for this problem. You have to install it on every machine though.
> - Run a static file server but ...
Not really. To do a fair comparison, the three examples that I've listed are things you have to do each time (finding USB cable, or logging in the webmail, or opening Dropbox, etc.)
Here installing the PHP on a server is something you do only once for all.
Saying "I can run `python -m SimpleHTTPServer`" doesn't help- it's not the problem they seem to be solving. Or am I wrong?
There is also pushbullet - I generally take screenshots and like to transfer to desktop. I can 'share' a screenshot I took using pushbullet and it will appear in a new browser tab in my desktop, and then I can save it.
Was looking for something ready-to-use and simple (without login or giving too much details) for the situations when AirDrop or PushBullet <3 is not an option.
Hastily written code code is available at https://github.com/mustakimali/JustA.ML
Learned a thing or two about end-to-end encryption while working on that.
put on old man’s hat
I remember in the good old days of flip phones, I just use Bluetooth OBEX to locally transfer the file(s) to another Bluetooth enabled device. It’s a bit slow but otherwise works fine. It was simple too—just select the picture, hit send via Bluetooth, select the receiving Bluetooth device, and hit Send. All these file transfer over the cloud using google/Dropbox/amazon/etc for local devices feel like Rube Goldberg to me...
Instead of Airdrop I'm using Telegram messager and share files to myself. It's quick and I'm always have access to them in the cloud.
(I totally do the Google Drive thing right now)
Partner 'still' has failed to liberate photos from smartphone.
Once again, the idea with Yopp is 7 atomic actions and no more: https://github.com/josephernest/Yopp#minimalist-ux
Firefox lets you send a tab/link to another device (if you use Firefox sync). No typing necessary.
>Yopp is 7 atomic actions and no more
I like the UX well enough, but calling it just 7 actions completely ignores that you need to have an internet facing webserver with PHP, configured. Many of us here could arrange that pretty easily, but it greatly adds to complexity versus using an existing web-service.
Then you go to send.firefox.com, on phone, and you upload a file. And then how do I get the tab with the right URL on the PC? I guess I open Firefox, and then how can I see "tabs opened on my phone"? (Would you have a screenshot?)