This repository houses all Bitwarden client applications except the Mobile application.
Please refer to the Clients section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.
sudo apt-get -y install pkg-config libxss-dev libglib2.0-dev libsecret-1-dev rpm musl-dev musl-tools
https://github.com/kagiko/contributing-docs/blob/main/docs/getting-started/clients/index.md
cd client
# rootnvm use 20.18.0
npm ci
git config blame.ignoreRevsFile .git-blame-ignore-revs
cd apps/desktop/desktop_native
rustup target add x86_64-unknown-linux-musl
export PKG_CONFIG_ALL_STATIC=1
# these are required to compile musl builds on a GNU systemexport PKG_CONFIG_ALLOW_CROSS=1
export TARGET=musl
node build.js cross-platform
You may need to run npm run electron
before chown/chmod on the chrome-sandbox will be available?
sudo chown root:root /home/steven/work/kagiko/clients/node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 /home/steven/work/kagiko/clients/node_modules/electron/dist/chrome-sandbox
cd apps/desktop
npm run electron
cd apps/desktop/desktop_native/napi
RUSTFLAGS="-C target-feature=-crt-static" cargo build --release --target=x86_64-unknown-linux-musl
cd apps/desktop/desktop_native
npm run build -- --target x86_64-unknown-linux-musl
npm run build -- --target desktop-napi-linux-x64-musl
? nope
- bitwarden/server: The core infrastructure backend (API, database, Docker, etc).
- bitwarden/mobile: The mobile app vault (iOS and Android).
- bitwarden/directory-connector: A tool for syncing a directory (AD, LDAP, Azure, G Suite, Okta) to an organization.
Interested in contributing in a big way? Consider joining our team! We're hiring for many positions. Please take a look at our Careers page to see what opportunities are currently open as well as what it's like to work at Bitwarden.
Code contributions are welcome! Please commit any pull requests against the main
branch. Learn more about how to contribute by reading the Contributing Guidelines. Check out the Contributing Documentation for how to get started with your first contribution.
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.