docs/src/README.md
77 lines · 2441 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> 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<sub>See [installation#features](./installation.md#features) for more info on dependencies.</sub>
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
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- Subscriptions
60
61### What it doesn't have
62
63- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
64- Strip down some libraries to reduce compile speed.
65- Add command section for channel main page (first priority)
66- Up arrow command history + Ctrl arrow keys move between words
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_ -\_-