This sample demonstrates interacting with the Deepgram API from Go. It uses the Deepgram Go SDK, with a javascript client built from web components.
Before you start, it's essential to generate a Deepgram API key to use in this project. Sign-up now for Deepgram.
Follow these steps to get started with this starter application.
Go to GitHub and clone the repository.
Install the project dependencies in the Starter 01
directory.
cd ./Starter-01
go get
Copy the code from .env-sample
and create a new file called .env
. Paste in the code and enter your API key you generated in the Deepgram console.
port=8080
deepgram_api_key=YOUR_KEY
The run
script will run a web and API server concurrently. Once running, you can access the application in your browser.
go run .