6c2f63f193 | ||
---|---|---|
jslib@fa5f6c0906 | ||
src | ||
store | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
CONTRIBUTING.md | ||
ISSUE_TEMPLATE.md | ||
LICENSE.txt | ||
README.md | ||
SECURITY.md | ||
bitwarden-browser.sln | ||
ci-build.cmd | ||
crowdin.yml | ||
gulpfile.js | ||
karma.conf.js | ||
package-lock.json | ||
package.json | ||
tsconfig.json | ||
tslint.json | ||
webfonts.list | ||
webpack.config.js |
README.md
Bitwarden Browser Extension
The Bitwarden browser extension is written using the Chrome Web Extension API and AngularJS.
Build/Run
Requirements
API endpoint
By default the extension is targeting the production API. If you are running the Core API locally, you'll need to switch the extension to target your local instance. Open src/services/api.service.ts
and set this.baseUrl
and this.identityBaseUrl
to your local API instance (ex. http://localhost:5000
).
Run the app
npm install
npm run build:watch
You can now load the extension into your browser through the browser's extension tools page:
- Chrome/Opera:
- Type
chrome://extensions
in your address bar to bring up the extensions page. - Enable developer mode (checkbox)
- Click the "Load unpacked extension" button, navigate to the
build
folder of your local extension instance, and click "Ok".
- Type
- Firefox
- Type
about:debugging
in your address bar to bring up the add-ons page. - Click the
Load Temporary Add-on
button, navigate to thebuild/manifest.json
file, and "Open".
- Type
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.