Skip to content

tzrn/tmyt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmyt

Terminal youtube client

Small script to select videos in terminal and watch them with mpv.

drawing

Features

  • Terminal user interface
  • Download/watch videos
  • Video quality selection
  • Audio playback/download
  • History, Favorite channels

Dependencies

  • mpv (for watchling online)
  • yt-dlp (for downloading)

Installation

  • $ wget https://raw.githubusercontent.com/tzrn/tmyt/main/tmyt
  • $ chmod +x tmyt
  • # mv tmyt /bin/tmyt

Usage

  • tmyt opens defaut menu
  • tmyt kittens searches for kittens plays selected
  • tmyt -da kittens searches for kittens downloads audio of selected
  • tmyt -v to go directly to the history
  • tmyt -c to go directly to channels
  • tmyt -b will play and download video at the same time
  • channels added by editing ~/.config/tmyt/channels file. Each string should contain channel id and channel name separated by space. e.g. somechannel Channel name\n
  • default download location is ~/Downloads to change it write wanted location to ~/.config/tmyt/dndir e.g. /home/robot/Videos
  • To get whiptail colorscheme as shown on screenshot add following to your shell starting script (.bashrc .zshrc etc.)
export NEWT_COLORS='root=,black
border=red,black
title=red,black
roottext=red,black
window=red,black
textbox=white,black
compactbutton=white,black
listbox=white,black
actlistbox=black,white
actsellistbox=black,red'

About

Terminal youtube client

Resources

License

Stars

Watchers

Forks

Languages