1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-09 09:51:02 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
2021-02-05 14:36:49 -05:00
.github Merge pull request #667 from zhzy0077/add_arm64 2021-02-01 10:49:04 -05:00
.vscode
jslib@a16d8f7de7 Send layout & search 2021-02-03 16:24:49 -05:00
resources Add entitlements to mac, disable browser integration on Windows Store 2021-01-25 14:47:29 +01:00
scripts
src Fixed menu reloading bug 2021-02-05 14:36:49 -05:00
stores
.editorconfig
.gitignore Add dist-safari/ to .gitignore 2021-01-05 13:57:31 -05:00
.gitmodules
.nvmrc
.travis.yml
appveyor.yml.flagged-to-remove removing appveyor to stop the fork from sending the repo to be built. Testing a release 2021-01-06 20:38:30 +00:00
CONTRIBUTING.md
crowdin.yml map en-IN 2020-09-28 14:21:04 -04:00
gulpfile.js
ISSUE_TEMPLATE.md
LICENSE.txt
package-lock.json update package-lock.json 2021-02-03 12:48:59 -05:00
package.json Match linter rules 2021-02-03 12:21:22 -06:00
README.md fixing typo in readme 2021-01-04 18:25:43 +00:00
SECURITY.md
sign.js switching signing back to signing all .exe files and adding another job that doesn't sign the files for the Windows Store 2021-01-24 23:23:41 +00:00
tsconfig.json
tslint.json Match linter rules 2021-02-03 12:21:22 -06:00
webfonts.list
webpack.main.js Fix electron error on native messaging 2020-12-29 20:53:29 +01:00
webpack.renderer.js

appveyor build travis build Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Desktop Application

Platforms

The Bitwarden desktop app is written using Electron and Angular. The application installs on Windows, macOS, and Linux distributions.

Desktop Vault

Build/Run

Requirements

  • Node.js
  • Windows users: To compile the native node modules used in the app you will need the Visual C++ toolset, available through the standard Visual Studio installer. You will also need to install the Microsoft Build Tools 2015 and Windows 10 SDK 17134 as additional dependencies in the Visual Studio installer.

Run the app

npm install
npm run electron

Debug Native Messaging

Native Messaging (communication with the browser extension) works by having the browser start a lightweight proxy application baked into our desktop binary. To setup an environment which allows for easy debugging you will need to build the application for distribution, i.e. npm run dist:<platform>, start the dist version and enable desktop integration. This will write some manifests to disk, Consult the native manifests documentation for more details of the manifest format, and the exact locations for the different platforms. Note that disabling the desktop integration will delete the manifests, and the files will need to be updated again.

The generated manifests are pre-configured with the production ID for the browser extensions. In order to use them with the development builds, the browser extension ID of the development build needs to be added to the allowed_extensions section of the manifest. These IDs are generated by the browser, and can be found in the extension settings within the browser.

It will then be possible to run the desktop application as usual using npm run electron and communicate with the browser.

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch. Learn more about how to contribute by reading the CONTRIBUTING.md file.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.