deploy: 3cfc2a477071fab43d3cde60f22c4eec6b1e1e53

This commit is contained in:
davegallant
2022-12-12 03:24:57 +00:00
parent b0ed1e01f6
commit 9c64ac1a42
60 changed files with 329 additions and 7 deletions

View File

@@ -90,6 +90,8 @@ personal blog
</li><li>
<a href=/tags/podman/ style=font-size:1em>podman</a>
</li><li>
<a href=/tags/privacy/ style=font-size:1em>privacy</a>
</li><li>
<a href=/tags/proxmox/ style=font-size:2em>proxmox</a>
</li><li>
<a href=/tags/python/ style=font-size:2em>python</a>

View File

@@ -90,6 +90,8 @@ personal blog
</li><li>
<a href=/tags/podman/ style=font-size:1em>podman</a>
</li><li>
<a href=/tags/privacy/ style=font-size:1em>privacy</a>
</li><li>
<a href=/tags/proxmox/ style=font-size:2em>proxmox</a>
</li><li>
<a href=/tags/python/ style=font-size:2em>python</a>

View File

@@ -7,7 +7,7 @@
<meta property="og:description" content>
<meta property="og:url" content="/blog/2022/12/10/watching-youtube-in-private/">
<meta property="og:site_name" content="davegallant">
<meta property="og:type" content="article"><meta property="article:section" content="post"><meta property="article:tag" content="invidious"><meta property="article:tag" content="degoogle"><meta property="article:tag" content="youtube"><meta property="article:tag" content="yewtu.be"><meta property="article:tag" content="tailscale"><meta property="article:published_time" content="2022-12-10T21:46:55-05:00"><meta property="article:modified_time" content="2022-12-10T21:46:55-05:00"><meta name=twitter:card content="summary">
<meta property="og:type" content="article"><meta property="article:section" content="post"><meta property="article:tag" content="invidious"><meta property="article:tag" content="degoogle"><meta property="article:tag" content="youtube"><meta property="article:tag" content="yewtu.be"><meta property="article:tag" content="tailscale"><meta property="article:tag" content="privacy"><meta property="article:published_time" content="2022-12-10T21:46:55-05:00"><meta property="article:modified_time" content="2022-12-10T21:46:55-05:00"><meta name=twitter:card content="summary">
<meta name=generator content="Hugo 0.89.4">
<title>Watching YouTube in Private • davegallant</title>
<link rel=canonical href=/blog/2022/12/10/watching-youtube-in-private/>
@@ -90,6 +90,8 @@ personal blog
</li><li>
<a href=/tags/podman/ style=font-size:1em>podman</a>
</li><li>
<a href=/tags/privacy/ style=font-size:1em>privacy</a>
</li><li>
<a href=/tags/proxmox/ style=font-size:2em>proxmox</a>
</li><li>
<a href=/tags/python/ style=font-size:2em>python</a>
@@ -189,7 +191,7 @@ personal blog
<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&rsquo;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>I started to use <a href=https://yewtu.be>yewtu.be</a> as my primary client for watching videos. I subscribe to several channels and I&rsquo;d prefer to simply see a 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<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>
@@ -238,13 +240,13 @@ personal blog
</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&rsquo;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<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 modifying DNS, 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>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&rsquo;m still looking for ways to improve this invidious setup. There doesn&rsquo;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>
<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>, <a class=tag href=/tags/privacy/>privacy</a></div>
</div>
</footer>
</article>