Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2025 (8)
20082026
  1. …(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…
  2. …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.…
  3. …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
  4. 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…
  5. …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…
  6. …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…
  7. 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…
  8. …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