mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 12:20:19 +00:00
deploy: 87cc2f1b80c237b8cc3e33afaf30f2b9cd5d6fb5
This commit is contained in:
@@ -186,13 +186,12 @@ personal blog
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container entry-content">
|
||||
<p>I recently stumbled upon <a href=https://yewtu.be>yewtu.be</a> and found it intriguing. It not only allows for you to 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>
|
||||
<div class="container entry-content"><p>I recently stumbled upon <a href=https://yewtu.be>yewtu.be</a> and found it intriguing. It not only allows for you to 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 have so much of my data collected and used. 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>
|
||||
<h3 id=hosting-invidious>Hosting invidious<a href=#hosting-invidious class=hanchor arialabel=Anchor>#</a></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>
|
||||
<div class=highlight><pre tabindex=0 style=background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-yaml data-lang=yaml><span style=color:#309;font-weight:700>version</span>:<span style=color:#bbb> </span><span style=color:#c30>"3"</span><span style=color:#bbb>
|
||||
@@ -237,13 +236,12 @@ personal blog
|
||||
</span><span style=color:#bbb></span><span style=color:#309;font-weight:700>volumes</span>:<span style=color:#bbb>
|
||||
</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>
|
||||
<h3 id=redirecting-youtube-links>Redirecting YouTube links<a href=#redirecting-youtube-links class=hanchor arialabel=Anchor>#</a></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 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 invidious setup. There doesn’t appear to be a way to stream in 4K yet.</p>
|
||||
</div>
|
||||
<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>
|
||||
<span class=screen-reader-text>Tags: </span><a class=tag href=/tags/invidious/>invidious</a>, <a class=tag href=/tags/degoogle/>degoogle</a>, <a class=tag href=/tags/youtube/>youtube</a>, <a class=tag href=/tags/yewtu.be/>yewtu.be</a>, <a class=tag href=/tags/tailscale/>tailscale</a></div>
|
||||
|
Reference in New Issue
Block a user