spidra-hono) brings web intelligence to modern edge runtimes:
- Multi-Runtime Web Standards: 100% standard Fetch, Request, Response, and Web Crypto APIs running on Cloudflare Workers, Node.js, Bun, Deno, and Vercel Edge.
spidraMiddleware(): Automatically resolvesc.env.SPIDRA_API_KEY(orprocess.env.SPIDRA_API_KEY) and attachesc.get('spidra').spidraWebhookHandler(): Pre-built route handler verifying HMAC-SHA256 signatures withverifyHonoWebhook().createSpidraHonoRouter(): Pre-wired sub-app with turnkey endpoints.
Installation
Get your API key from app.spidra.io under API Keys.
Store it in
wrangler.toml (Cloudflare Workers) or .env (Node/Bun).Configuration
In Cloudflare Workers (wrangler.toml):
.env:
Quickstart
1. Basic middleware usage
2. Pre-built router sub-app
Mount all Spidra REST API endpoints under/api/spidra:
3. Webhook receiver
Scraping & browser actions
Deep site crawling
Live SERP & web search
Batch scraping
Domain mapping
Document parsing (PDF, Word, Excel)
Turnkey templates & monitors
Error handling
Fastify
Fastify high-performance plugin and route decoration.
Bun
Native Bun runtime, Bun.file() parsing, and Bun.serve.

