Hacker GitHub

← All repos

cloudflare/lol-html

View on GitHub ↗ ★ 2,093 Rust

Low output latency streaming HTML parser/rewriter with CSS selector-based API

6 mentions on Hacker News by 6 people: 2 stories, 4 comments · first 2019-11-29 · latest 2024-05-27

Mentions per year 6 mentions · busiest year 2021 (2)
20082026
  1. …huge work to move away from C as much as possible. The offending parsers were rewritten in Rust ( https://github.com/cloudflare/lol-html ), as well as WAF, image optimization, and a few others. Nginx is being replaced with a custom cache…
    comment by pornel · 2024-05-27 · in Cloudflare took down our website
  2. https://github.com/cloudflare/lol-html is a HTML rewriter that explicitly does not construct DOM or an AST, but streams nodes throughs ASAP. https://blog.cloudflare.com/html-parsing-1/ https://blog.cloudflare.com/html-parsing-2/
    comment by yencabulator · 2022-12-03 · in Pup: Parsing HTML at the command line
  3. I’d like to see a tool using lol-html [0] and their CSS selector API as a streaming HTML editor. [0] https://github.com/cloudflare/lol-html
    comment by mcovalt · 2021-09-07 · in Htmlq: like jq, but for html
  4. …not an issue with your understanding of rust. [1]: https://github.com/dtolnay/cargo-expand [2]: https://github.com/cloudflare/lol-html/commit/e0eaf6c4234af8...