
36909
0
6
The core components that make up Harbor Browser.
Each written by hand in
Rust (except JavaScript, that's in Zig)
~8900 lines
A custom HTML parser that converts HTML text into a DOM tree structure.
~7220 lines
A custom CSS parser that converts CSS text into a stylesheet object.
~5492 lines
A custom TrueType font reader that reads .ttf files into usable glyph data for rendering text.
~2734 lines
A custom HTTP client that handles all network requests, including fetching HTML, CSS, etc. It supports upto HTTP/1.1 in writing and HTTP/2 in reading (i think).
~2615 lines
A custom renderer that takes the DOM tree and stylesheet object and renders it to the screen.
~5821 lines
A custom JavaScript engine written in Zig that executes JavaScript code on web pages. (Not functional yet)