The website vault (vault.bitwarden.com).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Hinton ac8bd7292e Wrap connector calls in try to handle offline key connector 4 years ago
.github Apply prettier 4 years ago
.husky Add Prettier configuration (#1346) 4 years ago
bitwarden_license Undo some changes prettier made 4 years ago
config Apply prettier 4 years ago
jslib@462a4d7c56 Changed methods to be protected 4 years ago
scripts [BEEEP] Add script for optimizing images (#1374) 4 years ago
src Wrap connector calls in try to handle offline key connector 4 years ago
.dockerignore docker build updates 8 years ago
.editorconfig Add Prettier configuration (#1346) 4 years ago
.git-blame-ignore-revs Add .git-blame-ignore-revs (#1349) 4 years ago
.gitattributes Apply Prettier (#1347) 4 years ago
.gitignore Set urls from config file (#1151) 4 years ago
.gitmodules
.prettierignore Patch CI to allow for redeployments. Add Github actions to prettier .ignore as well. (#1352) 4 years ago
.prettierrc.json Add Prettier configuration (#1346) 4 years ago
CONTRIBUTING.md Apply prettier 4 years ago
Dockerfile docker health check 6 years ago
LICENSE.txt add support for bitwarden license 5 years ago
LICENSE_BITWARDEN.txt add support for bitwarden license 5 years ago
LICENSE_GPL.txt add support for bitwarden license 5 years ago
README.md Apply prettier 4 years ago
SECURITY.md Apply prettier 4 years ago
config.js Apply prettier 4 years ago
crowdin.yml Hotfix Crowdin push (#1276) 4 years ago
dev-server.shared.pem
entrypoint.sh Remove assetlinks (#1165) 4 years ago
package-lock.json Fixed linting issues (ran prettier) (#1379) 4 years ago
package.json Fixed linting issues (ran prettier) (#1379) 4 years ago
tsconfig.json Apply prettier 4 years ago
tslint.json Apply prettier 4 years ago
webpack.config.js Merge branch 'master' of github.com:bitwarden/web into feature/cme-connector 4 years ago

README.md

The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).

Github Workflow build on master Crowdin DockerHub gitter chat

Build/Run

Requirements

  • Node.js v16.13.1 or greater
  • NPM v8

Run the app

For local development, run the app with:

npm install
npm run build:oss:watch

You can now access the web vault in your browser at https://localhost:8080.

If you want to point the development web vault to the production APIs, you can run using:

npm install
ENV=cloud npm run build:oss:watch

You can also manually adjusting your API endpoint settings by adding config/local.json overriding any of the following values:

{
  "dev": {
    "proxyApi": "http://your-api-url",
    "proxyIdentity": "http://your-identity-url",
    "proxyEvents": "http://your-events-url",
    "proxyNotifications": "http://your-notifications-url",
    "allowedHosts": ["hostnames-to-allow-in-webpack"]
  },
  "urls": {}
}

Where the urls object is defined by the Urls type in jslib.

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.

Prettier

We recently migrated to using Prettier as code formatter. All previous branches will need to updated to avoid large merge conflicts using the following steps:

  1. Check out your local Branch
  2. Run git merge 2b0a9d995e0147601ca8ae4778434a19354a60c2
  3. Resolve any merge conflicts, commit.
  4. Run npm run prettier
  5. Commit
  6. Run git merge -Xours 56477eb39cfd8a73c9920577d24d75fed36e2cf5
  7. Push

Git blame

We also recommend that you configure git to ignore the prettier revision using:

git config blame.ignoreRevsFile .git-blame-ignore-revs