Hello everyone. I’m trying to selfhost an invidious instance to use inside my home network, to, you know, avoid youtube and use sponsorblock. I tried to use their site instructions to hold a docker container (although I’m using podman-composer for personal reasons) but I just can’t get it built. Has anyone succeded in doing it? any tips you can give me?

  • net00
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    A PSA for you is that the original setup for local invidious is not really worth it at this time. You gotta rotate IP to avoid youtube blocking it, you need to use IPv6, and you have to constantly refresh PO tokens. All of this happens with separate programs so it’s clunky and can’t keep up with youtube’s rate of blocking things, unless you setup some kind of frequent cron jobs, but at the cost of bringing the service down frequently which is not worth it.

    For my instance I use the companion setup. It takes care of rotating PO token by detecting when it needs to. It’s also way more robust, based on very well maintained youtube.js project.

    Another change I made is routing the invidious connections through VPN. That keeps my real IP safe from getting blocked, and I do remember this setup rotates the VPN server when blocked. I’ll share my compose file in a bit, been using it with almost no issue for almost a year.

    EDIT: https://pastebin.com/0RqR77i2