🔤 Google Fonts Mirror

版本 v1.0.5

这是一个 Google Fonts 反向代理服务,用于在无法直接访问 Google Fonts 的网络环境中正常加载字体。

📖 使用方法

将 Google Fonts 链接中的域名替换为本服务地址:

原始:
https://fonts.googleapis.com/css2?family=Roboto

替换为:
https://fonts.chenc.dev/css2?family=Roboto

💡 示例

在 HTML 中:

<link href="https://fonts.chenc.dev/css2?family=Noto+Sans+SC&display=swap" rel="stylesheet">

在 CSS 中:

@import url('https://fonts.chenc.dev/css2?family=Roboto:wght@400;700&display=swap');

🔗 接口

/css /css2 - CSS 样式表代理

/fonts/* - 字体文件代理

/health - 健康检查

/stats - 访问统计