Serve files locally.
From any device.
Web Server for Chrome is back — rebuilt from scratch as a native app for desktop, Android, and the command line. Same simple workflow. Modern architecture.
Every platform. One engine.
A platform-agnostic TypeScript HTTP engine with native I/O adapters per platform. Write the server logic once, run it everywhere.
Desktop
Tauri app for Mac, Windows, and Linux. ~10MB install — not 100MB+ Electron.
In DevelopmentChrome Extension
The familiar UI from the original app, rebuilt as a modern extension.
In DevelopmentAndroid / ChromeOS
Native app with QuickJS engine and Kotlin/Compose UI.
In DevelopmentCLI
Drop-in replacement for python -m http.server. Works today.
Features
Static file serving
Serve any directory with automatic MIME type detection and index.html resolution.
Directory listing
Browse files with sizes and dates when no index.html exists.
SPA mode
Route all paths to index.html for single-page app development.
CORS headers
Enable cross-origin requests with a single flag.
File uploads
Accept PUT/POST file uploads for quick sharing.
ETag caching
Automatic ETag generation and 304 Not Modified responses.
Coming Soon
HTTPS
Self-signed certificate generation for local HTTPS development.
HTTP Basic Auth
Password-protect your server with a single flag.
Range requests
Serve media files with seeking and streaming support.
QR code
Scan a QR code to access your server from a phone on the same LAN.
Live reload
Automatically refresh the browser when files change.
Reverse proxy
Proxy API requests to a backend server during development.
CLI
npx ok200 # serve current directory on :8080npx ok200 ./dist # serve a specific directorynpx ok200 --port 3000 # custom portnpx ok200 --host 0.0.0.0 # expose on LANnpx ok200 ./dist --spa --cors # SPA mode with CORSnpx ok200 ./dist --upload # enable file uploads Why not Simple Web Server?
Simple Web Server is an Electron app built by third parties. We're the original author, building it right.
| Web Server for Chrome | Simple Web Server | |
|---|---|---|
| Original author | Yes | No |
| Install size | ~10MB (Tauri) | 100MB+ (Electron) |
| Android / ChromeOS | Yes | No |
| CLI tool | Yes | No |
| Open source | MIT | MIT |
Migrating from the Chrome App?
The original Web Server for Chrome was a Chrome App used by 200,000+ people. Google discontinued Chrome Apps, but we're rebuilding everything as native apps with the same features and workflow.
- The Chrome Web Store listing will be updated to point to the new extension once it's ready.
- All features from the original app will be supported.
- Your settings and workflow will feel familiar.
The original Chrome App source code is preserved in the legacy branch.
Web Server for Chrome