Commit a6f98fcade

a6f98fcadec735d3fbba85668683f10ed6006a33

parent: ad8882375e

Unregistered key

Vilian Gerdzhikov <vgfractal@gmail.com> · 2022-09-09 08:03 UTC
committer: <noreply@github.com>

Even more grammar corrections

Layout: unified · split

README.md +22 −34
@@ -4,15 +4,13 @@
44[![](https://img.shields.io/crates/v/youtube-tui?label=crates.io%20version)](https://crates.io/crates/youtube-tui)
55![](https://shields.io/github/stars/siriusmart/youtube-tui?style=social)
66
7# YouTube TUI
7# YouTube# TUI
88
9An aesthetically pleasing pleasing YouTube TUI written in Rust.
9An aesthetically pleasing YouTube TUI written in Rust.
1010
1111## Overview
12YouTube TUI is a text user interface that provides a clean TUI for browsing YouTube. It can perform YouTube query searches, view and inspect channels, and play the desired content as a regular video or audio-only stream for saving bandwidth.
1213
13YouTube TUI is a text user interface that provides a clean UI for browsing YouTube content. It can perform searches and view channels in the terminal, play videos and playlists with external programs like MPV. Rust is used in writing this program for its better performance and ease of maintaining.
14
15This program is being actively developed and there will be new features coming up every commit.
1614
1715![Screenshot](https://cdn.discordapp.com/attachments/906941311142219816/990684947830419526/Screenshot_20220626_192433.png)
1816
@@ -44,7 +42,7 @@ So I fixed that one single typo and continued with stuff
4442
4543## Installation
4644
47### Install from the AUR
45###Install from the AUR
4846
4947```bash
5048yay -S youtube-tui-git # Or any other AUR helper
@@ -55,37 +53,27 @@ yay -S youtube-tui-git # Or any other AUR helper
5553```bash
5654cargo install youtube-tui
5755```
58### Clone from GitHub and build
5956
57### Clone from GitHub and build
6058```bash
6159git clone https://github.com/sirusmart/youtube-tui && cd youtube-tui && cargo build --release
6260```
61Once build, the compiled binary will be located at `./target/release/youtube-tui`. The program is not in your path yet, so you'll have to manually move to to a place from which you would be able to execute it. A common way to do so is to copy the binary executable to `/usr/local/bin/youtube-tui`.
6362
64The binary is located at `./target/release/youtube-tui`, go move it to other locations so that you can launch the program with `youtube-tui` command.
65
66> ### Dependencies
67>
68> This program does not requires any dependencies, but it is suggested these three things on your system that can be launched via command:
69>
70> 1. A video player (Defaults to `mpv`)
71> 2. A terminal emulator (Defaults to `konsole`)
72> 3. A YouTube downloader (Defaults to `yt-dlp`, strongly suggest NOT to use `youtube-dl` because it is now very slow)
73>
74> None of these dependencies are required as you can change them in config (in `commands.yml`)
75
76## Usage
63### Dependencies
64This program does not require any dependencies, but it is strongly recommended that there are at least three things present in your system's path as executable commands:
7765
78### To launch
66* A video player (Defaults to `MPV`)
67* A terminal emulator (Defaults to `konsole`)
68* A YouTube downloader (Defaults to `yt-dlp`, it is recommended that you do not use `yt-dl`, as the download speeds are ludicrously slow)
7969
80```bash
81youtube-tui # or path to the binary
82```
70> None of these dependencies is required, and you can change the defaults in the config file `commands.yml`
8371
8472### Movement
8573
8674|Key|What does it do|
8775|---|---|
88|Arrow/Vim keys|Move in corresponding direction|
76|Arrow/Vim keys|Move in the corresponding direction|
8977|Enter|Select/Launch|
9078|Q|Quit the program|
9179
@@ -97,22 +85,22 @@ Check the user manual [here](https://siriusmart.github.io/youtube-tui)
9785
9886### Config
9987
100All config files are loacted at `~/.config/youtube-tui/`, will write documentations for that later
88All config files are located at `~/.config/youtube-tui/`, will write documentation for that later
10189
10290## Known issues
10391
10492### Missing hash key: "selected"
10593
106When viewing the playlists page in a channel, it gives you `Missing hash key: "selected"`. This is because Invidious was not able to fetch the requested playlists.
94When viewing the playlists page in a channel, it gives you a `Missing hash key: "selected"`. This is because Invidious was not able to fetch the requested playlists.
10795
10896You should also see an error when visiting [this URL](https://vid.puffyan.us/api/v1/channels/UCAkuTH35kk3W1EL9vq6dj6A/playlists)
10997
11098Here's the [opened issue](https://github.com/iv-org/invidious/issues/3154)
11199
112## Todo (First piority on top)
100## Todo (Priority on top)
113101
114102* Go directly to a page by URL
115* Vim-like commands in status bar
103* Vim-like commands in the status bar
116104* Save as local playlist/video
117105* Command line launch options
118106* Channel search and channel video sort
@@ -120,15 +108,15 @@ Here's the [opened issue](https://github.com/iv-org/invidious/issues/3154)
120108
121109## Help needed
122110
123Guys please I need help I'm kinda bad at coding tbh, these are stuff that I need help with
111Guys please I need help I'm kinda bad at coding tbh, so these are stuff that I need help with
124112
125113* Publishing to the AUR
126* Printing full resolution images to the terminal with Sixels
114* Printing full resolution images to the terminal with Sixel
127115
128116## Credits
129117
130* [ytfzf](https://github.com/pystardust/ytfzf) by [pystardust](https://github.com/pystardust) - The TUI I used to watch YouTube, gave me an idea how this program is going to work
131* [Terminal Typeracer](https://gitlab.com/ttyperacer/terminal-typeracer) by [Darrien Glasser](https://gitlab.com/DarrienG) - A very clean looking TUI for typing speed test, gave me idea on how this program should look like
118* [ytfzf](https://github.com/pystardust/ytfzf) by [pystardust](https://github.com/pystardust) - The TUI I used to watch on YouTube, gave me an idea of how this program is going to work
119* [Terminal Typeracer](https://gitlab.com/ttyperacer/terminal-typeracer) by [Darrien Glasser](https://gitlab.com/DarrienG) - A very clean-looking TUI for typing speed test, gave me an idea of how this program should look like
132120* [Invidious](https://invidious.io) - For having a nice API for doing YouTube searches and stuff. (I made a wrapper for the API you can check it [here](https://crates.io/crates/invidious) out if you want to)
133121
134122
@@ -136,4 +124,4 @@ Guys please I need help I'm kinda bad at coding tbh, these are stuff that I need
136124
137125## Anything Missing?
138126
139If there is a bug or you got a nice idea on what can be added to this program, feel free to open a GitHub issue. Thx :D
127If there is a bug or you got a nice idea of what can be added to this program, feel free to open a GitHub issue. Thx :D