TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Fontite, an icon font optimization tool for smaller and faster websites

6 点作者 antonok超过 3 年前
I was frustrated with the state of tooling for working with icons on the web. You&#x27;re either forced to serve gigantic font files with more icons than you could possibly need, or you have to customize your fonts in a browser-based tool.<p>I wanted a CLI program with a simple configuration format, so that I could integrate it with my static site generator build process and version control.<p>I built fontite to fulfill that need. The linked page demonstrates how you might use it to combine icons from 7 different WOFF2 and SVG sources, and only require about 4kB to serve all of them, with no JS required!<p>I now use this on my personal website [1] and I&#x27;m very happy with it. If you&#x27;re curious, there&#x27;s more information on the GitLab repo [2] and I wrote up a summary of the making process [3] as well.<p>I&#x27;d love to see some smaller, faster websites using this tool!<p>[1] <a href="https:&#x2F;&#x2F;antonok.com" rel="nofollow">https:&#x2F;&#x2F;antonok.com</a> [2] <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;antonok&#x2F;fontite" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;antonok&#x2F;fontite</a> [3] <a href="https:&#x2F;&#x2F;antonok.com&#x2F;projects&#x2F;fontite" rel="nofollow">https:&#x2F;&#x2F;antonok.com&#x2F;projects&#x2F;fontite</a>

1 comment

ivanr超过 3 年前
Are your AAAA records misconfigured?<p><pre><code> $ dig +short antonok.com aaaa @phoenix.ns.cloudflare.com fe80::216:3eff:fea9:4e8f</code></pre>
评论 #30210201 未加载