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 (Coming soon)

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.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

youtube_summary-0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube-summary-0.1.tar.gz
  • Upload date:
  • Size: 3.8 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.1.tar.gz
Algorithm Hash digest
SHA256 01aa638c92167d8a7a0360f7f3cf4cf2b834dd6bdd9a1ad50f2537e661bc6bb8
MD5 88e761a6e6999a31c3311472027f3116
BLAKE2b-256 03db94685379c6157509d6f1782a936016056303326ccffe2a49d144dc096018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_summary-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 edcc8e6109d6773b3cb81daed870986120f88837aa5e8e2dddb38500e72aaa72
MD5 af86fcfe0e41c1c1cc0421f962bbfbc1
BLAKE2b-256 97391a81f679af4dad9ab2150b76570156e74f80125441091b0791cd5fd5a688

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