/YouTXT

App that convert any YouTube video to text. Created for Learn Build Teach Hackathon 2022

Primary LanguagePython

YouTXT

YouTXT is an app that convert any YouTube video to text and it provides the below

  • Transcript
  • Summary [TL;DR]
  • Transcript Translation
  • Search [Search the word in the video]
  • Markdown editor

Open in Gitpod

Working

Packages

  • youtube-dl - a command-line program to download videos from YouTube.com

  • openai - provides convenient access to the OpenAI API from applications written in the Python language

  • streamit - The fastest way to build and share data apps

  • streamlit-quill - Quill editor component for Streamlit.

  • Deepgram - Python SDK for Deepgram's automated speech recognition APIs.

  • itranslate - Google translate free and unlimited, itranslate since gtranslate is taken

API's

What it does?

  • Get the URL From the user.

  • Extracts the audio from the provided URL using YouTube-dl.

  • Sends the extracted audio to the Deepgram.

  • Deepgram provides the transcription and summary of the provided audio.

  • With the help of OpenAI, the list of keywords are identified [It can actually do more than that].

  • By mapping the each word with the start time, a search dict is created. With the help of this the user can search the video by providing the word.

  • By passing the transcription to the Quill editor, the user is now able to modify it and do whatever he wants with the text.