Self-Hosted App Web Apps & Cloud ★ 1,266 stars on GitHub

local-web-server

A lightweight command-line tool that instantly serves your local files as a live website for testing and development.

Official Setup & Docs →
Self-Hosted Web Application: Unlike cloud SaaS apps, you run this software on your own server, NAS, or Docker container so you stay in full control of your data.

Guide and Overview

What it does in plain English

This tool lets you share your computer’s files with your own browser instantly, without needing a complex setup. It acts as a private, temporary website that runs only on your machine, perfect for checking how your designs or code look in real-time. You can also use it to test secure connections and forward specific requests to other online services while you work.

Who it’s for

  • Front-end developers who need to preview their HTML, CSS, and JavaScript files in a browser environment.
  • Web designers who want to quickly test how a single-page application handles navigation and routing.
  • Technical hobbyists building personal projects who need a simple way to serve files locally without installing heavy software.

Key features

  • Instant Startup: Type one simple command to start serving your current folder as a website immediately.
  • Secure Connections: Supports encrypted HTTPS and modern HTTP2 protocols out of the box for realistic testing.
  • Single Page App Support: Automatically handles routing for modern web apps so that refreshing a page doesn’t break the experience.
  • Activity Monitoring: Provides clear logs and statistics to help you see what is being requested and how fast your server responds.
  • Flexible Routing: Allows you to redirect specific parts of your site to other local or remote servers for complex testing scenarios.

How to install (Download)

This tool is installed via a command-line package manager called npm. If you do not have npm installed, you can find instructions on the official source page.

Pros and Cons

  • Pros: Completely free, very lightweight, and extremely fast to set up. It includes many useful features like security and routing without needing extra plugins.
  • Cons: Requires basic comfort with using a command-line terminal. It is designed for local testing only and is not intended for hosting public websites for the general internet.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — Activate InterServer → (#ad)
  • GreenGeeks: Eco-friendly 300% green-energy SSD hosting with free SSL, nightly backups, and 1-click app installers — GreenGeeks (#ad)
  • Hosting.com (ex A2 Hosting): High-speed NVMe Managed VPS and WordPress cloud hosting optimized for self-hosted apps and sites — Hosting.com (ex A2 Hosting) (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.