mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 04:10:19 +00:00
deploy: df4b679cba24c591669e069a1a0d0891ad0a89fd
This commit is contained in:
@@ -190,8 +190,8 @@ personal blog
|
||||
<p>I recently stumbled across <a href=https://yewtu.be>yewtu.be</a> and found it intriguing. It not only allows for you watch YouTube without <em>being on YouTube</em>, but it also allows you to create an account and subscribe to channels without a Google account. I wondered what sort of wizardry was going on under the hood and discovered that it’s a hosted instance of <a href=https://invidious.io/>invidious</a>.</p>
|
||||
<p><img src=/images/watching-youtube-in-private/computerphile.png alt=requestly></p>
|
||||
<p>Wow, this is cool, and <strong>JavaScript is not required</strong>.</p>
|
||||
<p>I started to use yewtu.be as my primary client for watching videos. I subscribe to about a dozen channels and I really only want to a see list of the latest videos from my subscriptions, and not be the victim of a proprietry algorithm feeding me new content. A few days ago, yewtu.be went down briefly, and that motivated me enough to self-host inviduous.</p>
|
||||
<p>There are several other hosted instances of inviduous listed <a href=https://docs.invidious.io/instances/>here</a>, but being able to easily backup my own instance (along with watch history) is more compelling in my case.</p>
|
||||
<p>I started to use yewtu.be as my primary client for watching videos. I subscribe to about a dozen channels and I really only want to a see list of the latest videos from my subscriptions, and not be the victim of a proprietry algorithm feeding me new content. A few days ago, yewtu.be went down briefly, and that motivated me enough to self-host invidious.</p>
|
||||
<p>There are several other hosted instances listed <a href=https://docs.invidious.io/instances/>here</a>, but being able to easily backup my own instance (along with watch history) is more compelling in my case.</p>
|
||||
<h3 id=hosting-invidious>Hosting invidious</h3>
|
||||
<p>The quickest way to get invidious up is with docker-compose as mentioned in the <a href=https://docs.invidious.io/installation/>docs</a>.</p>
|
||||
<p>I made a few modifications (such as pinning the container’s tag), and ended up with:</p>
|
||||
@@ -238,11 +238,11 @@ personal blog
|
||||
</span><span style=color:#bbb> </span><span style=color:#309;font-weight:700>postgresdata</span>:<span style=color:#bbb>
|
||||
</span></code></pre></div><p>After invidious was up and running, I installed <a href=https://tailscale.com/>Tailscale</a> on it to leverage its MagicDNS, and I’m now able to access this instance from anywhere at <a href=http://invidious:3000/feed/subscriptions>http://invidious:3000/feed/subscriptions</a>.</p>
|
||||
<h3 id=redirecting-youtube-links>Redirecting YouTube links</h3>
|
||||
<p>I figured it would be nice to redirect existing YouTube links that others send me, so that I could seamlessly watch the videos using inviduous.</p>
|
||||
<p>I figured it would be nice to redirect existing YouTube links that others send me, so that I could seamlessly watch the videos using invidious.</p>
|
||||
<p>Without subjecting my entire household to this, I went looking for a way to redirect paths at the browser level. I found the lightweight proxy <a href=https://requestly.io/>requestly</a>, which can be used to modify http requests in my browser. I created the following rules:</p>
|
||||
<p><img src=/images/watching-youtube-in-private/requestly-rules.png alt=requestly></p>
|
||||
<p>Now the link <a href="https://www.youtube.com/watch?v=-lz30by8-sU">https://www.youtube.com/watch?v=-lz30by8-sU</a> will redirect to <a href="http://invidious:3000/watch?v=-lz30by8-sU">http://invidious:3000/watch?v=-lz30by8-sU</a></p>
|
||||
<p>I’m still looking for ways to improve this inviduous setup. There doesn’t appear to be a way to stream in 4K yet.</p>
|
||||
<p>I’m still looking for ways to improve this invidious setup. There doesn’t appear to be a way to stream in 4K yet.</p>
|
||||
</div>
|
||||
<footer class=entry-footer>
|
||||
<div class="container sep-before"><div class=tags><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" aria-hidden="true"><path d="M20.59 13.41l-7.17 7.17a2 2 0 01-2.83.0L2 12V2H12l8.59 8.59a2 2 0 010 2.82z"/><line x1="7" y1="7" x2="7" y2="7"/></svg>
|
||||
|
Reference in New Issue
Block a user