mirror of
https://github.com/iv-org/documentation.git
synced 2026-01-09 12:31:03 -05:00
doc: remove macos and ask people to submit docs
This commit is contained in:
parent
9373f6743c
commit
b4690f9b6d
1 changed files with 1 additions and 74 deletions
|
|
@ -296,77 +296,4 @@ Keep in mind that generated units cannot be enabled using `systemctl --user enab
|
|||
|
||||
## MacOS
|
||||
|
||||
Guide contributor(s): Previously Invidious developers
|
||||
|
||||
### Generate po_token and visitor_data identities
|
||||
|
||||
[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)
|
||||
|
||||
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 one blocked by YouTube. Not necessarily the same machine, just the same public IP address.
|
||||
You will need to copy these two parameters in the `config.yaml` file.
|
||||
Subsequent usage of this same token will work on the same IP range or even the same ASN. The point is to generate this token on a blocked IP as "unblocked" IP addresses seems to not generate a token valid for passing the checks on a blocked IP.
|
||||
|
||||
??? warning "About po_token and visitor_data identities"
|
||||
|
||||
po_token known as Proof of Origin Token. This is an attestation token generated by a complex anti robot verification system created by Google named BotGuard/DroidGuard. It is used to confirm that the request is coming from a genuine device.
|
||||
|
||||
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.
|
||||
|
||||
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.
|
||||
|
||||
If you want to be less traceable, you can always script the process by changing the identities every X hour.
|
||||
|
||||
### Run inv_sig_helper in background
|
||||
|
||||
[Follow these instructions here on the official tool `inv_sig_helper`](https://github.com/iv-org/inv_sig_helper?tab=readme-ov-file#building-and-running-without-docker)
|
||||
|
||||
inv_sig_helper handle the "deciphering" of the video stream fetched from YouTube servers. As it is running untrusted code from Google themselves, make sure to isolate it by for example running it inside Docker or a VM.
|
||||
|
||||
Call for action: An example here is welcome, [if you want to contribute to one](https://github.com/iv-org/documentation/edit/master/docs/installation.md#macos).
|
||||
|
||||
### Install the dependencies
|
||||
|
||||
```bash
|
||||
brew update
|
||||
brew install crystal postgresql imagemagick librsvg
|
||||
```
|
||||
|
||||
### Clone the Invidious repository
|
||||
|
||||
```bash
|
||||
git clone https://github.com/iv-org/invidious
|
||||
cd invidious
|
||||
```
|
||||
|
||||
### Set up PostgreSQL
|
||||
|
||||
```bash
|
||||
brew services start postgresql
|
||||
createdb
|
||||
psql -c "CREATE ROLE kemal WITH LOGIN PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
|
||||
createdb -O kemal invidious
|
||||
psql invidious kemal < config/sql/channels.sql
|
||||
psql invidious kemal < config/sql/videos.sql
|
||||
psql invidious kemal < config/sql/channel_videos.sql
|
||||
psql invidious kemal < config/sql/users.sql
|
||||
psql invidious kemal < config/sql/session_ids.sql
|
||||
psql invidious kemal < config/sql/nonces.sql
|
||||
psql invidious kemal < config/sql/annotations.sql
|
||||
psql invidious kemal < config/sql/playlists.sql
|
||||
psql invidious kemal < config/sql/playlist_videos.sql
|
||||
```
|
||||
|
||||
### Set up Invidious
|
||||
|
||||
```bash
|
||||
make
|
||||
|
||||
# Configure config/config.yml as you like
|
||||
cp config/config.example.yml config/config.yml
|
||||
|
||||
# edit config.yaml to include po_token and visitor_data previously generated
|
||||
|
||||
edit config/config.yaml
|
||||
```
|
||||
Looking for contributors to this operating system. Please submit a new doc for MacOS at https://github.com/iv-org/documentation/blob/master/docs/community-installation-guide.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue