docs/src/README.md

73 lines · 2190 bytes

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