Skip to content

Instantly share code, notes, and snippets.

@unixfox
Last active August 29, 2024 18:50
Show Gist options
  • Save unixfox/8fcaaa4acf009d00f7012a7d7f90342a to your computer and use it in GitHub Desktop.
Save unixfox/8fcaaa4acf009d00f7012a7d7f90342a to your computer and use it in GitHub Desktop.
Run Invidious with the new sig helper and trusted session generator

New official instructions: iv-org/documentation#581

Outdated Instructions

  1. Use the Invidious Docker image with tag master: quay.io/invidious/invidious:master (or for ARM64: quay.io/invidious/invidious:master-arm64)
  2. Generate a po_token and visitor_data ID using this script: https://github.com/iv-org/youtube-trusted-session-generator
    Note: According to someone on Matrix, you may need to generate that token from the same IP address as your Invidious server.
  3. Follow instructions about docker: https://github.com/iv-org/inv_sig_helper?tab=readme-ov-file#run-with-docker-recommended-method You will need to make the connection between sig_helper and invidious network.
  4. Add these new options inside config.yaml:
    po_token: PO_TOKEN_GENERATED_AT_STEP_2
    vistor_data: VISITOR_DATA_GENERATED_AT_STEP_2
    signature_server: yourpublicip:8080
    
    Note: for signature server IP, use the IP accordingly if you have changed the IP to which the sig helper is listening too. Here public IP is easier because it works for Dockerized environments.
  5. That's it, run invidious normally. You can run it with multiple processes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment