README.md

74 lines · 2601 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
24invidious_instance: https://vid.puffyan.us
25max_watch_history: 50
26allow_unicode: false
27images: Sixels
28refresh_after_modifying_search_filters: true
29provider: YouTube
30env:
31  browser: firefox
32  video-player: mpv
33  youtube-downloader: yt-dlp
34  terminal-emulator: konsole -e
35
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
57### What it doesn't have
58
59- Vim-like commands (first priority)
60- Channel search (will implement)
61- Channel videos sorting (will implement)
62- Subscriptions (will implement)
63- Recommendations/comments (probably will not implement)
64
65## How to contribute
66
67You will need a <u>general knowledge</u> of the Rust programming language, and the ability to *understand my spaghetti*.
68
691. Open an issue to make sure nobody else is working on the same feature
702. Write code
713. Open a pull request
724. Get merged?
73
74Or just *fix that typo in README* -_-