Truly independent web browser
Find a file
Timothy Flynn dfabdb7fed
Some checks are pending
CI / Lagom (false, FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-14, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (true, NO_FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
headless-browser: Support running LibWeb tests concurrently
We currently create a single WebView and run all 1400+ LibWeb tests in
serial over that WebView. Instead, let's create as many WebViews as
there are processes on the system, and run LibWeb tests concurrently
over those views.

To do this performantly requires that we never block the main thread of
the headless-browser process once the tests are running. Doing so will
effectively pause execution of all other tests. So test execution is now
Promise-based.

On my machine (with a hardware concurrency of 32), this reduces the run
time of LibWeb tests from 31.382s to 3.640s. CPU utilization increases
from 5% to 67%.
2024-10-06 19:24:25 +02:00
.devcontainer Meta: Rename devcontainer to Ladybird 2024-07-11 08:48:15 -06:00
.github CI: Install pyyaml from pip 2024-10-06 09:42:35 -04:00
AK Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Base/res Base: Remove old LibWeb demo pages 2024-10-03 11:06:29 +02:00
Documentation Documentation: Emphasize getting started by troubleshooting WPT tests 2024-10-04 20:01:42 +02:00
Ladybird Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Meta LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
Tests LibWeb: Disable remaining Worker tests for now 2024-10-06 19:24:25 +02:00
Toolchain Meta: Update vcpkg to fix build error 2024-10-04 12:00:48 -06:00
Userland headless-browser: Support running LibWeb tests concurrently 2024-10-06 19:24:25 +02:00
.clang-format Meta: Support using clang-format on Objective-C++ files 2023-08-22 21:36:19 -04:00
.clang-tidy Everywhere: Remove references to the kernel 2024-06-03 10:53:53 +02:00
.clangd Meta: Add .clangd config file (with project-recommended defaults) 2024-07-09 04:40:52 -06:00
.editorconfig Meta: Add .editorconfig 2022-09-10 17:32:55 +01:00
.gitattributes LibGfx: Remove support for the various "portable" image formats 2024-06-17 21:57:35 +02:00
.gitignore Meta: Add provision for user-specified port variables to vcpkg 2024-07-07 15:56:59 +02:00
.gn Meta: Automatically generate a compilation database for clangd 2023-11-14 14:29:35 -05:00
.mailmap Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
.pre-commit-config.yaml Meta: Drop the --no-ports arg from .pre-commit-config.yaml 2024-09-11 08:29:54 +01:00
.prettierignore Meta: Remove home/anon directory from .prettierignore 2024-07-17 09:57:46 -06:00
.prettierrc Meta: Move prettier config files to the root of the repository 2020-08-24 18:21:33 +02:00
.swift-format Meta: Add swift-format configuration 2024-07-30 18:38:02 -06:00
.ycm_extra_conf.py Meta: Make YCM return flags as Python list 2024-07-06 14:50:43 -06:00
CMakeLists.txt CMake: Update homepage url in project() declaration to point to .org 2024-09-23 16:40:08 -06:00
CMakePresets.json CMake: Enable running unit tests with a Debug build/preset 2024-08-28 01:13:16 -06:00
CODE_OF_CONDUCT.md Meta: Add code of conduct (from the Ruby community) 2024-10-02 09:49:52 +02:00
CONTRIBUTING.md LibMedia: Absorb LibAudio 2024-09-12 10:01:19 +02:00
flake.lock nix: Clean up files, use good practices 2024-03-25 14:19:34 -06:00
flake.nix Meta: Remove SerenityOS components not needed for Ladybird 2024-06-03 10:53:53 +02:00
ISSUES.md Meta: Add guidance on how to write reduced test cases 2024-07-25 16:59:09 +02:00
LICENSE Meta: Update root LICENSE to say Ladybird instead of SerenityOS 2024-06-04 07:25:44 +02:00
README.md LibMedia: Absorb LibAudio 2024-09-12 10:01:19 +02:00
SECURITY.md Meta: Update security policy to include private vulnerability reporting 2024-08-23 12:06:05 -06:00
vcpkg-configuration.json Meta: Add overlay port for vulkan-loader 2024-07-07 15:56:59 +02:00
vcpkg.json Meta: Update vcpkg to fix build error 2024-10-04 12:00:48 -06:00

Ladybird

Ladybird is a truly independent web browser, using a novel engine based on web standards.

Important

Ladybird is in a pre-alpha state, and only suitable for use by developers

Features

We aim to build a complete, usable browser for the modern web.

Ladybird uses a multi-process architecture with a main UI process, several WebContent renderer processes, an ImageDecoder process, and a RequestServer process.

Image decoding and network connections are done out of process to be more robust against malicious content. Each tab has its own renderer process, which is sandboxed from the rest of the system.

At the moment, many core library support components are inherited from SerenityOS:

  • LibWeb: Web rendering engine
  • LibJS: JavaScript engine
  • LibWasm: WebAssembly implementation
  • LibCrypto/LibTLS: Cryptography primitives and Transport Layer Security
  • LibHTTP: HTTP/1.1 client
  • LibGfx: 2D Graphics Library, Image Decoding and Rendering
  • LibArchive: Archive file format support
  • LibUnicode: Unicode and locale support
  • LibMedia: Audio and video playback
  • LibCore: Event loop, OS abstraction layer
  • LibIPC: Inter-process communication

How do I build and run this?

See build instructions for information on how to build Ladybird.

Ladybird runs on Linux, macOS, Windows (with WSL2), and many other *Nixes.

How do I read the documentation?

Code-related documentation can be found in the documentation folder.

Get in touch and participate!

Join our Discord server to participate in development discussion.

Please read Getting started contributing if you plan to contribute to Ladybird for the first time.

Before opening an issue, please see the issue policy and the detailed issue-reporting guidelines.

The full contribution guidelines can be found in CONTRIBUTING.md.

License

Ladybird is licensed under a 2-clause BSD license.