Awesome
Beaker Browser
This project is now archived.
Beaker was 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.
Table of Contents
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->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:
sudo apt-get install libtool m4 make g++ autoconf # debian/ubuntu
sudo dnf install libtool m4 make gcc-c++ libXScrnSaver # fedora
brew install libtool autoconf automake # macos
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:
npm config set python c:/python27
npm config set msvs_version 2017
npm install -g node-gyp
npm install -g gulp
To build:
git clone https://github.com/beakerbrowser/beaker.git
cd beaker/scripts
npm install # don't worry about v8 api errors building native modules - rebuild will fix
npm run rebuild # needed after each install. see https://github.com/electron/electron/issues/5851
npm start
If you pull latest from the repo and get weird module errors, do:
npm run burnthemall
This invokes the mad king, who will torch your node_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.
Documentation
Env Vars
DEBUG
: which log systems to output? A comma-separated string. Can bebeaker
,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 seeuserData
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].
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.