docs/src/README.md
69 lines · 1995 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
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
16mouse_support: true
17invidious_instance: https://vid.puffyan.us
18max_watch_history: 50
19allow_unicode: false
20images: Sixels
21refresh_after_modifying_search_filters: true
22provider: YouTube
23env:
24 browser: firefox
25 video-player: mpv
26 youtube-downloader: yt-dlp
27 terminal-emulator: konsole -e
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
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- Entensible keybindings system
54
55### What it doesn't have
56
57- Subscriptions (first priority)
58- Download library (will implement)
59
60## How to contribute
61
62You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
63
641. Open an issue to make sure nobody else is working on the same feature
652. Write code
663. Open a pull request
674. Get merged?
68
69Or just _fix that typo in README_ -\_-