Skip to content

Fahimefto/P2P-Share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Share

Transfer files between devices on the same WiFi network. No cloud, no accounts—just run the app on each device and send files directly.

How it works

  1. Discovery: Each device broadcasts its presence on the local network via UDP. Other devices running the app discover each other automatically.
  2. Web UI: Open the web interface in your browser to see discovered devices and send files.
  3. Transfer: Files are sent directly device-to-device over your local network.

Quick start

npm install
npm start

Then open http://localhost:3847 (or the IP shown in the terminal) in your browser.

Usage

  1. On Device A: Run npm start and open the URL in your browser.
  2. On Device B: Connect on the same WiFi and open the URL.
  3. Both devices will appear in each other's "Devices on your network" list.
  4. Select a device, choose files (drag & drop or browse), and click Send.

Requirements

  • Both devices must be on the same WiFi network
  • Node.js 18+
  • Ports 3847 (HTTP) and 3848 (UDP discovery) must be available

Ports

Port Purpose
3847 Web server & API
3848 Device discovery (UDP broadcast)

Environment

  • PORT — HTTP server port (default: 3847)

About

Peer-to-peer file transfer over local WiFi. No cloud, no accounts—just run the app and send files directly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors