Skip to main content

A CLI tool to download, transcribe, and summarize YouTube videos.

Project description

mdlsum

mdlsum is a Python package designed to download, transcribe, and summarize media. Currently, it supports YouTube videos, with plans to expand to podcasts and other media formats. This tool aims to provide basic yet useful summaries, with future iterations planned to enhance its utility for personal and family use.

Features

  • Download YouTube videos
  • Transcribe audio using Whisper
  • Summarize transcriptions using a language model

Installation

To install mdlsum-cli, run:

pip install mdlsum-cli

Usage

mdlsum "https://www.youtube.com/watch?v=example"

Acknowledgements

This project wouldn't have been possible without the incredible work of the following individuals and organizations:

  • OpenAI & Anthropic for the Whisper model and their language model APIs
  • Georgi Gerganov for his incredible work on whisper.cpp https://github.com/ggerganov/whisper.cpp
  • yt-dlp https://github.com/yt-dlp/yt-dlp
  • Typer https://github.com/tiangolo/typer

License

Free to use and distribute; if you use this, would be great to get an acknowledgement

Future Plans

  • Expand support to include podcasts and other media formats
  • Improve summary quality and customization options
  • Add advanced features like specifying models and timestamps

This project is a work in progress, and I look forward to iterating on it to make it even more useful. Thank you for checking it out!

SidRT

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

mdlsum-cli-0.1.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

mdlsum_cli-0.1.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file mdlsum-cli-0.1.3.tar.gz.

File metadata

  • Download URL: mdlsum-cli-0.1.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for mdlsum-cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 02a7ada21cf06db0d594bdefea22e3f8e7c4c50382892c6a440acd7175aea57a
MD5 ca4a2e8e390c732865ae65818f686e46
BLAKE2b-256 62b70aacc60b4e4401e70bb49f43bdc42169edf263e46056db179651a0c230e7

See more details on using hashes here.

File details

Details for the file mdlsum_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: mdlsum_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for mdlsum_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8811472e0e48694f47c6903f7576949f01b0724275ff6626e09bc90ef0905f0a
MD5 d5fdd7ffc87ea29f88a2e94521da19c2
BLAKE2b-256 fd7c1e83daa61497094d91e4b1e8b1861b5311f72b3c553c7f07d6c90992623d

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