Local network file server with browser UI — browse, upload, and delete files over WiFi
Project description
LANserve
A lightweight local file server with a clean browser UI — browse, upload, and delete files over your WiFi network from any device.
No dependencies. No config. Just run it.
Install
pip install lanserve
Quick start
lanserve
That's it. Open the printed URL in any browser on your network:
LANserve running!
Local: http://localhost:8080
Network: http://192.168.x.x:8080
Serving: /your/current/directory
On mobile, open the Network URL. On desktop, use either.
Features
- Browse your file system from any device on the same network
- Upload files via drag-and-drop or file picker, with a real-time progress bar
- Delete files directly from the UI
- Choose upload folder from a dropdown
- File type icons and human-readable file sizes
- Threaded — large uploads don't freeze browsing
- Zero external dependencies — Python 3.11+ standard library only
Usage
lanserve [options]
Options:
--port PORT, -p PORT Port to listen on (default: 8080)
--dir DIR, -d DIR Directory to serve (default: current directory)
--host HOST Address to bind to (default: 0.0.0.0)
--version, -v Show version and exit
Examples
# Serve a specific folder
lanserve --dir ~/Downloads
# Use a different port
lanserve --port 9000
# Serve Downloads on port 9000
lanserve --dir ~/Downloads --port 9000
Run without installing
git clone https://github.com/Dev-syphax/lanserve.git
cd lanserve
python -m lanserve
Security
LANserve is designed for trusted local networks only (home, office LAN, dev WiFi).
- There is no authentication — anyone on the network can browse and upload files.
- DELETE requests are path-traversal protected — files outside the served directory cannot be deleted.
- Do not expose this server to the public internet.
Requirements
- Python 3.11 or newer
- No dependencies (bundled with Python standard library)
Contributing
See CONTRIBUTING.md.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lanserve-1.1.2.tar.gz.
File metadata
- Download URL: lanserve-1.1.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b189074826d6218e8f172e55368b459944a78929eb42d94d0e9954d922ab187e
|
|
| MD5 |
c0195a1e1083f243487154394ec17741
|
|
| BLAKE2b-256 |
c25fc433352a932661d69c4178e974d0a612d570da0025a803660e06f8fdf415
|
File details
Details for the file lanserve-1.1.2-py3-none-any.whl.
File metadata
- Download URL: lanserve-1.1.2-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b73f767a84b95ab01cddbaf99b9cbc8aa551e1c040942bf1ad0911474d81d548
|
|
| MD5 |
a77ec9860ab14672d3a2ca734bb9b664
|
|
| BLAKE2b-256 |
df8bb8ac04100d34bc857f7b5c3cabe49d4cc70f7ba159f9da6978f8da315343
|