Skip to content
L

Local Web Server

A lean, modular web server for rapid full-stack development

by lwsjsFree

#1822in Developer Tools
0In stores

Description

local-web-server is a lean, modular web server for full-stack development. It is a distribution of the lws toolkit, bundled with a starter p…

Highlights

  • Static site hosting with directory listings
  • Single page application fallback routing
  • URL rewriting and proxied requests
  • HTTP, HTTPS and HTTP/2 support
  • Modular middleware and a programmatic API

Ratings & Reviews

No ratings yet

Be the first to rate Local Web Server.

People also visit

S

Static Web Server

Cross-platform, high-performance

Developer Tools
Launch
H

hostc

Localhost, anywhere. One command gives your dev server a public HTTPS URL

Developer Tools
Launch
L

Lite Server

Lightweight node server

Developer Tools
Launch
O

OpenServerPanel

Software environment for web development

Developer Tools
Launch
C

Caddy

Powerful, enterprise-ready, open source web server with automatic HTTPS

Developer Tools
Launch
W

Web Serve

Create local network servers effortlessly with a user-friendly interface

Social
Launch

Local Web Server FAQ

What is local-web-server?

A lean, modular web server for local full-stack development, distributed as the ws command-line tool.

How do I serve a folder?

Run ws with no arguments in the folder, and it hosts the current directory as a static website.

How do I serve a single page app?

Specify your single page as the SPA entry, so requests for static files are served and other routes fall back to the app.

Can it proxy requests to another server?

Yes. The README shows forwarding paths that begin with /posts/ to a remote API, with rewrite options.

Does it support HTTPS?

Yes. Pass --https for HTTPS, or --http2 for HTTP/2. The wiki covers trusted certificates.

Is it open source?

Yes. The source is on GitHub under the lwsjs organization.

What are the best Local Web Server alternatives?

Popular alternatives to Local Web Server include Static Web Server, hostc and Lite Server. See all Local Web Server alternatives

Developer Stuff

Badges