this post was submitted on 20 Jul 2023
61 points (95.5% liked)

Selfhosted

40040 readers
918 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I used a public instance of Piped for a while and thought about selfhosting it, but the installation process was incredibly hard, to the point of being obnoxious, and in the end, it didn't even work. I liked the features I saw on the public instances and would like to revisit it some time. Until there I'm using Viewtube. Installation was a breeze and it looks pretty nice.

Do you have some other YT frontend that we could try, post it here and tell us how easy/difficult it is to run and your opinion about it.

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago

Firefox and ublock on desktop. Revanced on android.

[–] [email protected] 5 points 1 year ago

I use mpv with yt-dlp.

[–] [email protected] 4 points 1 year ago

Seems a better alternative frontend than invidious. I will check that. Thanks for sharing 🌞

[–] [email protected] 3 points 1 year ago

I've been using invidious. There's an automatic install script that's perfect, except I'm using mint instead of straight ubuntu so I have to tweak the script a bit to use the ubuntu path.

https://github.com/tmiland/invidious-installer

[–] [email protected] 3 points 1 year ago (2 children)

I've been using yt-dpl + MPV + qutebrowser or ytfzf for a long time, but lately I've been using Freetube a lot on my desktop (which can also use MPV as an external player). Subscriptions are saved locally and can be exported in several formats. I occasionally export them, sync them over syncthing to my phone and import it on my yt apps on my phone. On my phone I mainly use Libretube, with NewPipe as a backup.

[–] [email protected] 2 points 1 year ago (1 children)

Check out pipepipe, it's a fork of newpipe with extra bug fixes. I've found it to be a lot more stable.

[–] [email protected] 1 points 1 year ago

Sounds good, I will check it out! Thanks for sharing!

[–] [email protected] 2 points 1 year ago

Those look nice. I don't need a dedicated desktop client, since I always have Firefox open anyways, but I'll give Libretube a try on my phone. Bonus, Libretube's Mastodon account is on the same instance that I use :-)

[–] [email protected] 2 points 1 year ago (2 children)

I don't see the point of having an alternative YouTube front end. I just run uBlock Origin with all the filters enabled. Who cares if Google sees your IP requesting a video, they already have it through various means lol.

[–] [email protected] 5 points 1 year ago

Cool, still nice to have options.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I can't speak as to why other people use their alternatives, but if you use mpv with yt-dlp like the guy above, and which I do -- which isn't really a full replacement for YouTube, just for part of it -- then you can use stuff like deblocking, interpolating, deinterlacing filters, hardware decoding, etc. Lets me use my own keybindings to move around and such. Seeking happens instantly, without rebuffering time.

Also means that your bandwidth isn't a constraint on the resolution you use, since you aren't streaming the content as you watch, though also means that you need to wait for the thing to download until you watch it.

There, one is talking about the difference between streaming and watching a local video, and that mpv is a considerably more-powerful and better-performing video player than YouTube's client is.

I generally do it when I run into a long video or a series of videos that I know I'm going to want to probably watch.

EDIT: It also looks, from this test video, like YouTube's web client doesn't have functioning vsync on my system, so I get tearing, whereas mpv does not have that issue. That being said, I'm using a new video card, and it's possible that there's a way to eliminate that in-browser, and it's possible that someone else's system may not run into that -- I'm not using a compositor, which is somewhat unusual these days.

[–] [email protected] 1 points 1 year ago

Invidius user here. But will check this out.

[–] [email protected] 1 points 1 year ago

This is nice but the dates are way off, like several weeks off.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

youtube-local or yt-local with vpn. its very easy to set up

[–] [email protected] 1 points 1 year ago

Rehike. It's meant to be a re implementation of the older hitchhiker youtube layout that youtube had back between around 2015-2020. It doesn't do anything for privacy but that's not the point of it so I don't mind. I've tried things like newpipe and invidious but youtube is around 90 percent of my media consumption so having my history, likes, playlists, and recommendations synced between all my devices is too much for me to give up.

[–] [email protected] 1 points 1 year ago

I'm still using public instances for now. I started w/ Piped but the buffer speed was lacking for most of the instances I used. Switched to Invidious and the buffer speed as amazing, albeit a lot more error messages that Google is blocking an instance temporariliy

[–] [email protected] 0 points 1 year ago (1 children)

I've hosted invidious relatively easy for a while now. Simple UI and just works. If anyone needs my compose and config setup, reply and I'll post it.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

It would be great if you can post the compose and comfigs!

Are there any minimum requirements?

[–] [email protected] 1 points 1 year ago

No minimum requirements. And here you go:

#version: "3.8"
services:
  invidious:
    image: quay.io/invidious/invidious:latest
    restart: unless-stopped
    security_opt:
      - no-new-privileges
    container_name: invidious
    stop_grace_period: 3s
    ports:
      - 127.0.0.1:3000:3000
    environment:
      INVIDIOUS_CONFIG: |
        db:
          dbname: invidious
          user: invidious
          password: superstrongpassword491
          host: postgres
          port: 5432
        check_tables: true
        popular_enabled: true
        login_enabled: false
        statistics_enabled: true
        hsts: true
        hmac_key: *PICK-A-LONG-RANDOM-STRING*
        https_only: true
        external_port: 443
        use_quic: true
        database_url: postgres://invidious:superstrongpassword491@postgres/invidious?auth_methods=md5,scram-sha-256
        force_resolve: ipv4
        domain: *your.domain.com*
    healthcheck:
      test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
      interval: 30s
      timeout: 5s
      retries: 2
    depends_on:
      - postgres

  postgres:
    image: postgres:15-alpine
    container_name: postgres
    security_opt:
      - no-new-privileges
    restart: always
    # purposefully excluded volumes section
    # the database will reset on recreate
    environment:
      POSTGRES_DB: invidious
      POSTGRES_USER: invidious
      POSTGRES_PASSWORD: superstrongpassword491
    healthcheck:
      test: pg_isready -U invidious -d invidious
      interval: 10s
      timeout: 5s
      retries: 5
load more comments
view more: next ›