| Crates.io | flamethrower |
| lib.rs | flamethrower |
| version | 0.1.1 |
| created_at | 2025-10-23 12:33:31.008716+00 |
| updated_at | 2025-10-23 12:33:31.008716+00 |
| description | Deterministic cognition ledger using power_house (and optional pent_house). |
| homepage | https://github.com/JROChub/flamethrower |
| repository | https://github.com/JROChub/flamethrower |
| max_upload_size | |
| id | 1897052 |
| size | 20,648 |
A small Rust project that composes two crates—power_house and (optionally) pent_house—to produce a deterministic cognition ledger. There are no third‑party dependencies; everything else is standard library code.
# Build in educational mode (default feature)
cargo build
# Run the HTTP service
FLAME_PORT=8080 FLAME_LEDGER=./ledger.db ./target/debug/flamethrower
# Mint a shard (label, seed)
printf "GET /mint?label=aurora&seed=4242 HTTP/1.1\r\nHost: localhost\r\n\r\n" | nc 127.0.0.1 8080
# Ingest a shard (paste values from /mint)
printf "GET /ingest?label=aurora&seed=4242&checksum=123 HTTP/1.1\r\nHost: localhost\r\n\r\n" | nc 127.0.0.1 8080
# Health and metrics
printf "GET /healthz HTTP/1.1\r\nHost: localhost\r\n\r\n" | nc 127.0.0.1 8080
printf "GET /metrics HTTP/1.1\r\nHost: localhost\r\n\r\n" | nc 127.0.0.1 8080
The commercial feature enables pent_house integration and is intended for properly licensed, commercial use.
export FLAME_ALLOW_COMMERCIAL=1 # explicit opt-in
cargo build --features commercial
(label, seed)power_house/healthz and /metrics on a minimal HTTP server (std::net)FLAME_ALLOW_COMMERCIAL=1 and ensure you have the appropriate license.power_house does not match.FLAME_PORT.