Skip to content

Hot reload static web server for deploying mutiple static web site with version control.

License

Notifications You must be signed in to change notification settings

ForNetCode/spa-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPA-SERVER

GitHub Release Build status License: MIT Maintenance PRs Welcome

It provides a static web http server with cache and hot reload.

中文说明

Feature

  • Built with Warp, fast and small!
  • SSL with Rustls.
  • Memory cache, client cache and compression(gzip).
  • Static web version control, you can regress or release new version easily.
  • Hot reload support(Mac and Linux).
  • CORS support.
  • Http auto redirect to https.
  • Docker support(compressed size: ~26M)
  • Provide command line/npm package to deploy spa.
  • Multiple configs for different domain.
  • support Let's Encrypt
  • support OpenTelemetry Trace
  • provide JS SDK and command line client to interact with Server

Document

There is a nice document powered by VitePress and GitHub Pages, you can quickly start spa-server with this guide.