Ytview
Search and Play YouTube Videos in Terminal
Ytview is a powerful command-line tool that allows you to seamlessly search for and play YouTube videos directly from your terminal. This utility is part of the Bash-Snippets collection, designed to enhance your command-line productivity.
How to Use Ytview
Using Ytview is straightforward. You can initiate a search for YouTube videos using their titles or by specifying a particular channel.
Search by Video Title
To find videos based on their title, simply type ytview
followed by your search query. For example:
ytview This is my search query
Search by Channel
If you want to find videos from a specific YouTube channel, use the -c
flag followed by the channel name:
ytview -c numberphile
Selecting and Playing Videos
After executing either of the search commands, Ytview will present you with a list of matching videos. You can then select the video you wish to play directly within your terminal environment.
Benefits of Ytview
- Convenience: Access YouTube content without leaving your terminal.
- Efficiency: Quickly find and play videos with simple commands.
- Integration: Works seamlessly with other bash commands and scripts.