Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yukina #110

Merged
merged 2 commits into from
Mar 31, 2024
Merged

Add yukina #110

merged 2 commits into from
Mar 31, 2024

Conversation

taoky
Copy link
Member

@taoky taoky commented Mar 30, 2024

Checklist

  • 更新 README

(如果方便的话, 可以简述一下您所做的改动)

https://github.com/taoky/yukina

作为解决 nix-channels 占用空间巨大(而且还不完整),但是实际使用的内容很少的方案。Yukina 会分析对应时长(现在是 7 天)的 nginx 日志,在给定的大小约束下下载流行的文件,驱逐(删除)不流行的文件。

预期的使用方式是:原先的同步容器仍然运行,但是只同步 index;Nginx 设置对不存在的文件 302 或者 404,并且日志以特定名称输出到特定的目录下。Yukina 运行时(理想情况下,需要相对较高的执行频率)从挂载的日志中读取内容、只对 binary blob 类型的文件(大多数时候需要用户自己写正则 filter 规则)进行操作。

Copy link
Member

@RTXUX RTXUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RTXUX RTXUX merged commit 155497e into master Mar 31, 2024
1 check passed
@RTXUX RTXUX deleted the yukina branch March 31, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants