36909

Lines of Code

0

Third Party Dependencies

6

Core Modules


Core Components

The core components that make up Harbor Browser.
Each written by hand in Rust (except JavaScript, that's in Zig)

</>

~8900 lines

HTML Parser

A custom HTML parser that converts HTML text into a DOM tree structure.

{ }

~7220 lines

CSS Parser

A custom CSS parser that converts CSS text into a stylesheet object.

Aa

~5492 lines

TrueType Font Reader

A custom TrueType font reader that reads .ttf files into usable glyph data for rendering text.

~2734 lines

HTTP Client

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

Renderer

A custom renderer that takes the DOM tree and stylesheet object and renders it to the screen.

{ }

~5821 lines

JavaScript Engine

A custom JavaScript engine written in Zig that executes JavaScript code on web pages. (Not functional yet)

Harbor Browser

A browser built completely from scratch in Rust and Zig.

Resources

GitHub

Made with ❤️ by Tathya

Harbor Browser Logo