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

Repository files navigation

SPA-SERVER

It is to provide a static web http server with cache and hot reload.

中文说明

Feature

  • Built with Hyper and 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: 32M)
  • Provide command line/npm package to deploy spa.
  • Multiple configs for different domain.

Document

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

Project Origin

More details are described at SPA 发布辅助工具 in Chinese.