Skip to content

A Cloudflare Worker that uses Durable Objects to serve WebSockets that forward indexer webhook data to connected clients.

Notifications You must be signed in to change notification settings

DA0-DA0/websockets-cf-worker

Repository files navigation

websockets-cf-worker

A Cloudflare Worker that uses Durable Objects to serve WebSockets that forward indexer webhook data to connected clients.

This is used to refresh the UI when data changes.

Configuration

  1. Copy wrangler.toml.example to wrangler.toml.

  2. Configure secrets:

echo <VALUE> | npx wrangler secret put WEBHOOK_SECRET

Development

wrangler dev
# OR
npm run start

Deploy

wrangler publish
# OR
npm run deploy

About

A Cloudflare Worker that uses Durable Objects to serve WebSockets that forward indexer webhook data to connected clients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published