Skip to content

Commit 6c1750e

Browse files
author
Alex Zamai
committed
update readme
1 parent 57b2681 commit 6c1750e

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

README.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Download this credential to your local machine with name `client_secret.json`, i
4848
To verify this credential, run the following command
4949

5050
```shell
51-
yutu auth --credential client_secret.json
51+
yutu auth --credential client_secret.json
5252
```
5353

5454
A browser window will open asking for your permission to access your YouTube account, after granting the permission, a token will be generated and saved to `youtube.token.json`.
@@ -73,57 +73,60 @@ There are two actions available for yutu, one is for general purpose and the oth
7373
### Docker
7474

7575
```shell
76-
docker pull ghcr.io/eat-pray-ai/yutu:latest
77-
docker run --rm ghcr.io/eat-pray-ai/yutu:latest
76+
docker pull ghcr.io/eat-pray-ai/yutu:latest
77+
docker run --rm ghcr.io/eat-pray-ai/yutu:latest
7878
```
7979

8080
### Gopher
8181

8282
```shell
83-
go install github.com/eat-pray-ai/yutu@latest
83+
go install github.com/eat-pray-ai/yutu@latest
8484
```
8585

8686
### Linux
8787

8888
```shell
89-
curl -sSfL https://github.com/eat-pray-ai/yutu/releases/latest/download/yutu-linux-$(uname -m) -o /usr/local/bin/yutu
90-
chmod +x /usr/local/bin/yutu
89+
curl -sSfL https://github.com/eat-pray-ai/yutu/releases/latest/download/yutu-linux-$(uname -m) -o /usr/local/bin/yutu
90+
chmod +x /usr/local/bin/yutu
9191
```
9292

9393
### macOS
9494

9595
Homebrew is not available since this repository is not notable enough, star this repository to make it available on Homebrew.
9696

9797
```shell
98-
curl -sSfL https://github.com/eat-pray-ai/yutu/releases/latest/download/yutu-darwin-$(uname -m) -o /usr/local/bin/yutu
99-
chmod +x /usr/local/bin/yutu
98+
curl -sSfL https://github.com/eat-pray-ai/yutu/releases/latest/download/yutu-darwin-$(uname -m) -o /usr/local/bin/yutu
99+
chmod +x /usr/local/bin/yutu
100100
```
101101

102102
### Windows
103103

104104
```shell
105-
winget install yutu
105+
winget install yutu
106106
```
107107

108108
### Verifying Installation
109109

110110
Verify the integrity and provenance of `yutu` using its associated cryptographically signed attestations.
111111

112+
Docker
112113
```shell
113-
# Docker
114-
gh attestation verify oci://ghcr.io/eat-pray-ai/yutu:latest --repo eat-pray-ai/yutu
115-
116-
# macOS and Linux
117-
gh attestation verify $(which yutu) --repo eat-pray-ai/yutu
114+
gh attestation verify oci://ghcr.io/eat-pray-ai/yutu:latest --repo eat-pray-ai/yutu
115+
```
118116

119-
# Windows
120-
gh attestation verify $(where.exe yutu.exe) --repo eat-pray-ai/yutu
117+
macOS and Linux
118+
```shell
119+
gh attestation verify $(which yutu) --repo eat-pray-ai/yutu
121120
```
122121

122+
Windows
123+
```shell
124+
gh attestation verify $(where.exe yutu.exe) --repo eat-pray-ai/yutu
125+
```
123126
## Usage
124127

125128
```shell
126-
yutu help
129+
yutu help
127130
yutu is a fully functional CLI for YouTube, which can be used to manupulate YouTube videos, playlists, channels, etc.
128131

129132
Usage:

0 commit comments

Comments
 (0)