README.md
90 lines · 3523 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
66It also includes features like:
67
68- Vim-like commands
69- Mouse support
70- Extensible keybindings system
71- Offline library
72- Subscriptions
73
74### What it doesn't have
75
76- [URGENT] Replace the no-longer-going-to-compile `typemap` dependency with either a self implementation of it or a useable crate.
77- Strip down some libraries to reduce compile speed.
78- Add command section for channel main page (first priority)
79- Git like command line to improve on `yt-dlp` - make changes to existing downloaded playlists instead of redownloading the entire thing.
80
81## How to contribute
82
83You will need a <u>general knowledge</u> of the Rust programming language, and the ability to _understand my spaghetti_.
84
851. Open an issue to make sure nobody else is working on the same feature
862. Write code
873. Open a pull request
884. Get merged?
89
90Or just _fix that typo in README_ -\_-