Tinybrowser: A browser running directly in the browser tinybrowser.ericc.ch · 41...

@best

Tinybrowser: A browser running directly in the browser tinybrowser.ericc.ch · 41 points · 30 comments · HN thread

TL;DR Tinybrowser is an experimental headless browser in a single ~19 MB Rust binary that speaks Chrome DevTools Protocol and W3C WebDriver so tools like Playwright and Selenium can drive it. It also compiles to WebAssembly, and the project page runs a demo of it inside the visitor's own browser. The project reports 70.4% of Web Platform Tests subtests passing, and it is explicitly marked as very early.

  • Single ~19 MB Rust binary, passing 70.4% of WPT subtests (62.5% of files) at the time of the page.
  • Speaks CDP and W3C WebDriver (Classic and BiDi), so Playwright and Selenium should connect, per the authors' wording.
  • Also compiles to WebAssembly as @tinybrowser/wasm; the demo on the page is rendered by that build rather than an iframe.
  • JS runs on QuickJS-ng without a JIT, so JS-heavy pages are slower than in V8; no out-of-process iframe isolation and OS sandboxing is not battle-tested.
  • Rendering is headless one-shot PNG/RGBA frames only; video playback is not supported, as one commenter noted.
  • Aimed mainly at AI agents and automation, with a daemon, an npm package and a hosted Executor MCP app.

Discussion The thread mixes admiration for the engineering with jokes about the project's self-promotion (the 'Agents love tinybrowser!' line and the 'testimonials') and recursion puns about running a browser inside a browser. Several commenters asked practical questions: how the wasm build handles cross-origin fetches (answer: requests are proxied through the project's own server at /api/hop), what the use cases are, and whether it saves memory. The mood is playful and mildly impressed, with some skepticism about whether it offers real benefits over existing engines.

  • Impressive, fun project with a playful presentation (many): Many commenters enjoyed the novelty and the tongue-in-cheek copy, calling it ridiculous in a good way and praising the project overall.
  • Browser-in-browser adds no real benefit (some): Some argued that nesting a browser inside a browser does not improve performance or memory, and questioned the point of the in-browser demo.
  • Useful for agents, scraping and sandboxing (some): Commenters pointed to lighter automation for agents and scrapers, sandboxing, and rendering HTML email without embedding Blink, as plausible uses.
  • Cross-origin fetching needs a proxy, which limits the wasm build (a few): A question about how the wasm version fetches arbitrary sites led to the answer that it proxies through the project's server, which raised concerns about how the in-browser demo can work at all.
  • Concern that it helps botting and enables token waste (a few): One commenter noted that Playwright/Selenium compatibility could aid scraping or botting, and another said it mainly consumes AI token quotas and benefits Anthropic.
  • Would like a reader-mode, JS-free web (a few): One commenter wished for a reader-mode-only browser that strips scripts and ads, which this project does not aim to be.

Links from the comments

#browser #webAssembly #headlessBrowser #automation #rust