DEV Community

Eric O'Brien
Eric O'Brien

Posted on

The Red Rectangle Press - A YouTube voice to text email command line program

the-red-rectangle-press

Overview of My Submission

The Red Rectangle Press is an application that converts the audio from a YouTube video to text and then sends it via email.

What It Does

RRP is a utility tool to increase the accessibility of content on YouTube. You might be wondering - "Why might someone prefer an emailed transcript over the original video?" Well, there are many reasons, some of which include:

  • Limited hearing ability.
  • Captions are not available for that video.
  • Wifi access will be limited at a time when the user could watch the video.
  • To be able to search for keywords and only digest the parts they are interested in.
  • To use the content in an article or research project.

How It Does It

RRP uses several packages to handle the functionality of the program. The command line input is acquired through using readline-sync which asks users for a YouTube link and an email address. YouTube mp3 Downloader is used to specify YouTube videos from which the audio data should be extracted, converted to MP3, and temporarily stored on disk.
DeepGram SDK then converts the stored MP3 file to a text transcript. And then SendGrid Mail is utilized to send the transcript as an email to a specified address.

Submission Category:

Accessibility Advocates: Use Deepgram to improve user accessibility. Think about user input, accessing media or live events, and improving understanding.

Link to Code on GitHub

https://github.com/cireneirbo/the-red-rectangle-press

Additional Resources / Info

Command line screenshot:
Command line Screenshot
Proof of email receipt and layout:
Email transcript received

Top comments (2)

Collapse
 
bekahhw profile image
BekahHW

This is super cool!

Collapse
 
cireneirbo profile image
Eric O'Brien

thanks a lot!