Full WASM, client-side
Compile the onym crate to WASM. Browser fetches registries directly.
[ browser + WASM ] ──▶ crates.io / pypi / npm / rdap
[ browser + WASM ] ──▶ api.github.com
Pros
- Zero infra, zero cost
- Rate limits burn user's IP, not yours
- Same Rust code as the CLI
- Privacy: no server sees queries
Cons
- CORS: registries mostly OK, but github.com HEAD is blocked — must switch to api.github.com (60/hr unauth)
- RDAP CORS varies by TLD
- Bundle size ~500KB–1MB gzipped