FindSoftware

glyphhanger

Command-line tool that finds the glyphs a web page uses and subsets web font files to them.

glyphhanger is a command-line tool that reads a web page or a local file and lists the characters its text uses as a Unicode range. With --subset, it writes smaller copies of font files that keep only those characters, in TTF, WOFF or WOFF2 format. With --css, it also writes a @font-face block for the subset files. It can follow local links with a spider, and limit the result to text in one font family or to visible text.

Worth knowing

Subsetting needs pyftsubset from fonttools, which needs Python. By default the page reader runs Puppeteer with headless Chrome; a --jsdom mode reads pages without it.

Identity

Status
Active
Maintainer
Zach Leatherman4
Maintained by
Individual
First release
20175

Rendering and deploy

Install with
npm install -g glyphhanger2

Releases

Current major version
66
Last release
2026-06-056

Adoption

GitHub stars
9071
npm downloads a week
9857
Contributors
109
Dependent repositories
468
Dependent packages
108

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/zachleat/glyphhanger
  2. 2026-10-28: links, Categories, Install with
    github.com/zachleat/glyphhanger/blob/main/README.md
  3. 2026-10-28: License
    registry.npmjs.org/glyphhanger/latest
  4. 2026-10-28: Maintainer, Runtime
    github.com/zachleat/glyphhanger/blob/v6.0.0/package.json
  5. 2026-10-28: First release
    registry.npmjs.org/glyphhanger
  6. 2026-10-28: Current major version, Last release
    api.github.com/repos/zachleat/glyphhanger/releases
  7. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/glyphhanger
  8. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/glyphhanger
  9. 2026-10-28: Contributors
    api.github.com/repos/zachleat/glyphhanger/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON