If you need to transfer a couple of hundred megs to a coworker or friend who's near you connected to the same WiFi, or you just wanted to transfer movies from your pc to your phone or vice versa, you arenβt short on options. In fact, options are thick on the ground, and all have their own issues. Donβt you wish you could send stuff directly to the other device with just one word, without any intermediate upload, login, cables, or pendrives?
Airshare is a Python-based CLI tool and module that lets you transfer data between two machines in a local network, P2P, using Multicast-DNS.
Airshare
Cross-platform content sharing in a local network.
Airshare is a Python-based CLI tool and module that lets you transfer data between two machines in a local network, P2P, using Multicast-DNS. It also opens an HTTP gateway for other non-CLI external interfaces. It works completely offline! Built with aiohttp and zeroconf. Checkout the demo.
Features
-
Blazing fast content transfer within a local network.
-
Lets you transfer plain text, send from or receive into your clipboard.
-
Supports transfer of multiple files, directories and large files - content is sent chunk by chunk and never read into memory entirely.
-
Lets you send files whose paths have been copied into the clipboard (more details in the docs).
-
Cross-platform, works on Linux, Windows and Mac (CLI and Web Interface), and also supports mobile (Web Interface).
-
Uses Multicast-DNS service registration and discovery - so you can access content with human-readable code words.
-
Can beβ¦
It's built with aiohttp and zeroconf. Handles large file transfers gracefully - content is sent chunk by chunk and never read into memory entirely.
Feel free to raise PRs for bug fixes and improvements.
Thanks for reading this, and hope you like Airshare! β€οΈ
Top comments (0)