README.md

77 lines · 2603 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://shields.io/github/stars/siriusmart/youtube-tui?style=social)
 6
 7***Read more in the [user manual](https://siriusmart.github.io/youtube-tui) (including installation gude and documentation).***
 8
 9# Overview
10
11Written in Rust, the **YouTube TUI** is a lightweight and user friendly TUI for browsing YouTube content from the terminal.
12
13![](./docs/src/images/search-showcase.png)
14
15It is like an _app launcher_, it launches other programs to do the heavy lifting (for example, `mpv` for playing videos).
16
17## Customisable
18
19The YouTube TUI can be customised through config files, they are located in `~/.config/youtube-tui` and are in the YAML format.
20
21Here's an example of the config file:
22
23```yaml
24mouse_support: true
25invidious_instance: https://vid.puffyan.us
26max_watch_history: 50
27allow_unicode: false
28images: Sixels
29refresh_after_modifying_search_filters: true
30provider: YouTube
31env:
32  browser: firefox
33  video-player: mpv
34  youtube-downloader: yt-dlp
35  terminal-emulator: konsole -e
36```
37
38Anything from layouts to colours and keybindings can be customised, more on that later.
39
40## Dependency-free
41
42The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
43
44However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
45
46![](./docs/src/images/custom-dependencies-showcase.png)
47
48## Powerful
49
50The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
51
52- View popular/trending videos
53- View information about channels, playlists and videos
54- Use search filters to sort and filter search results
55- Save browsing history
56
57It also includes features like:
58
59- Vim-like commands
60- Mouse support
61
62### What it doesn't have
63
64- Binding commands to keys (first priority)
65- Channel search (will implement)
66- Subscriptions (will implement)
67
68## How to contribute
69
70You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
71
721. Open an issue to make sure nobody else is working on the same feature
732. Write code
743. Open a pull request
754. Get merged?
76
77Or just _fix that typo in README_ -\_-