Read more in the user manual (including installation guide and documentation).
Written in Rust, the YouTube TUI is a lightweight and user friendly TUI for browsing YouTube content from the terminal.
It launches other programs to do the heavy lifting (for example, mpv
for playing videos).
When updating, consider regenerating config files to allow new features.
The YouTube TUI can be customised through config files. They are located in ~/.config/youtube-tui
and are in the YAML format.
Here's an example configuration:
yaml
mouse_support: true
invidious_instance: https://vid.puffyan.us
max_watch_history: 50
allow_unicode: false
images: Sixels
refresh_after_modifying_search_filters: true
provider: YouTube
env:
browser: firefox
video-player: mpv
youtube-downloader: yt-dlp
terminal-emulator: konsole -e
Anything from layouts to colours and keybindings can be customised, more on that later.
The clipboard needs to be put as an optional feature before calling youtube-tui dependency-free; for now,
libxcb
is a required dependency.
The YouTube TUI does not work on its own, it is instead a TUI frontend for programs like mpv
or yt-dlp
/youtube-dl
.
However, the programs to launch can be changed, and therefore ~~the YouTube TUI does not rely on any specific dependencies to run~~.
The YouTube TUI allows you to browse YouTube with (almost) all of its features, functions including:
It also includes features like:
You will need a general knowledge of the Rust programming language, and the ability to understand my spaghetti.
Or just fix that typo in README -_-