A project by Yogya Chugh

Webelo

  • C++
  • Python
  • DOM library
← yogya.dev
Yogya Chugh, drawn as a comic character

I wanted to know how a browser reads a web page, so I built that part myself.

The part of a browser that understands a web page, rebuilt from the official WHATWG spec in C++.

Webelo screenshot

What it doesWebelo, in short

Follows the standard

Nodes, trees, traversal and events, built the way the WHATWG DOM Living Standard defines them.

See the tree

The viewer draws any page’s HTML as the DOM tree a browser would build from it.

C++ or Python

Include one C++ source file in your project, or use the Python bindings.

Get itDownload and run

Get the viewer

Version 2.0, from GitHub releases.

Use the library

git clone https://github.com/YogyaChugh/Webelo.git

Then include src/Webelo.cpp and you’re set.