I don't have time to watch all this Youtube content. TLDW will accept a youtube URL, download the transcript for the video, and summarize it with an LLM (even a local one!).
python -m venv tldw-env
source tldw-env/bin/activate
pip install -r requirements.txt
Open the config tab and add in the baseurl, api key and model name for summaries. You can also configure the system message and the summary prompt.
Run either tldw.bat or tldw.sh to start app.
To add TLDW to your applications menu and desktop:
-
Edit the TLDW.desktop file and update the paths to match your installation directory:
Exec=/path/to/your/TLDW/tldw.sh Icon=/path/to/your/TLDW/tldwicon.png Path=/path/to/your/TLDW -
Make it executable and install:
chmod +x TLDW.desktop cp TLDW.desktop ~/.local/share/applications/ update-desktop-database ~/.local/share/applications/
-
Optionally copy to Desktop for a desktop shortcut:
cp TLDW.desktop ~/Desktop/
Paste in a youtube url and hit summarize video
Youtube seems to regularly break youtube-transcript-api. You may need to git pull this code once in a while and run:
pip install --upgrade youtube-transcript-api
