Zero-copy argument parsing with compile-time validation and type-safe subcommands. Async middleware pipeline with tower compatibility, automatic help generation, and shell completion for bash, zsh, and fish.
Processes 2M+ arguments/sec with <50μs startup overhead.
★ 12.4k
⑂ 890
↓ 2.1M/mo
Rust
async
CLI
── main.rs
use flux_cli::prelude::*;
#[flux::command]
async fn main(ctx: Ctx) {
let args = ctx
.parse::<CliArgs>()
.await?;
match args.subcommand {
Sub::Build(b) => b.run().await,
Sub::Deploy(d) => d.run().await,
_ => ctx.help(),
}
}
kai@showcase:~$ open projects/vector-index
NEURAL DB
vector database with built-in ML inference
HNSW indexing with configurable M and ef-construction parameters. Built-in ONNX runtime for zero-dependency inference at query time. Sub-millisecond ANN queries at 10M+ vectors with automatic quantization and memory-mapped storage.
Drops into existing Postgres schemas via pg extension.
WebRTC data channels for sub-100ms collaborative sync across 50+ simultaneous users. Infinite canvas with viewport culling and delta-encoded undo history. Runs at locked 60fps via a double-buffered OffscreenCanvas worker pipeline.
Exports to PNG, GIF, and animated sprite sheets.
Less ■ ■ ■ ■ ■ More (2016 – present, click to illuminate)
2,847
contributions
142
repositories
89
PRs merged
Notable merges
tokio #3842
async-std #901
ripgrep #2103
rust-lang #114022
axum #1876
deno #18903
bun #7412
napi-rs #1620
kai@showcase:~$ cat contact.txt
GET IN TOUCH
$
github.com/demo-user
142 repos · 14.2k total stars
@
hello@demo.dev
PGP: 4A2F 8B1C D903 E561
#
twitter.com/demo-user
thoughts on systems & tooling
>
example.dev
blog · talks · open source notes
── availability.txt
Status : OPEN
Role : Staff / Principal
Type : Remote preferred
Timezone : UTC-8 (SF)
Notice : 4 weeks
Interests:
· Developer tooling
· Systems programming
· Distributed databases
· Open source infra
Not interested in:
× Web3 / crypto
× Adtech
× Surveillance