docs/src/README.md
81 lines · 2716 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 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
21max_watch_history: 50
22allow_unicode: false
23images: Sixels
24refresh_after_modifying_search_filters: true
25provider: YouTube
26env:
27 browser: firefox
28 video-player: mpv
29 youtube-downloader: yt-dlp
30 terminal-emulator: konsole -e
31```
32
33Anything from layouts to colours and keybindings can be customised, more on that later.
34
35## Dependency-free*
36
37<sub>See [installation#features](https://tui.siri.ws/youtube/installation.html#features) for more info on dependencies.</sub>
38
39The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
40
41However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
42
43
44
45## Powerful
46
47The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
48
49- View information about channels, playlists and videos
50- Use search filters to sort and filter search results
51- Save browsing history
52- Embedded audio/music player
53
54
55
56It also includes features like:
57
58- Vim-like commands
59- Mouse support
60- Extensible keybindings system
61- Offline library
62- Subscriptions
63
64### TODO
65
66- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
67> This has been urgent for over 2 years now, maybe the deprecation warnings aren't real, nothing ever happens.
68- Git like command line to improve on `yt-dlp` - make changes to existing downloaded playlists instead of redownloading the entire thing.
69- Channel caching and bookmarking.
70- Selecting item on channel list moves focus to feed items.
71
72## How to contribute
73
74You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
75
761. Open an issue to make sure nobody else is working on the same feature
772. Write code
783. Open a pull request
794. Get merged?
80
81Or just _fix that typo in README_ -\_-