| Crates.io | brk_website |
| lib.rs | brk_website |
| version | 0.1.0-beta.0 |
| created_at | 2026-01-25 13:27:48.779255+00 |
| updated_at | 2026-01-25 13:27:48.779255+00 |
| description | Standalone website server for BRK |
| homepage | https://bitcoinresearchkit.org |
| repository | https://github.com/bitcoinresearchkit/brk |
| max_upload_size | |
| id | 2068760 |
| size | 3,196,244 |
Website serving for BRK with minimal dependencies.
use brk_website::{Website, router};
// Create router for website
let website_router = router(Website::Default);
// Merge with your app
let app = your_api_router.merge(website_router);
| Variant | Description |
|---|---|
Default |
Filesystem in debug, embedded in release |
Filesystem(path) |
Always serve from specified path |
Disabled |
No routes registered |
See the website example for a complete standalone server with compression, tracing, and other middleware.
cargo run -p brk_website --example website
axum - HTTP routinginclude_dir - embedded assetsimportmap - asset hashing