Hacker News new | ask | show | jobs
Show HN: Aurora – a browser engine experiment in Rust
4 points by JohannaAlmeida 70 days ago
I’ve been building Aurora, an early-stage browser engine in Rust.

It currently implements a minimal end-to-end pipeline: parsing a narrow HTML subset, building a DOM tree, parsing CSS from style tags, computing basic styles, deriving a simple block layout tree, and painting the result into a small text framebuffer. It also includes basic HTTP/HTTPS fetching with redirect support.

JavaScript execution is integrated using the Boa JavaScript engine. This is still early, but simple scripts do run.

Rendering is done on the GPU from scratch using wgpu and Vello, without relying on Skia. The renderer uses a single atlas and a simple pipeline for batching and rasterization.

The goal is not to build a full browser, but to understand and implement the core pieces of the pipeline in a small and explicit way.

Next steps are improving tokenization, expanding CSS support, making layout less primitive, and continuing work on the GPU rendering path.

Current render snapshot : https://imgur.com/a/NtbgR5i

2 comments

https://github.com/JohannaWeb/Aurora ??

- 10 files 180kB rust code seems to be enough.

The more updated code is here sorry . In another monorepo https://github.com/JohannaWeb/Bastion/tree/main/projects/Aur...
For a minimal browser yeah . 8kloc
Cool man! Are u intending to turn it into a tool?
Not sure yet just want to make it more functional rn