A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
docs: cleanup
Christian Fei398b90ddfa95
diff --git a/README.md b/README.mdindex ecde685..beb63a4 100644--- a/README.md+++ b/README.md@@ -4,6 +4,11 @@ A clean and minimal youtube frontend supported by yt-dlp, and optionally your lo+++++## Features- Channel management/Subscriptions@@ -27,6 +32,10 @@ A clean and minimal youtube frontend supported by yt-dlp, and optionally your lo> Application runs on http://localhost:3000++++## Installation (node.js)```bash@@ -39,6 +48,13 @@ npm inpm start```+++++++## Installation (docker)```bash@@ -78,21 +94,8 @@ docker run -e AI_MODEL=gpt-4o-mini -e AI_HOST=https://api.openai.com -e AI_APIKEdocker run -e AI_MODEL=gpt-4o-mini -e AI_HOST=https://api.openai.com -e AI_APIKEY=sk-proj-123 --rm -it -p 3000:3000 christianfei/my-yt:latest```-## Why?-- wanted to get back my chronological feed, instead of a "algorithmically curated" one-- no distractions-- no clickbait thumbnails (using `mq2` instead of `mqdefault` thumbnail, thanks @drcheap)-- no comments-- no related videos, or any algorithmically determined videos pushed in your face-- no sponsors, thanks to SponsorBlock-- just videos and a clean UI-- wanted to dabble with [Server-sent Events](https://github.com/christian-fei/my-yt/blob/main/lib/sse.js)-- wanted to try integrate the so much hyped AI in a personal project-- wanted to try out `yt-dlp`-- wanted to experiment with the HTML5 [`<track>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track) element and [WebVTT API](https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API)-- feedback was awesome on [HackerNews](https://news.ycombinator.com/item?id=43373242), so here we are-- I am even paying for YouTube Premium, so it's not a matter of money, but a matter of control over my attention and enhanced offline experience+@@ -135,6 +138,29 @@ dependency less, bare HTML5, CSS3 and JS for a basic frontendHandles SSE updates, interacting with the API+++++## Why?++- wanted to get back my chronological feed, instead of a "algorithmically curated" one+- no distractions+- no clickbait thumbnails (using `mq2` instead of `mqdefault` thumbnail, thanks @drcheap)+- no comments+- no related videos, or any algorithmically determined videos pushed in your face+- no sponsors, thanks to SponsorBlock+- just videos and a clean UI+- wanted to dabble with [Server-sent Events](https://github.com/christian-fei/my-yt/blob/main/lib/sse.js)+- wanted to try integrate the so much hyped AI in a personal project+- wanted to try out `yt-dlp`+- wanted to experiment with the HTML5 [`<track>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track) element and [WebVTT API](https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API)+- feedback was awesome on [HackerNews](https://news.ycombinator.com/item?id=43373242), so here we are+- I am even paying for YouTube Premium, so it's not a matter of money, but a matter of control over my attention and enhanced offline experience++++## developmentrun tests