this post was submitted on 09 May 2025
11 points (92.3% liked)

Self-hosting

3329 readers
4 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 3 years ago
MODERATORS
 

Just so I could like sync a channel, for example, download the current available and upcoming videos so it could be accessed via Jellyfin (or something similar, or maybe upload them into a locally restricted hosted PeerTube) locally?

top 12 comments
sorted by: hot top controversial new old
[–] Auster@thebrainbin.org 5 points 2 days ago (1 children)

Grayjay has integration with Youtube, Peertube and others, so maybe that to download? Do mind one or other integrations may be spotty (e.g. Nico Nico through a 3rd party plugin) and or not supporting downloads (e.g. Spotify). And Youtube specifically requires login there for you to download videos marked as mature.

[–] Cdavid@slrpnk.net 1 points 2 days ago (1 children)

Thanks. Is there a self-hosting PWA for Grayjay?

[–] Auster@thebrainbin.org 4 points 2 days ago (1 children)

Don't think it does. =/

It's mainly an Android program. But if you'd still use it, Android has a desktop/x86 version if you'd be so inclined, and maybe (hopefully) the PC version is updated into a decent state now.

[–] Cdavid@slrpnk.net 3 points 2 days ago* (last edited 2 days ago)

I am aware of there existing desktop-first open-source like PrimeOS and fydeOS for low-end computer/notebook but since it'd only be used for that I don't think it'd be worthy having an extra device exclusively for that, if I end up having another use cases restricted to Android maybe I'd have the more reasons to try such approach. I'll sure keep it in mind though, I really appreciate your suggestion, thank you!

[–] 123213217362131231@lemmy.world 4 points 2 days ago (1 children)
[–] Cdavid@slrpnk.net 3 points 2 days ago

TIL of TubeSync, thanks, I'm looking into it!

[–] atfergs@lemmy.world 3 points 2 days ago (1 children)

I use yt-dlp... https://github.com/yt-dlp/yt-dlp I recently saw Pinchflat, which may be worth trying out as a front-end for yt-dlp... https://github.com/kieraneglin/pinchflat

[–] Cdavid@slrpnk.net 2 points 2 days ago (1 children)

Thanks, pinchflat might help!

[–] Auster@thebrainbin.org 5 points 2 days ago (1 children)

If you use yt-dlp, I think it's interesting to mention it allows attaching the video's description into the file's comment, like in the following command:
yt-dlp --embed-metadata --parse-metadata "description:(?s)(?P<meta_comment>.+)" https://video-link/

It also has the option to download, as well as embed, different audio and subtitles languages, iirc, as well as fetching the auto-generated dubbing and subtitles from Youtube. Just can't remember the respective flags as I may use it only very sporadically.

[–] Cdavid@slrpnk.net 3 points 2 days ago* (last edited 2 days ago) (1 children)

Thanks, I was only aware of being able to download auto subtitles from yt-dlp and downloading description into a text file. Is it possible to download comments too? Depending on what kind of video you watch, like if you are watching a video about grammar on foreign languages, sometimes there are people giving good advices in approaching it in a more simplistic way or easier to remember.

e: apparently there's --write-comments for that to save into a json file

[–] Auster@thebrainbin.org 2 points 2 days ago (1 children)

Wasn't aware of the flag you found, so my best suggestion would have been something like the extensions SingleFile and WebScrapBook. =O

[–] Cdavid@slrpnk.net 2 points 17 hours ago

I've used SingleFile long ago before I started switching many softwares I used to more ethical/privacy-wise better ones and I never knew it was open-source that's good to know, thanks. Since then I have been using HTTrack for pages sometimes. I didn't know about WebScrapBook though, thanks for making me aware of it. I also never tried to save videos with softwares witj the purpose to save pages however I could make some use of these suggestions for other things, my goal is to automate it and while these suggestions are all good maybe not for automated synchronization with these platforms or other video sharing platforms. It's still very helpful your suggestions nevertheless, thank you!