Youtube CLI that doesn't rely on the API

5591a66 Upgrade deps

~gjabell pushed to ~gjabell/yts git

3 years ago

6cd4a2e Properly convert int to string

~gjabell pushed to ~gjabell/go-yt git

3 years ago


Search YouTube from the command line without relying on the YouTube API. yts includes two binaries, yts (a one-shot CLI for running a YouTube search) and iyts (an interactive line-mode interface inspired by gmnlm).


yts requires Go to build.

git clone https://git.sr.ht/~gjabell/yts && cd yts
go install ./...


$ yts -h
Usage: yts [-d] [-h] [-q] [-n] [-p page] search...

  -d  Print additional debug information (default: false)
  -h  Show a help message and quit
  -n  Don't colorize output (default: false)
  -q  Quiet mode: only print video URLs
  -p  The page of results to fetch (default: 1)