Web Design

Superstatic – enhanced static web server

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
miniserveCLI tool to serve files and dirs over HTTP
serveStatic file serving and directory listing
binserveFast production-ready static web server
SuperstaticEnhanced static web server
darkhttpdA simple web server written in C; only serves static content
simple-http-server Simple static file server written in Rust
Static Web ServerHigh-performance and asynchronous web server
webfsSimple http server for mostly static content.
quarkSmall and simple HTTP GET/HEAD-only web server for static content
Websitino Lightweight static file server for local development
static-file-serverTiny, simple static file server

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted