EmilStenstrom/justhtml
View on GitHub ↗ ★ 1,161 Python
A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn.
11 mentions on Hacker News by 6 people: 3 stories, 8 comments · first 2025-12-02 · latest 2026-05-31
20082026
-
…(but more complex!), because I could carefully control each JSON parser/generator edge case. [1] https://github.com/EmilStenstrom/justhtml [2] https://simonwillison.net/2025/Dec/14/justhtml/ [3] https://simonwillison.net/2025/Dec/15/porting…
comment by throwaway2037 · 2026-05-31 · in wolfSSL releases a new product; wolfCOSE a zero alloc C embbedded COSE stack -
…in common: comprehensive test suites which were used to guardrail and guide AI. References: 1. https://github.com/EmilStenstrom/justhtml 2. https://friendlybit.com/python/writing-justhtml-with-coding-... 3.…
comment by gorkaerana · 2026-01-16 · in Cursor's latest “browser experiment” implied success without evidence -
…are pulling our out does not match that either. I'll make sure to fix this bug and other like it! https://github.com/EmilStenstrom/justhtml/issues/20
comment by EmilStenstrom · 2025-12-19 · in How I wrote JustHTML, a Python-based HTML5 parser, using coding agents -
I mean the design of the user-facing API: https://github.com/EmilStenstrom/justhtml/blob/main/docs/api... See also the demo app I vibe-coded against their library here: https://tools.simonwillison.net/justhtml - that's what initially…
comment by simonw · 2025-12-18 · in I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours -
…the test suite is for a a port that likely uses straight forward, dependency free python code https://github.com/EmilStenstrom/justhtml/tree/main/src/just... It is enormously useful for the author to know that the code works, but my…
comment by orange_puff · 2025-12-17 · in I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours -
…ended and the new one began. It looks to me like this is the last commit before the rewrite: https://github.com/EmilStenstrom/justhtml/tree/989b70818874d... The commit after that is https://github.com/EmilStenstrom/justhtml/commit/7bab3d2…
comment by simonw · 2025-12-14 · in How I wrote JustHTML, a Python-based HTML5 parser, using coding agents -
JustHTML https://github.com/EmilStenstrom/justhtml is a neat new Python library - it implements a compliant HTML5 parser in ~3,000 lines of code that passes the full existing 9,200 test HTML5 conformance suite. Emil Stenström wrote it with…
comment by simonw · 2025-12-14 · in How I wrote JustHTML, a Python-based HTML5 parser, using coding agents -
…of these a few minutes ago (from my phone). I found out about a new Python HTML parsing library - https://github.com/EmilStenstrom/justhtml - and wanted to try it out but I'm out without my laptop. So I had Claude Code for web build me a…
comment by simonw · 2025-12-13 · in Useful patterns for building HTML tools