README.md
94 lines · 3717 bytes
1## YouTube TUI is being **rewritten**, [click here](https://github.com/Siriusmart/youtube-tui/issues/48) to learn more.
2
3
4
5[](https://crates.io/crates/youtube-tui)
6[](https://crates.io/crates/youtube-tui)
7[](https://aur.archlinux.org/packages/youtube-tui)
8
9
10***Read more in the [user manual](https://siriusmart.github.io/youtube-tui) (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 to configurable.
15
16
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
32invidious_instance: https://vid.puffyan.us
33max_watch_history: 50
34allow_unicode: false
35images: Sixels
36refresh_after_modifying_search_filters: true
37provider: YouTube
38env:
39 browser: firefox
40 video-player: mpv
41 youtube-downloader: yt-dlp
42 terminal-emulator: konsole -e
43```
44
45Anything from layouts to colours and keybindings can be customised, more on that later.
46
47## Dependency-free*
48
49<sub>See [installation#features](https://siriusmart.github.io/youtube-tui/installation.html#features) for more info on dependencies.</sub>
50
51The YouTube TUI does not work on its own, it is instead like a _TUI frontend_ for programs like `mpv` or `yt-dlp`/`youtube-dl`.
52
53However, the programs to launch can be changed, and therefore the YouTube TUI <u>does not rely on any specific dependencies</u> to run.
54
55
56
57## Powerful
58
59The YouTube TUI allows you to browse YouTube with (almost) all of it's features, functions including:
60
61- View information about channels, playlists and videos
62- Use search filters to sort and filter search results
63- Save browsing history
64- Embedded audio/music player
65
66
67
68It also includes features like:
69
70- Vim-like commands
71- Mouse support
72- Extensible keybindings system
73- Offline library
74- Subscriptions
75
76### TODO
77
78- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
79> This has been urgent for over 2 years now, maybe the deprecation warnings aren't real, nothing ever happens.
80- Move some backend to use yt-dlp instead of entirely relying on Invidious, given the current state of events.
81- Git like command line to improve on `yt-dlp` - make changes to existing downloaded playlists instead of redownloading the entire thing.
82- Channel caching and bookmarking.
83- Selecting item on channel list moves focus to feed items.
84
85## How to contribute
86
87You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
88
891. Open an issue to make sure nobody else is working on the same feature
902. Write code
913. Open a pull request
924. Get merged?
93
94Or just _fix that typo in README_ -\_-