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