Skip to content

[Suggestion] Django Channels real-time transcription with WebSocket (Python) #34

@deepgram-robot

Description

@deepgram-robot

What to build

A Django application using Django Channels for WebSocket support that captures browser microphone audio and streams it to Deepgram's live STT API in real-time, displaying transcription results on the page.

Why this matters

Django is the most popular Python web framework with a massive developer base. Django Channels extends Django with WebSocket support, making it the natural choice for real-time voice features in Django applications. Developers building voice-enabled Django apps currently have no reference showing how to bridge Django Channels WebSockets with Deepgram's streaming API. This covers the largest Python web framework gap.

Suggested scope

  • Language: Python 3.11+
  • Framework: Django 5.x + Django Channels
  • Deepgram APIs: Live STT (WebSocket), Nova-3 model
  • Architecture: Browser mic → Django Channels WebSocket consumer → Deepgram WebSocket → transcript back to browser
  • Complexity: Medium — Django project + Channels consumer + simple HTML/JS frontend

Acceptance criteria

  • Runnable with minimal setup (clone, add API key, run)
  • README explains the pattern clearly
  • Uses current SDK version (deepgram-sdk)
  • API key stays server-side
  • Uses Django Channels ASGI consumer pattern
  • Includes simple HTML page with mic capture (no separate frontend build)

Raised by the DX intelligence system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions