ForNetCode / spa-server

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

Home Page:https://fornetcode.github.io/spa-server/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPA-SERVER

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
  • 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.

About

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

https://fornetcode.github.io/spa-server/

License:MIT License


Languages

Language:Rust 85.9%Language:TypeScript 6.2%Language:Shell 5.3%Language:Makefile 0.7%Language:HTML 0.7%Language:Dockerfile 0.6%Language:CSS 0.4%Language:JavaScript 0.2%