About
HT-Serve is a self-contained, production-grade development server that serves static content over HTTPS, watches for changes in your working directory, and automatically reloads all connected browsers using WebSockets.
Features
- Zero-config TLS via auto-generated self-signed certificates
- Live reload of HTML/CSS/JS when files are updated
- WebSocket-based reload push system
- Structured CLI with commands like
serve
,check
, andreset-demo
- Health check endpoint at
/healthz
- Debug mode with verbose logging via
HT_DEBUG=1
Usage
To start the server:
ht-serve serve --open-browser
To check if ports 443/8001 are available:
ht-serve check
To reset the demo site:
ht-serve reset-demo
Status
🔄 Connecting to live reload...