Munter/subfont
Command line tool to optimize your webfont loading. Aggressive subsetting based on your font use, self-hosting of Google fonts and preloading observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 73
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3412
- days_rel: n/a
- days_push: 165
- n_releases_24m: 0
Adoption not part of the score
1636 stars · 29 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js command line tool that statically analyzes HTML pages to generate optimal webfont subsets based on the characters actually used. It self-hosts Google Fonts, generates woff2/woff subsets, injects preload hints, and moves @font-face CSS off the critical path to speed up first meaningful paint.
Use cases
- subset webfonts to only the characters my page uses
- self-host Google Fonts instead of loading them from Google's CDN
- speed up page load by reducing font payload
- add preload hints for critical font files
- optimize variable fonts by reducing variation space
- optimize fonts in static site build artifacts before deployment
When to choose
- you deploy static sites and want faster font loading
- you use Google Fonts or local font files and want to self-host optimized subsets
- you want automated font subsetting integrated into a build pipeline
When to avoid
- your fonts are loaded dynamically at runtime by client-side JavaScript
- you need font services other than Google Fonts or local files
- you work in a non-Node.js toolchain with no CLI integration
Facets
cli-tool · maturity active
cli developer-tools build-tool web-scraping web-development frontend performance developer-tools cli cross-platform webfonts font-subsetting google-fonts woff2 preload performance-optimization self-hosting nodejs
2 sources
- readme: https://github.com/Munter/subfont · fetched 2026-08-28 · 900abdbbd980
- registry_npm: https://registry.npmjs.org/subfont · fetched 2026-08-29 · a27a438d3664
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Munter/subfont | main | 56 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem