docs/src/README.md
79 lines · 2660 bytes
1# Overview
2
3Written in Rust, the **YouTube TUI** is a lightweight and user friendly TUI for browsing YouTube content from the terminal. Works out of the box and easily to configurable.
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<sub>It also have an embedded mpv music player, but that can be disabled in compile time.</sub>
10
11> Consider regenerating config files on updates to allow new features.
12
13## Customisable
14
15The YouTube TUI can be customised through config files, they are located in `~/.config/youtube-tui` and are in the YAML format.
16
17Here's an example of the config file:
18
19```yaml
20mouse_support: true
21invidious_instance: https://vid.puffyan.us
22max_watch_history: 50
23allow_unicode: false
24images: Sixels
25refresh_after_modifying_search_filters: true
26provider: YouTube
27env:
28 browser: firefox
29 video-player: mpv
30 youtube-downloader: yt-dlp
31 terminal-emulator: konsole -e
32```
33
34Anything from layouts to colours and keybindings can be customised, more on that later.
35
36## Dependency-free*
37
38<sub>See [installation#features](./installation.md#features) for more info on dependencies.</sub>
39
40The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
41
42However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
43
44
45
46## Powerful
47
48The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
49
50- View information about channels, playlists and videos
51- Use search filters to sort and filter search results
52- Save browsing history
53- Embedded audio/music player
54
55It also includes features like:
56
57- Vim-like commands
58- Mouse support
59- Extensible keybindings system
60- Offline library
61- Subscriptions
62
63### What it doesn't have
64
65- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
66- Strip down some libraries to reduce compile speed.
67- Add command section for channel main page (first priority)
68- Git like command line to improve on `yt-dlp` - make changes to existing downloaded playlists instead of redownloading the entire thing.
69
70## How to contribute
71
72You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
73
741. Open an issue to make sure nobody else is working on the same feature
752. Write code
763. Open a pull request
774. Get merged?
78
79Or just _fix that typo in README_ -\_-