Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotaadarsh/youtxt
App that convert any YouTube video to text. Created for Learn Build Teach Hackathon 2022
https://github.com/dotaadarsh/youtxt
deepgram openai streamlit youtube
Last synced: about 1 month ago
JSON representation
App that convert any YouTube video to text. Created for Learn Build Teach Hackathon 2022
- Host: GitHub
- URL: https://github.com/dotaadarsh/youtxt
- Owner: dotAadarsh
- Created: 2022-10-23T05:52:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T08:55:37.000Z (4 months ago)
- Last Synced: 2024-08-13T10:35:06.578Z (4 months ago)
- Topics: deepgram, openai, streamlit, youtube
- Language: Python
- Homepage: https://youtxt.streamlitapp.com/
- Size: 2.24 MB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/dotaadarsh/YouTXT)
## Working
### Packages
- [youtube-dl](https://github.com/ytdl-org/youtube-dl) - a command-line program to download videos from YouTube.com
- [openai](https://github.com/openai/openai-python) - provides convenient access to the OpenAI API from applications written in the Python language
- [streamit](https://github.com/streamlit/streamlit) - The fastest way to build and share data apps
- [streamlit-quill](https://github.com/okld/streamlit-quill) - [Quill editor](https://github.com/quilljs/quill) component for Streamlit.
- [Deepgram](https://github.com/deepgram/deepgram-python-sdk) - Python SDK for [Deepgram](https://deepgram.com/)'s automated speech recognition APIs.
- [itranslate](https://pypi.org/project/itranslate/) - Google translate free and unlimited, itranslate since gtranslate is taken
### API's
- Deepgram - Get yours at - https://console.deepgram.com/
- OpenAI’s API - Get yours at - https://openai.com/api/
### 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.