# ethantw/Han

「漢字標準格式」印刷品般的漢字排版框架 Han.css: the CSS typography framework optimised for Hanzi.

Repository: https://github.com/ethantw/Han
Canonical: https://ross.abutalabs.com/products/han
Homepage: https://hanzi.pro/
Language: JavaScript
License: MIT
License Family: permissive
Topics: han, sass, css, stylus, typography
Last push: 2026-06-23T11:11:17+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 8, longevity 100
- inputs: {"age_days": 5658, "days_push": 71, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2534, forks 132 (observed 2026-08-28T04:06:59.078413+00:00)

## What it is
Han.css (漢字標準格式) is a Sass/Stylus and JavaScript typography framework that provides print-quality, standardized typesetting for Hanzi-based web pages. It supports Traditional Chinese, Simplified Chinese, and Japanese with features like punctuation compression, ruby annotations, emphasis marks, and Hanzi-Latin inter-character spacing.

## Use cases
- style Chinese web pages with print-quality typography
- add ruby furigana annotations to Japanese or Chinese text
- fix CJK punctuation rendering and compression on the web
- mix Chinese and Latin text with proper spacing
- render vertical text layouts in the browser
- normalize default styles for hanzi reading habits

## When to choose
- building a website or article page primarily in Chinese or Japanese
- you need advanced CJK typographic features like punctuation squeezing, hanging punctuation, or emphasis dots
- you want semantic HTML5 styling without presentational classes

## When to avoid
- your content is primarily Latin-script and only occasionally includes CJK characters
- you need a general-purpose CSS framework for layout or UI components
- you require guaranteed long-term updates, as the project has seen infrequent releases

## Facets
- artifact type: framework
- maturity: maintenance
- function: css-framework, ui-components, internationalization, templating
- domain: web-development, frontend, web-design
- platform: browser
- tags: typography, cjk, chinese, japanese, sass, stylus, hanzi, vertical-text, web-fonts, localization, nodejs, web-server

## Member repositories
- ethantw/Han (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:59.078413+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:15.169606+00:00, confidence not recorded.
  - readme: https://github.com/ethantw/Han (fetched 2026-08-28T04:06:59.078413+00:00, sha 5305dc15e9b3)
  - homepage: https://hanzi.pro/ (fetched 2026-08-29T10:07:38.629765+00:00, sha 5ffbe1fb56fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
