Skip to main content

Deno Live Text-to-Speech

Get started using Deepgram's Live TTS with this Deno demo app

Deno Live Text-to-Speech

Get started using Deepgram's Live TTS with this Deno demo app

Quick Start

Click the button below to fork the repo:

Fork on GitHub (opens in new tab)

Local Development

Makefile (Recommended)

make init
cp sample.env .env  # Add your DEEPGRAM_API_KEY
make start

Open http://localhost:8080 (opens in new tab) in your browser.

Deno & pnpm

git clone --recurse-submodules https://github.com/deepgram-starters/deno-live-text-to-speech.git
cd deno-live-text-to-speech
cd frontend && corepack pnpm install && cd ..
cp sample.env .env  # Add your DEEPGRAM_API_KEY

Start both servers in separate terminals:

# Terminal 1 - Backend (port 8081)
deno run --allow-net --allow-read --allow-env server.ts

# Terminal 2 - Frontend (port 8080)
cd frontend && corepack pnpm run dev -- --port 8080 --no-open

Open http://localhost:8080 (opens in new tab) in your browser.

License

MIT - See LICENSE (opens in new tab)