curiouscorrelation 23c5438c3c feat(server): specify bundle version at build time 9 hours ago
..
src 23c5438c3c feat(server): specify bundle version at build time 8 hours ago
.gitignore 2b0f986c9d feat: webapp encoder + compressor + hasher server 5 days ago
Cargo.lock 2b0f986c9d feat: webapp encoder + compressor + hasher server 5 days ago
Cargo.toml 2b0f986c9d feat: webapp encoder + compressor + hasher server 5 days ago
README.md 2b0f986c9d feat: webapp encoder + compressor + hasher server 5 days ago

README.md

Hoppscotch Webapp Server

A secure static web server for Hoppscotch Webapp with content bundling (zstd + zip) and verification (blake3 + ed25519).

Quick Start

# Build from source
cargo build --release

# or use Docker
docker build -t hoppscotch-webapp-server .

[!note] Configuration via environment variables:

  • FRONTEND_PATH: UI assets build location
  • DEFAULT_PORT: Server port (default: 3200)

API Endpoints

  • Health check: GET /health
  • Bundle manifest: GET /api/v1/manifest
  • Download bundle: GET /api/v1/bundle
  • Public key info: GET /api/v1/key

Development

cargo watch -x run     # Dev build with hot reload
cargo test            # Run tests
cargo build --release # Production build