Skip to main content

No project description provided

Project description

YouTube Transcript Summarizer

This project extracts and summarizes transcripts from YouTube videos using OpenAI GPT-3.5-turbo language model. I made it since I couldn't find any simple CLI app for this.

Installation

Install from PyPi

You can install the application using pip or pipx:

pip install --user youtube-summary

or

pipx install youtube-summary

Compile from source

You can compile directly from source:

git clone https://github.com/mmaorc/youtube-summary-cli
cd youtube-summary-cli
python setup.py install --user

Development

For development purposes, clone the repository, navigate to the project directory, and install in a virtual environment:

git clone https://github.com/mmaorc/youtube-summary-cli
cd youtube-summary-cli
python -m venv .env
source .env/bin/activate  # On Windows use `.env\Scripts\activate`
pip install --editable .

Usage

Prior to running the script, ensure that the OPENAI_API_KEY environment variable is set up correctly.

To summarize the transcript of a YouTube video, run the app.py script with the video URL as an argument:

youtube-summary "https://www.youtube.com/watch?v=your_video_id"

Replace your_video_id with the actual video ID.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube-summary-0.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

youtube_summary-0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file youtube-summary-0.2.tar.gz.

File metadata

  • Download URL: youtube-summary-0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for youtube-summary-0.2.tar.gz
Algorithm Hash digest
SHA256 849fe28255916a6f38f093614a10e19e9b85c0e33efb10dbb4cc1a730bb731d5
MD5 9ac4c6d597b6564dc82786fb5412add6
BLAKE2b-256 2d2bafbb121e7b7d610e5aa951c0bb37c238b8547a8dac491736e6bb07f456b1

See more details on using hashes here.

File details

Details for the file youtube_summary-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_summary-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b42784a986b21b244fa0c7aa8843f20405b6d1656eb06a67f6d643111a7b8559
MD5 741e4573cde2a6ebaf8531e60a6ecdc8
BLAKE2b-256 745fca5ee6bad6bbf40ee117fa2a0f06f390ec0199526f7cfb1dad2d2b0a30f8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page