An open API service indexing awesome lists of open source software.

https://github.com/danfragoso/thdwb

🌭 The hotdog web browser and browser engine 🌭
https://github.com/danfragoso/thdwb

browser-engine golang hotdog html-renderer ketchup mayo mustard sauce web-browser

Last synced: 3 months ago
JSON representation

🌭 The hotdog web browser and browser engine 🌭

Awesome Lists containing this project

README

        

![thdwb](https://raw.githubusercontent.com/danfragoso/thdwb/master/imgs/thdwb.png)

This is the hotdog web browser project. It's a web browser with its own layout and rendering engine, parsers, and UI toolkit!

It's made from scratch entirely in golang. External dependencies are only OpenGL and GLFW, even go dependencies are kept to a minimum.

The main goal of this project is to learn how web browsers work under the hood by implementing one. The browser is far from stable, spec-compliant, or even really useful, but, I'm slowly working on bringing more features and supporting more sites.

🌭🌭🌭

### Components
- ketchup (html parser and DOM Tree builder)
- mayo (css parser and Render Tree builder)
- mustard (UI Toolkit, events and OpenGL)
- sauce (requests, cache and filesystem)
- bun (css layout calculator)
- [gg](https://github.com/fogleman/gg) (drawing routines and text rendering)

### Getting started
- Running

```sh
make
```
This command will start the browser and load an example page

- Testing

```sh
make test
```
This command will run all the configurated unit tests

- Building

```sh
make build
```
This command will build the binary version

### Screenshots