Photon Engine is Photon's web engine, maintained as a downstream of Ladybird. It provides web rendering, browser services, and the C++ embedder API used by Photon's Rust/GPUI-CE shell.
For the easiest setup, build Photon from the main browser repository. It pins Photon Engine as the Engine/ submodule and provides the development CLI.
- Contributor setup
- Building and running Photon
- Architecture
- Upstream maintenance and submodules
- Contributing
Ladybird uses a multi-process architecture with a main UI process, WebContent renderer processes, and helper processes for tasks such as networking, image decoding, compositing and media.
Documents from different sites run in separate renderer processes, each sandboxed from the rest of the system. Image decoding and network connections are done out of process, separately for each site, to be more robust against malicious content.
Photon Engine regularly incorporates changes from Ladybird. Keep downstream changes focused and compatible with upstream wherever possible. Follow the upstream maintenance guide when syncing or updating the pinned engine revision.
Photon Engine retains Ladybird's copyright notices and BSD 2-Clause license. See engine contribution guidance for repository-specific policies.