Skip to content

chfour/ytlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytlib

this is a collection of bash scripts to manage a local, offline library of youtube videos. features include:

  • automated downloading of videos from a list
  • a search engine (using fzf)
  • automatically saving channel info ('about' tab, avatar, banner)
  • utilities to manage your database, get information about videos
  • other utilities (export, getall [videos, channels], get random video)

how to use

dependencies

first of all, install the dependencies:

  • yt-dlp (required, duh)
  • jq (required)
  • curl & wget (required, both used by the channel info downloader)
  • fzf (recommended, used by utils/search)
  • mpv (recommended, used by utils/search, could also set the PLAYER environment variable before running search)
  • 7z (optional, used by utils/export)

usage

then, just run ./dl + any parameters you'd like, see yt-dlp/README.md#usage-and-options for more info.

the recommended way to use this thing is to create a list.txt file in the root of this repo (already added to the .gitignore) and then use ./dl -l list.txt (see here for an example - my own list.txt)

TODO

  • comments

About

a collection of bash scripts to manage a local, offline library of youtube videos (currently unmaintained. sorry)

Topics

Resources

License

Stars

Watchers

Forks

Languages