litehtml/litehtml
Fast and lightweight HTML/CSS rendering engine observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 99
- Release rhythm 56
- 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: 4392
- days_rel: 81
- days_push: 11
- n_releases_24m: 1
Adoption not part of the score
2430 stars · 300 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
litehtml is a lightweight C++ HTML/CSS rendering engine that parses HTML (via gumbo-parser) and computes element layout with CSS2/CSS3 support. It draws nothing itself; developers implement a simple document_container callback interface using any graphics/font library.
Use cases
- render html-formatted text in a desktop application
- show html tooltips without embedding webkit
- build a lightweight mini-browser
- layout html emails for display
- embed html rendering in a c++ gui app
- render bootstrap-styled html pages in a custom viewer
When to choose
- you need to display simple HTML/CSS content in a C++ application without the weight of WebKit
- you want full control over drawing via your own graphics/font libraries
- you need a portable engine that only depends on the STL
- your content uses common HTML tags and CSS properties rather than cutting-edge web standards
When to avoid
- you need full, standards-compliant rendering of modern complex websites
- you need JavaScript execution or dynamic web app support
- you are not working in C++ or cannot implement the document_container interface
- you need a complete out-of-the-box browser rather than a layout engine
Facets
library · maturity active
parser graphics gui web-development frontend developer-tools cpp cross-platform windows html-rendering css-layout html5-parser gumbo-parser lightweight embeddable utf-8 mini-browser linux
2 sources
- readme: https://github.com/litehtml/litehtml · fetched 2026-08-28 · e6f6a1600f86
- homepage: http://www.litehtml.com/ · fetched 2026-08-29 · ed697496d30b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| litehtml/litehtml | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="litehtml/litehtml")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem