📡

LAN File Transfer

A lightweight web-based tool for sharing files and folders between devices on the same local network. No signup, no cloud, no limits.

GitHub 🚀 Quick Start

Features

Everything you need for fast local file sharing, nothing you don't.

📂

Folder Upload

Upload entire folders while preserving directory structure. Supports drag-and-drop and file picker.

🗂️

Directory Browsing

Navigate into folders, browse contents, and download individual files with breadcrumb navigation.

📱

QR Code Access

Instantly generate a QR code for the server URL. Scan with your phone to start transferring.

🌍

Multi-language

Supports English and Chinese with automatic browser language detection and manual switching.

📊

Upload Progress

Real-time progress bar with percentage display during file uploads. Supports files up to 5GB.

Zero Configuration

Just run one command. No database, no config files, no external services. Pure LAN speed.

Interface Preview

A clean, responsive web interface that works on any device.

http://192.168.1.100:3000
⬆️

Drag and drop files or folders here

Files will be uploaded to the current directory

File List 5 items
📂 photos/ 12 files · 48.2 MB
📄 report.pdf 2.3 MB
📦 project.zip 156.7 MB
🎬 demo-video.mp4 1.2 GB
🖼️ screenshot.png 843.0 KB

Quick Start

Up and running in under a minute.

1

Clone & Install

Clone the repository and install Node.js dependencies.

2

Start Server

Run the server. Optionally specify a custom directory.

3

Open & Share

Open the LAN address in any browser on the same network.

# Clone the repo
git clone https://github.com/duanery/lan-transfer.git
cd lan-transfer

# Install dependencies
npm install

# Start the server
node server.js

# Or specify a custom directory
node server.js ~/shared-files