# lexborisov/myhtml

Fast C/C++ HTML 5 Parser. Using threads.

Repository: https://github.com/lexborisov/myhtml
Canonical: https://ross.abutalabs.com/products/myhtml
Language: C
License: LGPL-2.1
License Family: copyleft
Topics: html-parser, html, pure-c, c
Last push: 2025-01-15T17:01:14+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 1, release rhythm 8, longevity 100
- inputs: {"age_days": 3950, "days_push": 595, "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 1717, forks 156 (observed 2026-08-28T04:05:26.402050+00:00)

## What it is
MyHTML is a fast, fully HTML5-conformant HTML parser written in pure C99 with no external dependencies, using threads for asynchronous parsing and tree building. It offers high- and low-level APIs, DOM manipulation, chunked parsing, and support for 39 character encodings, and is now superseded by the Lexbor project.

## Use cases
- parse html documents in c
- extract data from web pages
- build a dom tree from html5 markup
- scrape websites with a fast native parser
- detect and handle character encodings in html
- parse html fragments or streaming chunks

## When to choose
- you need a dependency-free, pure C HTML5 parser with threaded performance
- you must parse HTML in a C or C++ project with bindings for other languages
- you need strict HTML5 spec conformance validated by html5lib-tests

## When to avoid
- starting a new project — use Lexbor instead, as the author recommends
- you need CSS selector support or rendering features
- you want a parser in a higher-level language without writing bindings

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, web-scraping
- domain: parsers, web-development, developer-tools
- platform: cross-platform, c, cpp
- tags: html5, html-parsing, threaded, pure-c, dom, character-encoding, superseded-by-lexbor

## Member repositories
- lexborisov/myhtml (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:26.402050+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-30T03:34:13.492792+00:00, confidence not recorded.
  - readme: https://github.com/lexborisov/myhtml (fetched 2026-08-28T04:05:26.402050+00:00, sha 8b9ac4144fba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
