ShareEm is a terminal-based file sharing tool for fast, secure transfers over a local network—no internet needed. Inspired by apps like SHAREit and Xender, ShareEm uses socket programming for efficient LAN file exchange via the command line.
- 🚀 Fast local file sharing over LAN
- 🔒 Secure and private: No internet required, files stay on your network
- 🖥️ Terminal-based: Lightweight, no GUI required
- ⚡ Easy to use: Simple commands for sending and receiving files
- file-sharing
- terminal
- LAN
- socket-programming
- command-line
- networking
- Python 3.x installed on your system
- All devices must be connected to the same local network
-
Clone the repository:
git clone https://github.com/Adithya2369/ShareEm.git cd ShareEm
-
(Optional) Create a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
On the receiving device, run:
python receiver.py
The receiver will wait for incoming files.
On the sending device, run:
python sender.py <receiver_ip> <file_path>
Replace <receiver_ip>
with the IP address of the receiver, and <file_path>
with the path to the file you want to send.
Example:
python sender.py 192.168.1.5 myphoto.jpg
- Ensure both devices are on the same Wi-Fi or LAN network.
- Large files may take some time depending on your network speed.
- For best results, disable firewalls that may block local connections.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
Inspired by SHAREit and Xender.
Happy Sharing! 🚀