barbed
[!CAUTION] This project is pretty much experimental and new releases WILL BREAK, VERY OFTEN.
barbed is a small Rust crate for Twitch integrations.
It currently includes:
- OAuth (authorize URL, device code flow, token refresh, signed state verification)
- Helix request builders and response parsers
- EventSub WebSocket decoding, chat subscription helpers, and a native async stream client
- HMAC signing helpers for short-lived tokens and state payloads
The default crate is runtime-agnostic. Optional feature flags add integrations for specific runtimes:
cloudflare-worker— send prepared requests via the Cloudflare Workers Fetch APIreqwest-client— native HTTP helpers built onreqwesttokio-eventsub— native EventSub WebSocket client usingtokioandtungstenite
[!NOTE] Disclaimer: this crate is heavily vibecoded, if you don't like it, don't use it.
