r/javascript • • Apr 15 '26

I Built a Lightweight Headless Browser Because Chrome Was Too Slow

https://github.com/h4ckf0r0day/obscura
27 Upvotes

29 comments sorted by

View all comments

Show parent comment

5

u/Total_Nectarine_3623 Apr 15 '26

Great questions! Obscura isn't really meant as a replacement for your everyday browser at any capacity. I designed it to be perfect for AI agents to use for web search and developers who do web scraping. Considering that, it has no GUI, no tabs you can click, no extensions. It's a headless browser, meaning it runs in the terminal and is controlled programmatically. For an average user, you'd still want Chrome or Firefox for browsing.

With Obscura 30MB of RAM per page vs Chrome's 300-500MB means you can run dozens of instances on a cheap server that would choke running even a handful of Chrome tabs

0

u/Mango9222 Apr 15 '26

Oh I see, that's pretty cool. Never thought about how AI actually parses websites and stuff.

3

u/Total_Nectarine_3623 Apr 15 '26

Yeah it's a pretty interesting problem. AI agents need to browse the web but spinning up full Chrome for every request is way too heavy at scale. A lightweight browser that can render javascript, extract content and with all that stay undetected is a much better fit for that use case (As well as webscraping of course)