qmetrics.net

cn-font-split

Rust-powered CJK web font subsetting tool

cn-font-split screenshot

cn-font-split splits large font files into smaller web-ready packages with consistent output across platforms. It supports TTF, OTF, and WOFF2, including complex and variable fonts, via Node or WASM.

Overview

cn-font-split is the font subsetting tool used by the Chinese Web Fonts Plan to break huge fonts into network-friendly chunks. Splitting follows the characters actually present in the font, with optimizations for Chinese, Japanese, Korean, minority scripts, and Arabic text.

The Rust core runs through Node FFI or WASM, producing WOFF2 chunks, generated CSS, optional reports, test HTML, and preview images. Configurable chunk size, manual subsets, and naming templates control how packages are sized and hashed with blake3 fingerprints.

Platform-specific native binaries ship as optional npm packages for macOS, Windows, and Linux, with separate WASI packages for in-browser use. A CLI and JavaScript API accept font paths or buffers and write artifacts to a chosen output directory.

Node.js 22 or newer is required for current releases. Custom native builds can override the binary path via a documented environment variable. Bun and Deno entry points exist as best-effort integrations.

Key features

  • Multi-threaded TTF OTF WOFF2 subsetting
  • CJK and broad script-aware chunking
  • Generated CSS and blake3-named outputs
  • Node FFI and browser WASM paths
  • Variable and complex glyph support
  • Configurable chunk size and subsets
  • Optional preview and reporter artifacts

Use cases

  • Web font package size control
  • Chinese web font CDN workflows
  • Splitting fonts for static sites
  • In-browser font processing via WASM

Tags

Similar software

Figma to Code

Figma plugin for deterministic design-to-code export

Figma to Code is a free Figma plugin that turns selections into HTML, React, Tailwind, Flutter, or SwiftUI scaffolds locally without uploads, accounts, or AI calls.

  • HTML, React, Tailwind, Flutter, SwiftUI
  • No network domains in plugin manifest
  • Dev Mode codegen support
TypeScriptDetails →
★ 5.3k⟳ 4 months agoGPL-3.0

Iconoir

MIT-licensed SVG icon set and framework packages

Iconoir is a free SVG icon library with solid variants sized on a 24-pixel grid. Bindings ship for React, Vue, React Native, Flutter, CSS, Figma, and Framer.

  • Large catalog of 24px SVG icons
  • Solid variants for selected glyphs
  • React Vue and React Native packages
TypeScriptDetails →
★ 4.7k⟳ 1 month agoMIT
Open Source Alternative to:FlaticonNoun Project

Maker.js

JavaScript 2D CAD library for CNC and laser cutters

Maker.js lets you create line drawings with geometry-style constructs in JavaScript. It exports to DXF, SVG, PDF, and related formats for CNC, laser, or general programmatic design.

  • Paths, models, layers, and chains
  • DXF, SVG, and PDF export
  • Boolean union and intersection
TypeScriptWeb, CLIDetails →
★ 2.1k⟳ 1 month agoApache-2.0

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT