README.md

wip_album
youtube-tui/README.md rendered · source · history · blame · raw

92 lines · 3544 bytes

 1<!-- ## YouTube TUI is being **rewritten**, [click here](https://github.com/Siriusmart/youtube-tui/issues/48) to learn more. -->
 2
 3![](https://img.shields.io/github/languages/top/siriusmart/youtube-tui?label=rust)
 4![](https://shields.io/github/license/siriusmart/youtube-tui)
 5[![](https://img.shields.io/crates/d/youtube-tui?label=crates.io%20downloads)](https://crates.io/crates/youtube-tui)
 6[![](https://img.shields.io/crates/v/youtube-tui?label=crates.io%20version)](https://crates.io/crates/youtube-tui)
 7[![](https://img.shields.io/aur/version/youtube-tui)](https://aur.archlinux.org/packages/youtube-tui)
 8![](https://shields.io/github/stars/siriusmart/youtube-tui?style=social)
 9
10***Read more in the [user manual](https://tui.siri.ws/youtube) (including installation guide and documentation).***
11
12# Overview
13
14Written 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.
15
16![](./docs/src/images/readme1.png)
17
18It is like an _app launcher_, it launches other programs to do the heavy lifting (for example, `mpv` for playing videos).
19
20<sub>It also have an embedded mpv music player, but that can be disabled in compile time.</sub>
21
22> Consider regenerating config files on updates to allow new features.
23
24## Customisable
25
26The YouTube TUI can be customised through config files, they are located in `~/.config/youtube-tui` and are in the YAML format.
27
28Here's an example of the config file:
29
30```yaml
31mouse_support: true
32max_watch_history: 50
33allow_unicode: false
34images: Sixels
35refresh_after_modifying_search_filters: true
36provider: YouTube
37env:
38  browser: xdg-open
39  video-player: mpv
40  youtube-downloader: yt-dlp
41  terminal-emulator: konsole -e
42```
43
44Anything from layouts to colours and keybindings can be customised, more on that later.
45
46## Dependency-free*
47
48<sub>See [installation#features](https://tui.siri.ws/youtube/installation.html#features) for more info on dependencies.</sub>
49
50The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
51
52However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
53
54![](./docs/src/images/readme2.png)
55
56## Powerful
57
58The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
59
60- View information about channels, playlists and videos
61- Use search filters to sort and filter search results
62- Save browsing history
63- Embedded audio/music player
64
65![](./docs/src/images/readme3.png)
66
67It also includes features like:
68
69- Vim-like commands
70- Mouse support
71- Extensible keybindings system
72- Offline library
73- Subscriptions
74
75### TODO
76
77- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
78> This has been urgent for over 2 years now, maybe the deprecation warnings aren't real, nothing ever happens.
79- Git like command line to improve on `yt-dlp` - make changes to existing downloaded playlists instead of redownloading the entire thing.
80- Channel caching and bookmarking.
81- Selecting item on channel list moves focus to feed items.
82
83## How to contribute
84
85You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
86
871. Open an issue to make sure nobody else is working on the same feature
882. Write code
893. Open a pull request
904. Get merged?
91
92Or just _fix that typo in README_ -\_-