Skip to content

Sample app for generating and displaying speaker talk-time using the Deepgram API with diarization.

Notifications You must be signed in to change notification settings

natalierutgers/talk-time-analytics

 
 

Repository files navigation

Talk Time Analytics using Deepgram

Remix on Glitch

This app aims to demonstrate how to use Deepgram API to compute talk time per speaker. We then display the calculated talk time in a pie chart.

Prerequisites

You will need:

Getting Started

You can run this application by remixing it on Glitch or by running it on your local computer.

Remix on Glitch

Glitch comes with an online editor, so you'll have all the necessary tools to explore your own app instance.

To remix this application on Glitch replace YOUR_DEEPGRAM_API_KEY in the following URL with your Deepgram API Key:

https://glitch.com/edit/#!/import/github/deepgram/talk-time-analytics?PORT=3000&DG_KEY=YOUR_DEEPGRAM_API_KEY

When accessing this URL in your browser, the project will be forked and deployed.

Run on localhost

To run this project on your local computer:

Clone the repository

Either clone or download the repository to your local machine, in a new directory.

# Clone this repo
git clone https://github.com/deepgram/talk-time-analytics.git

# Move to the created directory
cd talk-time-analytics

Configure the settings

Your application will need to know more about you before it can run. Copy the .env-example file into a new file named .env and edit this new file to reflect the settings you want to use:

  • PORT: The port you wish to run the application on. Leaving this as port 3000 is acceptable.
  • DG_KEY: The Deepgram API key you created earlier in this tutorial.

Install the dependencies

In the directory where you downloaded the code, run the following command to bring in the dependencies needed for this project.

npm install

Start the server

With the configuration done and the dependencies in place, your application is ready to go! Run it with:

npm start

Development and Contributing

Interested in contributing? We ❤️ pull requests!

To make sure our community is safe for all, be sure to review and agree to our Code of Conduct. Then see the Contribution guidelines for more information.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

Check out the Developer Documentation at https://developers.deepgram.com/

About

Sample app for generating and displaying speaker talk-time using the Deepgram API with diarization.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 99.1%
  • Other 0.9%