Serve files locally.
From any device.

From the creator of Web Server for Chrome (200k+ users)

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 Development

Chrome Extension

The familiar UI from the original app, rebuilt as a modern extension.

In Development

Android / ChromeOS

Native app with QuickJS engine and Kotlin/Compose UI.

In Development

CLI

Drop-in replacement for python -m http.server. Works today.

Available Now

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 :8080
npx ok200 ./dist                # serve a specific directory
npx ok200 --port 3000           # custom port
npx ok200 --host 0.0.0.0        # expose on LAN
npx ok200 ./dist --spa --cors   # SPA mode with CORS
npx ok200 ./dist --upload       # enable file uploads
Flag Description Default
--port, -pPort to listen on8080
--host, -HHost to bind127.0.0.1
--corsEnable CORS headersoff
--spaServe index.html for missing pathsoff
--uploadEnable file uploads via PUT/POSToff
--no-listingDisable directory listingoff
--quiet, -qSuppress request loggingoff

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 authorYesNo
Install size~10MB (Tauri)100MB+ (Electron)
Android / ChromeOSYesNo
CLI toolYesNo
Open sourceMITMIT

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.