html5-parser
Fast C based HTML 5 parsing for python
What XERJ indexed
Snapshot
The whole repository at commit 1705293599 (2026-09-20). master is 4 commits ahead.
Selected work

“Add support for latest WHATWG HTML 5 spec changes and updated html5li…”. 20 files, 933 lines in gumbo, test, src.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
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
- What does gumbo do in html5-parser?
Inside the indexed corpus
- 87 files, 1.5 MB in total, about 17.8 KB per file.
- The selected commit changed 20 of those files (23.0%).
- Languages by size: C 84.6%, Ragel 8.5%, Python 6.9%, Vim Script 0%.
- On GitHub since 2017-06-03, last push 2026-09-20, 372 commits on master.
- The pin is 4 commits behind master; the corpus answers from the pinned code, not the newest.
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
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
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
Kovid GoyalWeb and frontend platform corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.