this post was submitted on 13 Oct 2023
37 points (95.1% liked)

Selfhosted

39964 readers
356 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
 

In the lght of recent events (gloogel complaining about uBlock) I tried to investigate other available options out there. While Piped.video definitely works, it looks like it is only fluid for popular videos, and as soon as I want to watch something a little more obscure, it is basically impossible, I have infinite wheel spinning.

Have anyone here tried self hosting Piped/ Invidious, and could share a feedback about performance /usability ?

top 17 comments
sorted by: hot top controversial new old
[–] diminou@lemmy.zip 7 points 1 year ago (1 children)

I'm selfhosting invidious for a few users (5), only downside is it have to be restarted every once in a while to clean up the db (cron every one hour did the trick pretty well). Very usable on every video :-)

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 3 points 1 year ago (1 children)

you mean clean up the ram usage? not db

Ok nice to hear that, will give it a shot

[–] diminou@lemmy.zip 8 points 1 year ago (1 children)

Yeah something like that sorry was just waking up 😂

From the doc : Because of various issues Invidious must be restarted often, at least once a day, ideally every hour.

[–] fushuan@lemm.ee 11 points 1 year ago

Lmao the docs. That translates to: we have memory leaks but I'm not getting paid for this so deal with it. 😂😂

[–] xxd@discuss.tchncs.de 7 points 1 year ago* (last edited 2 months ago) (1 children)

I selfhosted Invidious a while back, but gave up on it when it stopped working and I couldn't figure out why. I have no experience with Piped.

I settled on a third alternative, but I don't want to point too much attention to it because I think it might be flying under Youtubes' radar at the moment. But let me say this: if you embed a youtube video on a third party site and have it be part of a playlist with only the video in it, you won't see any ads. so for example I'd be embedding a link like this: https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ?playlist=dQw4w9WgXcQ&vq=hd1080&autoplay=1&modestbranding=1&rel=0 on my own page and can then watch it without ads :) if you have any questions, feel free to hit me up.

EDIT: Well, I just got the first ad using this method. So it seems youtube is cracking down on all ad avoidance methods and they found this one too. Only one ad so far, so it doesn't seem to be as bad as their own site, with (sometimes multiple) ads before almost every video, but I'm sure it'll happen. Guess Piped/Invidious it is!

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 3 points 1 year ago (2 children)

Sounds like a loophole that would be pretty easy to cover from YT? Why would they be so generous and not showing ads in playlists

Wierd lol

[–] xxd@discuss.tchncs.de 2 points 1 year ago

yeah I know, makes no sense. I'll use this workaround for as long as possible, but I'm sure I'll have to move to Piped or Invidious sooner or later.

[–] feminalpanda@lemmings.world 1 points 1 year ago (2 children)

Playlists usually don't have eyes watching so businesses don't want to pay for their ads on playlists.

[–] xxd@discuss.tchncs.de 2 points 1 year ago

The thing is, I do see ads when I open the embedded video/playlist on youtube! I don't think businesses would specifically avoid embedded playlists, but then happily advertise on playlists on youtube. It just looks like an oversight rather than a business decision to me.

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 1 points 1 year ago

Butbutbut radios don't have eyes watching neither? Lol

[–] M500@lemmy.ml 6 points 1 year ago (1 children)

Viewtube was pretty easy to get running. Their rocker container started up almost right away.

The only problem I have with them, is that it doesn’t seem to import my YouTube subscriptions.

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 2 points 1 year ago (1 children)

How much minimum RAM requirements?

[–] M500@lemmy.ml 2 points 1 year ago

I’m not sure, I have an old machine with 16gb. It ran fine in that, but I found a better solution for myself shortly after.

There is an iOS extension that lets YouTube play in the native iOS browser. It blocks ads as well, so I just use that.

The privacy focused stuff is cool, but I’m blocking ads and my watch progress is saved which is important to me.

[–] ikidd@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

I just set up Piped a few days ago, it was pretty simple to set up. The documentation in general is pretty shit, but there's enough info on how to set up the docker-compose, the script it runs is pretty good.

I use it remotely at my farm over Starlink, pulling from the homelab that has a hardwired 150 down/15mbps upload speed, and it seems to work fine as a client. I put it behind a reverse proxy with basic auth to prevent randos from accessing it.

Edit: so I've gotten down to using it and there's a lot I like about it vs. Youtube. Your feed is just your subs, nothing else. If you watch a video, you can set it in your prefs to not show it again in your feed. And you can just hit the Listen icon on an item and it'll only play the audio. There is absolutely nothing extraneous in your feed.

Trending is just the default view a non-logged in user would see on Youtube. It's pretty useless. There is no algo for suggesting videos, so i you rely on that to get new content that's likely to appeal to you, that's not going to work well. If you watch a vid, it will include the Related videos you would see on the YT page, so maybe you can get some non-subbed content that way. Otherwise, it's all search to find new stuff. Which I'm ok with, I find I'll just hare off following the algo and waste a bunch of time watching half of a buncch of vids that I really didn't want to see. This keeps it focussed on my actual feed.

I would like to be able to sleep items in my feed but I don't see an option for that.

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 1 points 1 year ago (1 children)

Thanks for detailed feedback! Same question as another comment below : how much ram u need? I am kinda constrained on that

[–] ikidd@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

The whole stack is using less than a gig right now.

https://i.imgur.com/7CMjCRl.png

[–] shrugal@lemm.ee 3 points 1 year ago* (last edited 1 year ago)

I self host a personal Piped instance, and it works without issues for me. The videos load just as quickly as on YT itself, and the UI feels faster because it's not as bloated. Setting it up was fairly easy too, I just had to customize and run the docker compose config they provide.