q-baby
v0.1.17
Published
qbaby CLI - scaffold, develop, and deploy webhook scripts
Maintainers
Readme
q-baby
CLI for qbaby -- the programmable webhook queue.
Quick Start
npx q-baby login # Authenticate
npx q-baby init # Scaffold a project
npx q-baby dev # Local dev server
npx q-baby deploy # Ship to productionWhat is qbaby?
Write a script. Verification, retries, fan-out, and rate limiting are handled. 100 million deliveries on a single flat fee.
- One-line signature verification for 38 providers
- Fan-out to multiple destinations at independent rates
- Automatic retries with exponential backoff (up to 7 days)
- Isolated Wasm sandbox per execution
- Encrypted payloads at rest
Docs
Full reference: docs.queue.baby
Script Example
export default (request, drip, env, rawBody) => {
if (!env.verify(env.secrets.STRIPE_KEY)) return
if (env.dedupe(request.body.id)) return
drip("https://api.myapp.com/webhook", request.body, { rate: 50 })
}License
MIT
