Brave Core

repository·master·Indexed 25 days ago

https://github.com/brave/brave-core

A specialized set of changes, APIs, and scripts used to customize the Chromium source code to produce the Brave browser for Android, iOS, Linux, macOS, and Windows. It manages Chromium syncing, Brave-specific patches, and dependencies like adblock-rust. Documentation covers internal architectures including the Brave NTP React application, local AI and history embeddings using EmbeddingGemma, the Brave VPN WireGuard Service for Windows, and the Endpoint Client for type-safe API requests.

Tokens
190.4K
Snippets
470
Records
1.3K
Agent score
80%

What's inside brave-core

  1. Overview of Plaster semantical patching

    master
    Plaster is an experimental tool used to apply changes to upstream source files (specifically Chromium's src repo) using regex transformations or AST-based rewriters. Unlike traditional git patches, which are brittle during rebases, or language overrides, which can be hard to audit, Plaster provides a language-agnostic, semantic way to apply changes in place. It generates standard patch files as a side effect, allowing changes to be audited and integrated into the existing Brave patch machinery.
  2. Overview of Brave SpeedReader

    master

    Brave SpeedReader is a tool designed to distill text-focused content from HTML documents. It operates on HTML before rendering, producing a clean HTML output that uses Brave-designed themes and contains no external styling or scripting.

    Key features include:

    • Distills text-focused content from suitable HTML.
    • Works on raw HTML before the rendering process.
    • Generates lightweight HTML output without external dependencies.