mps-youtube is a cross-platform Terminal-based YouTube client app inbuilt with playlist management and an interactive text UI for playing and downloading YouTube content.
It is based on another open source terminal-based program, mps, which can be used to search, stream, and download music as well; and it uses the pafy library to handle its interfacing tasks with YouTube.