brave/browser-laptop: [DEPRECATED] Please see https://github.com/brave/brave-browser for the current version of Brave

Brave browser

MacOS Desktop Browser for Windows and Linux

This repository contains the older Muon version (our forks of Electron), of Brave.

You can find the latest version of this browser ( bravecore). is also available here

This version is currently being restructured as issues are moved to the new code base.

If Brave is not working properly or you would like to help, Please visit the updated code base

You can also see other browser versions at:

Downloads

To obtain the most recent release, please visit our releases page.

You may also go to our website for the most recent stable release and a user-friendly downloading page.

Only one active channel is available for Brave’s Muon edition: Release. As we transition to bravecore, this will be removed. The beta channel as well the developer channel use the bravecore code-base.

The Community

If you want to be more involved in Brave, join the Q&A group. You can request help and talk about features that you would like to see. There are many other ways to get involved with Brave. Your help is greatly appreciated so we can keep Brave improving.

Useful documentation

  • For tips and guidelines on contributing, see CONTRIBUTING.md
  • For styling information, see style.md.
  • For more information about testing and how to run some of them, see Docs/tests.md.
  • For more information about debugging, see Docs/debugging.md
  • To learn more about how to help with localization (translations), please visit .
  • For information about installing the browser under Linux distributions, see Docs/linuxInstall.md

Run from the source

For a complete walkthrough of setting up Windows using Windows please refer to the Building Windows Wiki entry.

Brave will not work on other platforms, such as Linux or macOS. You need to install certain packages before you are able to build Brave and then run it locally.

Prerequisites

  1. The nodejs current LTS Version

    You can install from the package manager or http://nodejs.org.

  2. npm Version 5 or higher (to use the package lock.json).

Debian/Ubuntu/Mint

apt–get install build–essential rpms ninja–build

On Fedora

Install rpm-build DNF Group "Development Tools", "C Development Tools and Libraries"

Installation

Once you have installed the prerequisites

  1. Copy the git repository to GitHub

     # For beta testers: git clone --depth 1 https://github.com/brave/browser-laptop # For devs over HTTPS: git clone https://github.com/brave/browser-laptop # For devs over SSH: git clone git@github.com:brave/browser-laptop.git 
  2. You can open the directory by clicking here:

    Cd Browser-laptop
  3. Install Node dependencies

    npm installation

You can also use npm to install yarn or yarn.

Troubleshooting

Further information on how to troubleshoot installation problems can be found in the Troubleshooting Wiki.

Preconfigured VMs

A few platforms can be pre-configured VMs. For more information, see the readme.

Running Brave

There are a few things you need to do in order to run the development browser. It is easiest to have two terminals. You can use one terminal to monitor for code changes.

npm watch

You can now run Brave on another terminal

npm

You can fix some errors in brave/electron updates by performing a clean installation:

rm-rf node_modules/npm install

This may not be possible. Please clear your /.electron and try again.

Running webdriver tests

Run the webdriver test

 npm watch-test or npm watch-all 

Test your knowledge in another terminal

npm

For more information, see test.

Port

Brave default uses port 8080 for communication between client and server. Port 8080 can be used for other purposes (e.g., a web proxy). You can change the node configuration to use port 8080 for something else (e.g., a web proxy).

E.g. e.g.

Further information on how to troubleshoot development problems can be found in the Troubleshooting Wiki.

You can run inside a development version Muon

We provide default pre-built binary files when you install using our fork of electro-prebuilt.

You will need to create it if you wish to change the code to Moon. Execting a new event in the webview (from Muon) is one example.

To start this process, you’ll want to check out our browser-laptop-bootstrap repo. To get up and running, you can refer to our wiki.

Bundles, updates, and packaging

Please refer to our wiki entry regarding packaging.