docs/src/README.md

72 lines · 2115 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## Customisable
10
11The YouTube TUI can be customised through config files, they are located in `~/.config/youtube-tui` and are in the YAML format.
12
13Here's an example of the config file:
14
15```yaml
16invidious_instance: https://vid.puffyan.us
17max_watch_history: 50
18allow_unicode: false
19images: Sixels
20refresh_after_modifying_search_filters: true
21provider: YouTube
22env:
23  browser: firefox
24  video-player: mpv
25  youtube-downloader: yt-dlp
26  terminal-emulator: konsole -e
27
28```
29
30Anything from layouts to colours and keybindings can be customised, more on that later.
31
32## Dependency-free
33
34The YouTube TUI does not work on its own, it is instead like a *TUI frontend* for programs like `mpv` or `yt-dlp`/`youtube-dl`.
35
36However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
37
38![](./images/custom-dependencies-showcase.png)
39
40## Powerful
41
42The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
43
44- View popular/trending videos
45- View information about channels, playlists and videos
46- Use search filters to sort and filter search results
47- Save browsing history
48
49It also includes features like:
50
51- Vim-like commands
52- Mouse support
53
54### What it doesn't have
55
56- Command line args (first priority)
57- Bootleg Vimscript? (will implement)
58- Channel search (will implement)
59- Channel videos sorting (will implement)
60- Subscriptions (will implement)
61- Recommendations/comments (probably will not implement)
62
63## How to contribute
64
65You will need a <u>general knowledge</u> of the Rust programming language, and the ability to *understand my spaghetti*.
66
671. Open an issue to make sure nobody else is working on the same feature
682. Write code
693. Open a pull request
704. Get merged?
71
72Or just *fix that typo in README* -_-