| Crates.io | hightower-gateway |
| lib.rs | hightower-gateway |
| version | 0.1.7 |
| created_at | 2025-10-09 18:50:29.76132+00 |
| updated_at | 2025-10-12 01:37:16.542549+00 |
| description | Gateway service for the Hightower project |
| homepage | |
| repository | https://github.com/chrishayen/hightower-gateway |
| max_upload_size | |
| id | 1876071 |
| size | 299,945 |
Gateway service for the Hightower project.
cargo build
Using the Makefile (recommended):
make dev
Or directly with cargo:
HT_AUTH_KEY=test-auth-key cargo run
make test
# or
cargo test
The gateway can be configured using environment variables:
HT_AUTH_KEY - Authentication key for the gateway (required)HT_DEFAULT_USER - Default admin username (default: admin)HT_DEFAULT_PASSWORD - Default admin password (default: admin)RUST_LOG - Log level (default: info, use debug for verbose output)By default, the gateway uses a temporary directory for the KV store. To use a persistent directory:
cargo run -- --kv /path/to/store
The web console is rendered server-side using Askama templates located in the templates/ directory:
templates/login.html - Login pagetemplates/dashboard.html - Dashboard pagetemplates/login_alert.html - Login alert fragmenttemplates/nodes_table.html - Nodes table fragmentThe templates compile with the Rust code, so no separate build step is needed.