All product workers
Social distributor worker
social-distributor
Consumes queues, rate-limits, and schedules social posts to external APIs.
The automation backend behind multi-channel posting. Works with D1, KV, and queues; coordinate with the Social Agent interactive demo for copy generation.
Related interactive UI
/demos/social-distributorSource
- Path
- apps/social-distributor
- Entry
- src/index.ts
- Config
- wrangler.toml
Bindings (summary)
- DB
- RATE_LIMITS (KV)
- queues (consumer + producer)
- crons
Set real IDs, buckets, and secrets in the Cloudflare dashboard or via wrangler secret put to match this repo’s wrangler file.
Commands
cd apps/social-distributor && npm run dev
cd apps/social-distributor && npm run deploy