README.md

84 lines · 3053 bytes

 1![](https://img.shields.io/github/languages/top/siriusmart/youtube-tui?label=rust)
 2![](https://shields.io/github/license/siriusmart/youtube-tui)
 3[![](https://img.shields.io/crates/d/youtube-tui?label=crates.io%20downloads)](https://crates.io/crates/youtube-tui)
 4[![](https://img.shields.io/crates/v/youtube-tui?label=crates.io%20version)](https://crates.io/crates/youtube-tui)
 5[![](https://img.shields.io/aur/version/youtube-tui)](https://aur.archlinux.org/packages/youtube-tui)
 6![](https://shields.io/github/stars/siriusmart/youtube-tui?style=social)
 7
 8# Overview
 9
10Written in Rust, the **YouTube TUI** is a lightweight and user friendly TUI for browsing YouTube content from the terminal.
11
12![](./docs/src/images/search-showcase.png)
13
14It is like an _app launcher_, it launches other programs to do the heavy lifting (for example, `mpv` for playing videos).
15
16> Consider regenerating config files on updates to allow new features.
17
18## Customisable
19
20The YouTube TUI can be customised through config files, they are located in `~/.config/youtube-tui` and are in the YAML format.
21
22Here's an example of the config file:
23
24```yaml
25mouse_support: true
26invidious_instance: https://vid.puffyan.us
27max_watch_history: 50
28allow_unicode: false
29images: Sixels
30refresh_after_modifying_search_filters: true
31provider: YouTube
32env:
33  browser: firefox
34  video-player: mpv
35  youtube-downloader: yt-dlp
36  terminal-emulator: konsole -e
37```
38
39Anything from layouts to colours and keybindings can be customised, more on that later.
40
41## Dependency-free*
42
43<sub>See [installation#features](https://siriusmart.github.io/youtube-tui/installation.html#features) for more info on dependencies.</sub>
44
45The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
46
47However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
48
49![](./docs/src/images/custom-dependencies-showcase.png)
50
51## Powerful
52
53The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
54
55- View popular/trending videos
56- View information about channels, playlists and videos
57- Use search filters to sort and filter search results
58- Save browsing history
59
60It also includes features like:
61
62- Vim-like commands
63- Mouse support
64- Extensible keybindings system
65- Offline library
66- Subscriptions
67
68### What it doesn't have
69
70- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
71- Strip down some libraries to reduce compile speed.
72- Add command section for channel main page (first priority)
73- Up arrow command history + Ctrl arrow keys move between words
74
75## How to contribute
76
77You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
78
791. Open an issue to make sure nobody else is working on the same feature
802. Write code
813. Open a pull request
824. Get merged?
83
84Or just _fix that typo in README_ -\_-