invidtui is an invidious client, which fetches data from invidious and displays a user interface in the terminal(TUI), and allows for selecting and playing Youtube audio and video.
Currently, it is tested only on Linux.
- Playlist viewer
- Play audio or video
- Search with history support
- Control the video resolution
- Automatically queries the invidious API and selects the best instance
go install github.com/darkhz/[email protected]
invidtui [<flags>] Flags: --video-res="720p" Set the default video resolution. --close-instances Close all currently running instances.
Note: --close-instances should mainly be used if another invidtui instance may be using the socket, or if an error pops up like this:
Error: Socket exists at /home/test/.config/invidtui/socket, is another instance running?
And you want to ensure that all invidtui instances are closed before launching a new one.
|Add audio to the playlist||a|
|Add audio to the playlist and play||A|
|Add video to the playlist||v|
|Add video to the playlist and play||V|
|Switch to previous track||<|
|Switch to next track||>|
|Cycle shuffle mode (shuffle-playlist)||s|
|Cycle repeat modes (repeat-file, repeat-playlist)||l|
Since Youtube video titles may have many unicode characters (emojis for example), it is recommended to install noto-fonts and its variants (noto-fonts-emoji for example). Refer to your distro's documentation on how to install them. On Arch Linux for instance, you can install the fonts using pacman:
pacman -S noto-fonts noto-fonts-emoji noto-fonts-extra
For the video mode, only MP4 videos will be played, and currently there is no way to modify this behavior. This will change in later versions.