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

移除超大字体文件,大文件存储收费 #6

Open
jaywcjlove opened this issue Jul 20, 2024 · 6 comments
Open

移除超大字体文件,大文件存储收费 #6

jaywcjlove opened this issue Jul 20, 2024 · 6 comments

Comments

@jaywcjlove
Copy link
Owner

No description provided.

@jaywcjlove
Copy link
Owner Author

@jaywcjlove
Copy link
Owner Author

jaywcjlove commented Jul 20, 2024

git lfs ls-files
102e8838fb * docs/fonts/全字库系列/全字庫正宋體/全字庫正宋體-Ext-B-98_1.ttf
f69d76f3ad * docs/fonts/全字库系列/全字庫正楷體/全字庫正楷體-Ext-B-98_1.ttf

@jaywcjlove jaywcjlove pinned this issue Jul 20, 2024
@KonghaYao
Copy link

如果需要大文件存储的话,可以同步数据到 imagekit.io 这个 CDN,免费的,中文网字计划每个月 多个账号使用量大概在100GB 左右。
大文件 Github 直接存一份字体,LFS有下载上限。写个同步脚本同步过去,网站下载链接换成这个,国区内还能覆盖,一个月内大概 20GB。

@jaywcjlove
Copy link
Owner Author

@KonghaYao 关键是已经收我费了,不能存储超过 50 兆的字体

@KonghaYao
Copy link

@jaywcjlove lfs 还是尽快去除一下,转成普普通通 git commit 里面上传文件,但是也有单个 100MB 大小限制,对于字体文件应该还好。lfs 就很坑,所有下载的流量也会算进去,一个人 pull 一下就没了。

@jaywcjlove
Copy link
Owner Author

我删除了历史记录还在,字体已经删除了,但是历史记录还在的样子 @jaywcjlove

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

No branches or pull requests

2 participants