An easy way to share content in a local network.
Project description
Airshare
An easy way to share content in a local network using Multicast DNS.
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.
Important Links
Source Code: https://github.com/KuroLabs/Airshare
Bug Reports: https://github.com/KuroLabs/Airshare/issues
Documentation: https://airshare.rtfd.io
PyPI: https://pypi.org/project/Airshare
Installation
Use the package manager pip to install Airshare.
$ pip install Airshare
Example
Send and receive files and directories.
To send using the CLI,
$ airshare noobmaster requirements.txt
To receive using the CLI,
$ airshare noobmaster
or visit http://noobmaster.local
in the browser to download.
You can also import airshare
in any Python program. Visit the documentation for detailed usage instructions.
Known Issues
-
The QR Code feature is not available on Windows. Terminals on Windows are unable to render QR Codes despite our extensive attempts and tests - let us know if you have a solution!
-
Link-local Name Resolution, for example,
http://noobmaster.local
, does not work on Android phones. This is because Android browsers do not have inbuilt Multicast-DNS service discovery. -
Multiple progress bars for concurrent file uploads using
tqdm
may not work as intended on some terminals, refer to thetqdm
documentation for more details.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
MIT - Copyright (c) 2020 Kandavel A, Mohanasundar M, Nanda H Krishna
Acknowledgements
The Airshare logo was designed by Siddique.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.