• 0 Posts
  • 2 Comments
Joined 3 months ago
cake
Cake day: June 3rd, 2025

help-circle
  • net00@lemmy.todaytoSelfhosted@lemmy.worldInvidious selfhosted
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    15 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


  • I ended up choosing this one, since it’s small and it helps spread the user load around.

    Alternatively, if you want to delete your lemm.ee profile, now is the best time to do it, so the deletion can federate out before we go offline.

    I also decided to nuke my account, unfortunately when lemm.ee shuts down this implies users will lose control over the content saved on other instances without ability to remove it.

    If you nuke it now the deletion will still sync through fediverse.