(The name is going to change one day, I promise.)
Browser is a web browser written from scratch in C++.
The build process uses Meson and Ninja.
Configure the build directory like so:
$ meson setup builddir/
Meson will look for the cURL library and the Qt framework and enable their respective shells. If libcurl
, freetype
or fontconfig
cannot be found, Meson will download and build them.
Once it's configured, run:
$ ninja
Now you're building Browser.
The cURL shell (executable shells/curl/browser_curl
) is a test shell using libcurl
.
To use it, run it with the first argument being the website that you want to visit. Once it's done parsing, it will output a test.ppm
image with the rendered content.
The Qt shell (executable shells/qt/browser_qt
) is a shell which uses Qt for requests, URL control and displaying rendered content.
To use it, just run it, enter your URL and press enter, and wait a second for it to load all data.