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
Built Distribution
File details
Details for the file mdlsum-cli-0.1.2.tar.gz
.
File metadata
- Download URL: mdlsum-cli-0.1.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61522f46d81b40621fbcb9774cfe9e0f815d2af7bb14b0d80ac477371dc7b2f6 |
|
MD5 | 54c0eb24688ca4723fbfb7c3477b5010 |
|
BLAKE2b-256 | f569a606058261269c14c51b212f1a4ef315a2be77bf9203fd9c9137c047d140 |
File details
Details for the file mdlsum_cli-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: mdlsum_cli-0.1.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0cc942df76f744a769abb2e2a494978693b8533668fa2e5c96cf7a63c640ffa |
|
MD5 | 75c73ea41e248728aca96bb46e3cda4b |
|
BLAKE2b-256 | 3f36a2026c9e5c1b9d3497718f5cd9d766f0854f87b05cab6bb67a1e414b8633 |