Skip to content

[Suggestion] Hono real-time streaming transcription on Cloudflare Workers (TypeScript) #254

@deepgram-robot

Description

@deepgram-robot

What to build

A working example of real-time audio streaming transcription using Hono (the fast-growing edge web framework) deployed to Cloudflare Workers, with Deepgram's streaming STT API.

Why this matters

Hono has rapidly become the go-to framework for Cloudflare Workers, Deno Deploy, and Bun — it's the fastest growing JavaScript server framework in the edge/serverless space. Developers building edge-native voice applications with Hono have no reference implementation for integrating Deepgram's streaming WebSocket API. The existing Cloudflare Worker example (#110) uses vanilla Workers API; Hono developers expect framework-idiomatic patterns with middleware, typed routes, and WebSocket helpers.

Suggested scope

  • Language: TypeScript
  • Framework: Hono (v4+) on Cloudflare Workers
  • Deepgram APIs: STT (streaming WebSocket via Nova-3)
  • What it should include:
    • Hono WebSocket route that proxies browser audio to Deepgram
    • Client-side HTML page with microphone capture
    • Hono middleware for API key validation
    • Streaming transcript display in the browser
    • wrangler.toml for Cloudflare deployment
  • Complexity: Low-medium — straightforward WebSocket proxy pattern

Acceptance criteria

  • Runnable with minimal setup (clone, add API key, wrangler dev)
  • README explains the Hono + Cloudflare Workers setup
  • Uses current Hono and Deepgram SDK versions
  • Includes both local dev and Cloudflare deployment instructions
  • Demonstrates streaming transcription with sub-second latency

Raised by the DX intelligence system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions