Beaker Browser

An experimental peer-to-peer Web browser

README

Beaker Browser
====== Backers on Open Collective Sponsors on Open Collective

logo.png

Beaker is an experimental peer-to-peer Web browser. It adds new APIs for building hostless applications while remaining compatible with the rest of the Web. Visit the website.

Please feel free to open usability issues. Join us at #beakerbrowser on Freenode.

Sponsors


Sponsors support this project by contributing $100 a month or more. Become a sponsor


Backers


Backers support this project by contributing $2 to $99 a month. Become a backer


Table of Contents






  - Binaries
  - Env Vars
  - tmux
  - Backers
  - Sponsors



Installing


Binaries


Visit the Releases Page to find the installer you need.

Building from source


Requires node 12 or higher.

In Linux (and in some cases macOS) you need libtool, m4, autoconf, and automake:

  1. ``` sh
  2. sudo apt-get install libtool m4 make g++ autoconf # debian/ubuntu
  3. sudo dnf install libtool m4 make gcc-c++ libXScrnSaver  # fedora
  4. brew install libtool autoconf automake # macos
  5. ```

In Windows, you'll need to install Python 2.7, Visual Studio 2015 or 2017, and Git. (You might try windows-build-tools.) Then run:

  1. ``` sh
  2. npm config set python c:/python27
  3. npm config set msvs_version 2017
  4. npm install -g node-gyp
  5. npm install -g gulp
  6. ```

To build:

  1. ``` sh
  2. git clone https://github.com/beakerbrowser/beaker.git
  3. cd beaker/scripts
  4. npm install # don't worry about v8 api errors building native modules - rebuild will fix
  5. npm run rebuild # needed after each install. see https://github.com/electron/electron/issues/5851
  6. npm start
  7. ```

If you pull latest from the repo and get weird module errors, do:

  1. ``` sh
  2. npm run burnthemall
  3. ```

This invokes the mad king, who will torch yournode_modules/, and do the full install/rebuild process for you.
(We chose that command name when GoT was still cool.)
npm start should work afterward.

If you're doing development, npm run watch to have assets build automatically.


Env Vars


- DEBUG: which log systems to output? A comma-separated string. Can be beaker, dat, bittorrent-dht, dns-discovery, hypercore-protocol. Specify * for all.
- BEAKER_OPEN_URL: open the given URL on load, rather than the previous session or default tab.
- BEAKER_USER_DATA_PATH: override the user-data path, therefore changing where data is read/written. Useful for testing. For default value see userData in the electron docs.
- BEAKER_DAT_QUOTA_DEFAULT_BYTES_ALLOWED: override the default max-quota for bytes allowed to be written by a dat site. Useful for testing. Default value is '500mb'. This can be a Number or a String. Check bytes.parse for supported units and abbreviations.

Vulnerability disclosure


See SECURITY.md for reporting security issues and vulnerabilities.

Known issues


tmux


Launching from tmux is known to cause issues with GUI apps in macOS. On Beaker, it may cause the application to hang during startup.

Contributors


This project exists thanks to all the people who contribute. [[Contribute]](CONTRIBUTING.md). undefined

License


MIT License (MIT)

Copyright (c) 2018 Blue Link Labs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.