Show HN: 基于 yt-dlp 的个人 YouTube 前端
Navigation Menu
切换导航 Sign in
- Product
- GitHub Copilot Write better code with AI
- Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less Explore
- All features
- Documentation
- GitHub Skills
- Blog
- Solutions By company size
- Resources Topics
- Open Source
- Enterprise
- Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search Clear Search syntax tips
Provide feedback
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback
Saved searches
Use saved searches to filter your results more quickly
Name Query To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} christian-fei / **my-yt ** Public
- Notifications You must be signed in to change notification settings
- Fork 9
- Star 125
一个干净且极简的 youtube 前端,没有广告和各种花哨的东西 cri.dev 125 stars 9 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings
Additional navigation options
christian-fei/my-yt
main BranchesTags Go to file Code
Folders and files
Name| Name| Last commit message| Last commit date ---|---|---|---
Latest commit
History
184 Commits client| client lib| lib test| test .gitignore| .gitignore Dockerfile| Dockerfile README.md| README.md docker-compose.yml| docker-compose.yml index.js| index.js package-lock.json| package-lock.json package.json| package.json preview.png| preview.png View all files
Repository files navigation
my-yt
MYGA - make you tube great again
一个干净且极简的 youtube 前端,没有广告和各种花哨的东西。 由 yt-dlp
支持,并且可以选择使用本地 AI 模型,使你的 youtube 体验本地化、专注、简洁且无广告。
Features
- 频道管理/订阅
- 使用幕后的
yt-dlp
从 YouTube 下载视频 - 使用你的本地 AI 模型总结视频内容
- 忽略你不想观看的视频
- 在后台播放视频
- 离线媒体播放
- 没有依赖项(除了
nano-spawn
),只有 HTML/CSS,客户端/服务器端没有 JS 框架 - 将其托管在你的家庭网络中,以便在你的所有设备上播放视频
Why?
- Why not??
- 想要找回我的时间线 feed,而不是“算法策划”的 feed
- 如果你想按时间顺序查看你的 YouTube 视频,你可以直接转到“订阅”页面,正如 HN 上温和地指出的那样
- 没有干扰
- 没有广告(仅仅是“跳过赞助商”)
- 只有视频和一个干净的 UI
- 想要在一个个人项目中尝试集成如此炒作的 AI
- 想要尝试
yt-dlp
- 只是想做这个,好吗?
- 我甚至为 YouTube Premium 付费,所以这不是钱的问题,而是控制我的注意力和增强的离线体验的问题
应用程序运行在 http://localhost:3000
Installation (node.js)
git clone https://github.com/christian-fei/my-yt.git
cd my-yt
npm i
# install yt-dlp, please see https://github.com/yt-dlp/yt-dlp
npm start
Installation (docker)
git clone https://github.com/christian-fei/my-yt.git
cd my-yt
docker compose up --build -d
Project
Here are some links to help you understand the project better:
server.js
Bare HTTP server Handles SSE for client updates Implements HTTP Ranged requests for video playback
llm.js
Makes requests using the chat completions API of LMStudio.
sse.js
Utility functions for Server-sent events
subtitles-summary.js
Summarizes video transcript using LMStudio API
youtube.js
yt-dlp wrapper to download videos, get channel videos and video information and transcript
repository.js
Handles persistence of video information (set video as downloaded, summary, ignored, upserting videos, etc.)
client
dependency less, bare HTML5, CSS3 and JS for a basic frontend Handles SSE updates, interacting with the API
General information
Currently, on the LLM side of things:
- supports basic chat completions API (LMStudio right now)
- expects
lms server
to be running onhttp://localhost:1234
- expects
- works with
meta-llama-3.1-8b-instruct
model - customization will come in the future if there's enough interest (let me know by opening an issue or pull-request)
Download the project while you can before I get striked with a DMCA takedown request
About
A clean and minimal youtube frontend, without all the ads and whistles cri.dev
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
Footer
Footer navigation
You can’t perform that action at this time.