Superstatic is an enhanced static web server designed for modern web applications. It offers straightforward static file serving together with features for single-page applications, clean URLs, redirects, rewrites, custom headers, and caching.
The software can be used from the command line or integrated into Node.js applications as Connect middleware or a standalone server. Configuration is handled with a JSON file, including support for Firebase Hosting-style configuration.
This is free and open source software.
Key Features
- Serve static files from the current directory or a configurable public directory.
- Support for HTML5 pushState and single-page applications.
- Clean URLs with automatic removal of .html extensions.
- Configure URL rewrites and redirects with flexible path matching.
- Set custom response headers for selected paths and file types.
- Control trailing slash behaviour.
- Serve internationalised content based on language and country headers.
- Response compression support.
- HTTP basic authentication support.
- Use as Connect middleware or a standalone server.
- Extensible provider system for serving content from alternative sources.
- Command-line interface with configurable host, port, and serving directory.
Website: github.com/firebase/superstatic
Support:
Developer: Firebase
License: MIT License
Superstatic is written in JavaScript and TypeScript. Learn JavaScript with our recommended free books and free tutorials. Learn TypeScript with our recommended free books and free tutorials.
Related Software
| Static Web Servers | |
|---|---|
| binserve | Fast production-ready static web server |
| darkhttpd | A simple web server written in C; only serves static content |
| miniserve | CLI tool to serve files and dirs over HTTP |
| quark | Small and simple HTTP GET/HEAD-only web server for static content |
| serve | Static file serving and directory listing |
| Static Web Server | High-performance and asynchronous web server |
| webfs | Simple http server for mostly static content. |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

