DEV Community

Cover image for Airshare - Transfer files over WiFi to all devices from the terminal πŸš€
mohanpierce99
mohanpierce99

Posted on • Updated on

Airshare - Transfer files over WiFi to all devices from the terminal πŸš€

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.

GitHub logo KuroLabs / Airshare

Cross-platform content sharing in a local network


Airshare

Airshare

PyPI PyPI PyPI - Python Version PyPI - License Documentation Status

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)