html5-parser

Fast C based HTML 5 parsing for python

A new way for AI to search for data
View on GitHub
709GitHub stars
372commits on master
39forks

C 84.6%, Ragel 8.5%, Python 6.9%, Vim Script 0% · created 2017-06-03 · last push 2026-09-20

What XERJ indexed

Snapshot

87 files · 1.5 MB

The whole repository at commit 1705293599 (2026-09-20). master is 4 commits ahead.

Selected work

Kovid Goyal
@kovidgoyal

“Add support for latest WHATWG HTML 5 spec changes and updated html5li…”. 20 files, 933 lines in gumbo, test, src.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

The author agreed by email on 2026-10-06. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for kovidgoyal/html5-parser on 2026-10-31, and the LICENSE file at commit 1705293599 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Kovid Goyal (@kovidgoyal) has 1 selected repository on the hub.

Using XERJ with html5-parser

The prompt

Paste it into your AI agent. It clones kovidgoyal/html5-parser at the pinned commit and indexes it on your machine.

Search the GitHub repository kovidgoyal/html5-parser with XERJ (https://hub.xerj.org/corpus/kovidgoyal--html5-parser).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/kovidgoyal/html5-parser html5-parser && git -C html5-parser checkout 17052935996206ccb98f8678eb32cad95f87c1e4
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./html5-parser --url http://127.0.0.1:9200 --prefix html5-parser --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.