Shareit is a lightweight, terminal-based file sharing application for Linux systems, inspired by the original ShareIt app. It allows seamless file transfers across systems within the same local network using a hybrid UDP + TCP architecture.
Receivers broadcast a discovery message over the network; all available senders respond with their details.
The receiver lists all available servers (senders) on the LAN, allowing the user to choose which one to connect to.
After selecting a sender, a TCP connection is established to reliably transfer the file.
Transfer images, documents, audio files, and more — all handled in binary mode.
supports multiple receivers connecting to the same sender at once. Each receiver gets the file through a separate TCP connection, enabling efficient, concurrent transfers.
The sender runs the app and selects a file to share. It listens for discovery requests via UDP and responds with its IP and hostname.
The receiver runs the app in "receive" mode. It sends out a UDP broadcast to discover active senders on the network.
The user is shown a list of available servers (senders). Upon choosing one, the receiver connects to that server via TCP and receives the file's metadata and file content.
To send a file : shareit -s <file>
To receive from : shareit -r