| name | last commit | updated |
|---|---|---|
| docs/ | offline library | 3 years ago |
| src/ | offline library | 3 years ago |
| .gitignore | 0.5.0 | 4 years ago |
| Cargo.lock | offline library | 3 years ago |
| Cargo.toml | shows cached version of item when selected from watch history page | 3 years ago |
| LICENSE | Basic UI layout | 4 years ago |
| PKGBUILD | Merge pull request #2 from Zaedus/master | 4 years ago |
| README.md | offline library | 3 years ago |
Overview
Written in Rust, the YouTube TUI is a lightweight and user friendly TUI for browsing YouTube content from the terminal.

It is like an app launcher, it launches other programs to do the heavy lifting (for example, mpv for playing videos).
Consider regenerating config files on updates to allow new features.
Customisable
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 of the config file:
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.
Dependency-free
Clipboard need to be put as an optional feature before before calling dependency-free, for now
libxcbis a required dependency.
The YouTube TUI does not work on its own, it is instead like 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.

Powerful
The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
- View popular/trending videos
- View information about channels, playlists and videos
- Use search filters to sort and filter search results
- Save browsing history
It also includes features like:
- Vim-like commands
- Mouse support
- Extensible keybindings system
- Offline library
What it doesn't have
- Subscriptions (first priority)
How to contribute
You will need a general knowledge of the Rust programming language, and the ability to understand my spaghetti.
- Open an issue to make sure nobody else is working on the same feature
- Write code
- Open a pull request
- Get merged?
Or just fix that typo in README -_-
About
Rust 89.1%Markdown 10.9%
6 contributorsSiriusmartSiriusmartVilian GerdzhikovZaedusLuckyTurtleDevDominic
Clone
SSHgit clone ssh://git@gitbay.org/librebro/youtube-tui.git
HTTPSgit clone https://gitbay.org/librebro/youtube-tui.git