CLI tool to share files over LAN using UDP + TCP
Project description
akashshare
A simple CLI tool to share files over LAN using UDP for discovery and TCP for file transfer. Works on Mac, Linux, and Windows connected to the same Wi-Fi network.
Quick Start (pipx preferred)
If you don’t have pipx installed, install it using:
python3 -m pip install --user pipx
python3 -m pipx ensurepath
More info: pipx installation guide
Then run directly using:
pipx run git+https://github.com/yourusername/akashshare.git
Great for quick file sharing on the same Wi-Fi network without installing.
Features
- Discover peers on the local network using UDP broadcast
- Transfer files over TCP connection
- Easy interactive CLI for sending and receiving files
- No heavy dependencies, lightweight and fast
- Cross-platform (Mac, Linux, Windows)
Installation (alternate method)
Install via pip
pip install akashshare
Run the tool by:
akashshare
Usage
Run the CLI and choose an action:
- Send: Choose a file to share; receiver will be discovered automatically.
- Receive: Listen for a sender and receive files.
- Exit: Quit the tool.
How it works
- Discovery: Uses UDP broadcast on port
50000to find peers on the local network. - File transfer: Uses TCP on port
50001to send or receive the file.
Requirements
- Python 3.8 or higher
- InquirerPy (installed automatically via pip)
Example
On sender machine:
akashshare
# Select "Send" and enter file path when prompted
On receiver machine:
akashshare
# Select "Receive" to wait for incoming files
License
MIT License © Akash Pawar
Contact
For questions or feedback, email: akashpawar202k@gmail.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters