Convert Figma logo to code with AI

brave logobrave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.

23,093
3,153
23,093
10,354

Top Related Projects

SUPERSEDED by https://github.com/mozilla-firefox/firefox. Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org

24,209

The official GitHub mirror of the Chromium source

A keyboard-driven, vim-like browser based on Python and Qt.

Google Chromium, sans integration with Google

Quick Overview

Brave Browser is an open-source web browser developed by Brave Software, Inc. It focuses on privacy and security, offering built-in ad blocking, tracker blocking, and HTTPS upgrading. Brave is based on the Chromium web browser project and is compatible with most Chrome extensions.

Pros

  • Enhanced privacy and security features out of the box
  • Built-in ad blocker and tracker blocker
  • Faster browsing experience due to reduced ad content
  • Integration with cryptocurrency and rewards system (Brave Rewards)

Cons

  • Smaller user base compared to major browsers like Chrome or Firefox
  • Some websites may not function properly due to aggressive blocking
  • Brave Rewards system can be controversial and not appealing to all users
  • Customization options are more limited compared to some other browsers

Getting Started

To get started with Brave Browser:

  1. Visit the official Brave website: https://brave.com/
  2. Click on the "Download" button for your operating system (Windows, macOS, or Linux)
  3. Once downloaded, run the installer and follow the on-screen instructions
  4. After installation, launch Brave and customize your settings as desired
  5. To import bookmarks and settings from another browser, go to Settings > Get Started > Import bookmarks and settings

For developers interested in contributing to the Brave Browser project:

  1. Fork the repository on GitHub: https://github.com/brave/brave-browser
  2. Clone your fork: git clone https://github.com/your-username/brave-browser.git
  3. Follow the build instructions in the repository's README file
  4. Submit pull requests with your contributions or bug fixes

Competitor Comparisons

SUPERSEDED by https://github.com/mozilla-firefox/firefox. Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org

Pros of gecko-dev

  • Longer development history and more established codebase
  • Larger community of contributors and more extensive documentation
  • More comprehensive support for web standards and technologies

Cons of gecko-dev

  • Potentially slower development cycle due to larger codebase
  • May have more legacy code to maintain
  • Less focus on privacy-centric features out-of-the-box

Code Comparison

gecko-dev:

nsresult
nsDocShell::CreateAboutBlankContentViewer()
{
  // Create an about:blank content viewer
  nsCOMPtr<nsIContentViewer> viewer;
  nsresult rv = CreateContentViewer("text/html", nullptr, getter_AddRefs(viewer));
  NS_ENSURE_SUCCESS(rv, rv);
}

brave-browser:

void BraveContentBrowserClient::RegisterNonNetworkNavigationURLLoaderFactories(
    int frame_tree_node_id,
    ukm::SourceIdObj ukm_source_id,
    NonNetworkURLLoaderFactoryMap* factories) {
  content::ContentBrowserClient::RegisterNonNetworkNavigationURLLoaderFactories(
      frame_tree_node_id, ukm_source_id, factories);
  factories->emplace(
      url::kBraveUIScheme,
      std::make_unique<BraveURLLoaderFactory>(frame_tree_node_id));
}

Both repositories contain complex C++ codebases for browser development. gecko-dev's code snippet shows content viewer creation, while brave-browser's code focuses on URL loader factory registration. The brave-browser code specifically includes Brave-specific schemes and factories.

24,209

The official GitHub mirror of the Chromium source

Pros of Chromium

  • Larger developer community and more frequent updates
  • Broader compatibility with web standards and extensions
  • More extensive documentation and resources for developers

Cons of Chromium

  • Less focus on privacy and security features out-of-the-box
  • Higher resource usage and potential performance impact
  • More complex codebase, which can be challenging for new contributors

Code Comparison

Brave Browser (privacy-focused feature):

const shields = {
  ads: true,
  trackers: true,
  scripts: false,
  fingerprinting: true
};

Chromium (standard feature):

const settings = {
  safeBrowsing: true,
  autoFill: true,
  passwordSaving: true,
  extensions: true
};

Key Differences

  • Brave Browser is built on Chromium but adds privacy-focused features
  • Brave includes a built-in ad-blocker and tracker prevention
  • Chromium offers more customization options for developers
  • Brave has a smaller codebase, focusing on core privacy features
  • Chromium provides a more vanilla browsing experience, leaving privacy enhancements to user discretion

Community and Development

  • Chromium has a larger, more diverse contributor base
  • Brave has a more focused development team with specific privacy goals
  • Both projects are open-source, but Brave's development is more centralized
  • Chromium's release cycle is more frequent, with rapid updates and bug fixes

A keyboard-driven, vim-like browser based on Python and Qt.

Pros of qutebrowser

  • Lightweight and minimalist design, focusing on keyboard-driven navigation
  • Highly customizable through a Python configuration file
  • Built-in ad-blocking and privacy features without relying on external extensions

Cons of qutebrowser

  • Smaller user base and community compared to Brave
  • Less comprehensive out-of-the-box privacy features and cryptocurrency integration
  • Limited support for traditional browser extensions

Code Comparison

qutebrowser (Python-based configuration):

c.url.searchengines = {
    'DEFAULT': 'https://duckduckgo.com/?q={}',
    'g': 'https://google.com/search?q={}',
}
c.content.blocking.enabled = True
c.content.blocking.method = 'both'

Brave (C++ based, Chromium fork):

const char kBraveShieldsEnabled[] = "brave.shields.enabled";
const char kBraveShieldsAdControlType[] = "brave.shields.ad_control_type";
const char kBraveShieldsHTTPSEverywhereEnabled[] = "brave.shields.https_everywhere_enabled";

Both browsers focus on privacy and security, but qutebrowser offers a more minimalist, keyboard-centric approach with extensive customization through its Python configuration. Brave, on the other hand, provides a more traditional browsing experience with built-in privacy features and cryptocurrency integration, appealing to a broader user base. qutebrowser's configuration allows for easy customization of search engines and content blocking, while Brave's codebase reflects its Chromium heritage and focus on shield-based protection mechanisms.

Google Chromium, sans integration with Google

Pros of ungoogled-chromium

  • Stronger focus on privacy by removing Google-specific integrations
  • More customizable with extensive configuration options
  • Lighter resource usage due to removal of unnecessary features

Cons of ungoogled-chromium

  • Less user-friendly, requires more technical knowledge to set up and maintain
  • Slower update cycle compared to Brave
  • Lacks built-in ad-blocking and cryptocurrency features

Code Comparison

Brave Browser:

// Example of Brave's ad-blocking implementation
const brave_shields = {
  blockAds: true,
  blockTrackers: true,
  blockMalware: true
};

ungoogled-chromium:

# Example of ungoogled-chromium's configuration
DISABLE_GOOGLE_HOST_DETECTION = True
DISABLE_CRASH_REPORTER = True
DISABLE_GOOGLE_API_KEY_WARNING = True

Both projects aim to enhance privacy and security in Chromium-based browsers, but they take different approaches. Brave focuses on user-friendly features and built-in privacy tools, while ungoogled-chromium provides a more stripped-down and customizable experience for tech-savvy users. The code examples illustrate Brave's emphasis on built-in protection features, whereas ungoogled-chromium relies more on configuration options to disable unwanted functionalities.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Brave Browser

This repository is not needed for building the browser and only holds issues, releases and the wiki. The source code and contributions are at https://github.com/brave/brave-core.

Resources

Downloads

You can visit our website to get the latest stable release.

Contributing

Please see the contributing guidelines.

Security Policy

Please see the security policy.

Community

Join the Q&A community if you'd like to get more involved with Brave. You can ask for help, discuss features you'd like to see, and a lot more. We'd love to have your help so that we can continue improving Brave.

You can also ask questions and interact in the community-guest channel on Brave Software's Slack.

Help us translate Brave to your language by submitting translations at https://explore.transifex.com/brave/brave_en/.

Follow @brave on X for important news and announcements.