Helloπ
Actually I am new to deepgram. So had to educate my self on how deepgram works and make sure that I have understood all the concepts.ππ©
Before get started with sending the request to deepgram we need to capture our voice and in order to do that we need to make use of the media capture and streams api.π§
This is a simple web application that we can create using voice.
You guys also can run this web app on your machine too.β€οΈ
First you have to clone this project in your pc and then replace deepgram api key with your newly created one which is in the script.js
file.π½
Then navigate to the project folder. Install all the dependancies by running npm install
π±
After the dependancies have installed, you can run the project with npm run dev
to obtain your local IP address.π±π₯
As the Media Capture and Streams API requres a secure HTTPS connection to interact with your microphone, you will need to install SSL certificates for the project.
Generate the certificates by running: mkcert YOUR_IP_HERE localhost
We can provide more than one IP address.
Once those have been generated, want to make sure they are placed in the root of the project.
Navigate to the /bundler/webpack.dev.js
file, and replace YOUR_SSL_CERT_KEY
and YOUR_SSL_CERT
with a path to the certificate and key file generated in the previous step.
Make sure all files have been saved and run npm run dev
again.
Allow the browser to use your microphone.
Say something! Your text should be visible on the screen!
Now it's your time to experiment! π
Submission Category:
Wacky Wildcards
Link to Code on GitHub
kithminiii / Deepgram-Hackathon
Voice Web Application for Dev + Deepgram Hackathon 2022
Deepgram-Hackathon
Actually I am new to deepgram. So had to educate my self on how deepgram works and make sure that I have understood all the concepts.
Before get started with sending the request to deepgram we need to capture our voice and in order to do that we need to make use of the media capture and streams api.
This is a simple web application that we can create using voice.
You guys also can run this web app on your machine too.
First you have to clone this project in your pc and then replace deepgram api key with your newly created one which is in the script.js
file.
Then navigate to the project folder. Install all the dependancies by running npm install
After the dependancies have installed, you can run the project with npm run dev
to obtain your local IPβ¦
Happy Coding ! π±
Top comments (9)
Nice one :) Best of luck.
Thank You β€οΈβπ₯
Thamks π€
Nice One. Good Luck!
Thank You β€οΈβπ₯
I wish I found it earlier! Was so stressed implementing web sockets with Deepgram. Ended up following an overcomplicated tutorial and got it working in 3 days. It was totally worth it, but I managed to write around 100 lines of code in these days. Most of the time was spent debugging.
I finally got the app to work well π
Great job! Do you happen to have a demo recorded that you can share?