Skip to content

michal-lysak/LAN_fileshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logoLAN_FILESHARE

Nearby File Sender

A Qt/QML app that discovers devices on your LAN via UDP and establishes a TCP session to share files peer-to-peer.

Overview

When the app launches, it broadcasts a UDP discovery packet on the local network and listens for discovery packets from peers. Discovered devices appear with their IP address. Clicking a device sends a connection request; when the peer accepts, a confirmation message is exchanged and a TCP connection is established. Both sides then share an identical UI for sending and receiving files.

Features

  • Automatic LAN discovery using UDP broadcast/multicast.
  • Peer confirmation handshake and TCP session setup.
  • Bidirectional file sharing with progress feedback.
  • Clean, minimal UI built with QML.
  • Works on the same subnet with no external server.

Quick Start

git clone https://github.com/michelmichy7/LAN_fileshare.git
cd nearby-file-sender
cmake -S . -B build -DCMAKE_PREFIX_PATH="<Qt6 install>"
cmake --build build --config Release
./build/NearbyFileSender

Usage

  1. Launch the app on two (or more) devices connected to the same network.
  2. Wait for peers to appear in the device list (discovered via UDP).
  3. Click a device entry to send a connection request.
  4. On the peer, accept the request when prompted.
  5. After the TCP session is established, drag & drop or choose files to send.

License

MIT License. See LICENSE for details.

Releases

No releases published

Packages

No packages published