Skip to content

About

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

Resources

Stars

3 stars

Watchers

1 watching

Forks

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

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages