-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
yongduan edited this page Apr 8, 2026
·
1 revision
- Node.js v14 or later
- npm (comes with Node.js)
git clone https://github.com/duanery/lan-transfer.git
cd lan-transfer
npm install# Default storage directory (./uploads)
node server.js
# Custom storage directory
node server.js /path/to/your/directoryOn startup, the server prints the access URLs:
========================================
LAN File Transfer Server
========================================
Local: http://localhost:3000
LAN: http://192.168.1.100:3000
Dir: /home/user/shared-files
========================================
Open the LAN address on any device in the same network
Ctrl+C to stop
Open the LAN address on any device connected to the same network to start transferring files.