Skip to content

patw/TLDW

Repository files navigation

TLDW

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!).

Main UI

Installation

python -m venv tldw-env
source tldw-env/bin/activate
pip install -r requirements.txt

Configuration

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.

Running

Run either tldw.bat or tldw.sh to start app.

Desktop Integration (Linux)

To add TLDW to your applications menu and desktop:

  1. 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
    
  2. Make it executable and install:

    chmod +x TLDW.desktop
    cp TLDW.desktop ~/.local/share/applications/
    update-desktop-database ~/.local/share/applications/
  3. Optionally copy to Desktop for a desktop shortcut:

    cp TLDW.desktop ~/Desktop/

Usage

Paste in a youtube url and hit summarize video

Updating

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

About

Summarize youtube videos with an LLM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published