Skip to content

deepgram-devs/deepgram-sts-voicebot-demo

Repository files navigation

Deepgram Voicebot

A demo that shows how to use the Deepgram Speech-to-Speech API to build a voicebot.

Prerequisites

  • Node v20 or higher (though I recommend installing it through nvm)
  • Optional: yarn

Getting started

Assuming you want to develop "locally", i.e. bring-your-own-key, just set a DEEPGRAM_API_KEY environment variable and run the dev command. Any DG key will do, it just needs usage:write.

Remember: use minimally-privileged keys, avoid sending them in shell commands, and avoid saving them as plaintext to files! One secure approach is to use a CLI-compatible password manager like pass or bitwarden. A pass example:

DEEPGRAM_API_KEY=$(pass deepgram/my-key) yarn dev

When Next.js starts up, it'll give you a localhost URL to visit.

About

A demo that shows how to use the Deepgram Speech-to-Speech API to build a voicebot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published