You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/installation.md
+139-63
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ Running Invidious requires at least 20GB disk space, 512MB of free RAM (so ~2G i
12
12
Compiling Invidious requires at least 2.5GB of free RAM (We recommend to have at least 4GB installed).
13
13
If you have less (e.g on a cheap VPS) you can setup a SWAP file or partition, so the combined amount is >= 4GB.
14
14
15
+
You need at least 1GB of RAM for the machine that will run the tool `youtube-trusted-session-generator` in the 1st step. Doesn't need to be the same machine as the one running Invidious, just a machine running on the same public IP address.
16
+
15
17
## Docker
16
18
17
19
**The Invidious docker image is only [available on Quay](https://quay.io/repository/invidious/invidious) because, unlike Docker Hub, [Quay is Free and Open Source Software](https://github.com/quay/quay/blob/master/LICENSE). This is reflected in the `docker-compose.yml` file used in this walk-through.**
@@ -24,71 +26,105 @@ Ensure [Docker Engine](https://docs.docker.com/engine/install) and [Docker Compo
24
26
25
27
Note: Currently the repository has to be cloned, this is because the `init-invidious-db.sh` file and the `config/sql` directory have to be mounted to the postgres container (See the volumes section in the docker-compose file below). This "problem" will be solved in the future.
26
28
27
-
```bash
28
-
git clone https://github.com/iv-org/invidious.git
29
-
cd invidious
30
-
```
29
+
??? warning "About po_token and visitor_data identities"
30
+
31
+
po_token known as Proof of Origin Token. This is an attestation token generated by a complex bot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
32
+
33
+
These identity tokens (po_token and visitor_data) generated in this tutorial will make your entire Invidious session more easily traceable by YouTube because it is tied to a unique identifier.
34
+
35
+
There is currently no official automatic tool to periodically change these tokens. This is working in progress but, for the time being, this is the solution the Invidious team is offering.
36
+
37
+
If you want to be less traceable, you can always script the process by changing the identities every X hour.
38
+
39
+
40
+
1. Generate po_token and visitor_data identities for passing all verification checks on YouTube side:
41
+
```
42
+
docker run quay.io/invidious/youtube-trusted-session-generator
43
+
```
44
+
You have to run this command on the same public IP address as the Invidious server. Not necessarily the same machine, just the same public IP address.
45
+
You will need to copy these two parameters in the third step.
Note: This compose is made for a true "production" setup, where Invidious is behind a reverse proxy. If you prefer to directly access Invidious, replace `127.0.0.1:3000:3000` with `3000:3000` under the `ports:` section.
127
+
Note: This compose is made for a true "production" setup, where Invidious is behind a reverse proxy. If you prefer to directly access Invidious, replace `127.0.0.1:3000:3000` with `3000:3000` under the `ports:` section.
92
128
93
129
94
130
### Docker-compose method (development)
@@ -106,6 +142,22 @@ docker-compose up
106
142
107
143
### Linux
108
144
145
+
#### Generate po_token and visitor_data identities
146
+
147
+
[Follow these instructions here on the official tool `youtube-trusted-session-generator`](https://github.com/iv-org/youtube-trusted-session-generator?tab=readme-ov-file#tutorial-without-docker)
148
+
149
+
These two parameters will be required for passing all verification checks on YouTube side and you will have to configure them in Invidious. You have to run this command on the same public IP address as the Invidious server. Not necessarily the same machine, just the same public IP address.
150
+
151
+
??? warning "About po_token and visitor_data identities"
152
+
153
+
po_token known as Proof of Origin Token. This is an attestation token generated by a complex bot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
154
+
155
+
These identity tokens (po_token and visitor_data) generated in this tutorial will make your entire Invidious session more easily traceable by YouTube because it is tied to a unique identifier.
156
+
157
+
There is currently no official automatic tool to periodically change these tokens. This is working in progress but, for the time being, this is the solution the Invidious team is offering.
158
+
159
+
If you want to be less traceable, you can always script the process by changing the identities every X hour.
160
+
109
161
#### Install Crystal
110
162
111
163
Follow the instructions for your distribution here: https://crystal-lang.org/install/
@@ -158,6 +210,10 @@ make
158
210
# Configure config/config.yml as you like
159
211
cp config/config.example.yml config/config.yml
160
212
213
+
# edit config.yaml to include po_token and visitor_data previously generated
#### Generate po_token and visitor_data identities
233
+
234
+
[Follow these instructions here on the official tool `youtube-trusted-session-generator`](https://github.com/iv-org/youtube-trusted-session-generator?tab=readme-ov-file#tutorial-without-docker)
235
+
236
+
These two parameters will be required for passing all verification checks on YouTube side and you will have to configure them in Invidious. You have to run this command on the same public IP address as the Invidious server. Not necessarily the same machine, just the same public IP address.
237
+
238
+
??? warning "About po_token and visitor_data identities"
239
+
240
+
po_token known as Proof of Origin Token. This is an attestation token generated by a complex bot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
241
+
242
+
These identity tokens (po_token and visitor_data) generated in this tutorial will make your entire Invidious session more easily traceable by YouTube because it is tied to a unique identifier.
243
+
244
+
There is currently no official automatic tool to periodically change these tokens. This is working in progress but, for the time being, this is the solution the Invidious team is offering.
245
+
246
+
If you want to be less traceable, you can always script the process by changing the identities every X hour.
247
+
176
248
#### Install the dependencies
177
249
178
250
```bash
@@ -211,7 +283,11 @@ psql invidious kemal < config/sql/playlist_videos.sql
211
283
make
212
284
213
285
# Configure config/config.yml as you like
214
-
cp config/config.example.yml config/config.yml
286
+
cp config/config.example.yml config/config.yml
287
+
288
+
# edit config.yaml to include po_token and visitor_data previously generated
0 commit comments