Summary
Publish a CDN-compatible browser bundle (deepgram.browser.min.js) that can be loaded via a <script> tag without any bundler, and includes a built-in microphone capture helper for zero-setup browser transcription.
Problem it solves
Frontend developers who want to add live transcription to a webpage currently need to: (1) set up a Node.js project with a bundler, (2) install the SDK via npm, (3) write their own `getUserMedia()` microphone capture code, and (4) manually pipe audio buffers to the WebSocket. This creates a high barrier for prototyping, demos, and simple integrations. A CDN bundle with mic capture would reduce "hello world" browser transcription to 3 lines of HTML — matching the simplicity competitors offer with dedicated browser packages.
Proposed API
<!-- Zero-bundler usage -->
<script src="https://cdn.jsdelivr.net/npm/@deepgram/sdk/dist/deepgram.browser.min.js"></script>
<script>
const dg = new Deepgram.Client({ key: tempApiKey });
// Built-in mic capture → streaming transcription
const mic = await dg.listen.live.microphone({
model: "nova-3",
language: "en",
});
mic.on("transcript", (result) => {
console.log(result.channel.alternatives[0].transcript);
});
mic.start(); // starts getUserMedia + WebSocket
// mic.stop(); // stops both
</script>
Acceptance criteria
Raised by the DX intelligence system.
Summary
Publish a CDN-compatible browser bundle (
deepgram.browser.min.js) that can be loaded via a<script>tag without any bundler, and includes a built-in microphone capture helper for zero-setup browser transcription.Problem it solves
Frontend developers who want to add live transcription to a webpage currently need to: (1) set up a Node.js project with a bundler, (2) install the SDK via npm, (3) write their own `getUserMedia()` microphone capture code, and (4) manually pipe audio buffers to the WebSocket. This creates a high barrier for prototyping, demos, and simple integrations. A CDN bundle with mic capture would reduce "hello world" browser transcription to 3 lines of HTML — matching the simplicity competitors offer with dedicated browser packages.
Proposed API
Acceptance criteria
<script>taggetUserMedia()microphone capture helperRaised by the DX intelligence system.