README.md

88 lines · 3402 bytes

 1![](https://img.shields.io/github/languages/top/siriusmart/youtube-tui?label=rust)
 2![](https://shields.io/github/license/siriusmart/youtube-tui)
 3[![](https://img.shields.io/crates/d/youtube-tui?label=crates.io%20downloads)](https://crates.io/crates/youtube-tui)
 4[![](https://img.shields.io/crates/v/youtube-tui?label=crates.io%20version)](https://crates.io/crates/youtube-tui)
 5[![](https://img.shields.io/aur/version/youtube-tui)](https://aur.archlinux.org/packages/youtube-tui)
 6![](https://shields.io/github/stars/siriusmart/youtube-tui?style=social)
 7
 8***Read more in the [user manual](https://siriusmart.github.io/youtube-tui) (including installation guide and documentation).***
 9
10# Overview
11
12Written in Rust, the **YouTube TUI** is a lightweight and user friendly TUI for browsing YouTube content from the terminal. Works out of the box and easily to configurable.
13
14![](./docs/src/images/search-showcase.png)
15
16It is like an _app launcher_, it launches other programs to do the heavy lifting (for example, `mpv` for playing videos).
17
18<sub>It also have an embedded mpv music player, but that can be disabled in compile time.</sub>
19
20> Consider regenerating config files on updates to allow new features.
21
22## Customisable
23
24The YouTube TUI can be customised through config files, they are located in `~/.config/youtube-tui` and are in the YAML format.
25
26Here's an example of the config file:
27
28```yaml
29mouse_support: true
30invidious_instance: https://vid.puffyan.us
31max_watch_history: 50
32allow_unicode: false
33images: Sixels
34refresh_after_modifying_search_filters: true
35provider: YouTube
36env:
37  browser: firefox
38  video-player: mpv
39  youtube-downloader: yt-dlp
40  terminal-emulator: konsole -e
41```
42
43Anything from layouts to colours and keybindings can be customised, more on that later.
44
45## Dependency-free*
46
47<sub>See [installation#features](https://siriusmart.github.io/youtube-tui/installation.html#features) for more info on dependencies.</sub>
48
49The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
50
51However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
52
53![](./docs/src/images/custom-dependencies-showcase.png)
54
55## Powerful
56
57The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
58
59- View information about channels, playlists and videos
60- Use search filters to sort and filter search results
61- Save browsing history
62- Embedded audio/music player
63
64It also includes features like:
65
66- Vim-like commands
67- Mouse support
68- Extensible keybindings system
69- Offline library
70- Subscriptions
71
72### What it doesn't have
73
74- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
75- Strip down some libraries to reduce compile speed.
76- Add command section for channel main page (first priority)
77- Git like command line to improve on `yt-dlp` - make changes to existing downloaded playlists instead of redownloading the entire thing.
78
79## How to contribute
80
81You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
82
831. Open an issue to make sure nobody else is working on the same feature
842. Write code
853. Open a pull request
864. Get merged?
87
88Or just _fix that typo in README_ -\_-