Kee is a free Firefox and Chrome add-on for linking browsers to Kee Vault or KeePass (latter requires using the KeePassRPC KeePass plugin).
Official website with sign-up and download links: https://www.kee.pm
Support forum: https://forum.kee.pm
It's set up for Visual Studio Code but it shouldn't be too hard to work out how to develop using other IDEs.
npm ci
(or npm install
to get any newer library dependencies than those we used in official builds)npm run dev
OR npm run dev-chrome
npm run start:firefox
OR npm run start:chrome
npm run tsc
to verify that no type errors have been introduced during recent development changesnpm run lint
You may need to modify the vite config files or some of the build scripts if you add significant new sections to the WebExtension structure but it's unlikely and we can help you with that if necessary.
Exactly reproducing the files delivered from the Firefox add-on website or Chrome extension store is not possible because the websites modify the file that we build in order to attach a digital signature. One can get very close though, to the point where a diff of the files from a given release on GitHub varies from your own local build in only three ways:
Reproducible builds rely upon npm version 7 or higher.
Our builds are created by GitHub Actions using the following configuration:
npm ci && mkdir dist
npm run build:prod && npm run pack:prod
(for stable releases) and/or npm run build:beta && npm run pack:beta
(for beta releases) npm run build-chrome:prod && npm run pack-chrome:prod
(for stable releases) and/or npm run build-chrome:beta && npm run pack-chrome:beta
(for beta releases) dist
folder/_locales
Localisation data (language translations)..tx
Used by Transifex localisation scripts to help manage multiple language translation.dist
Output folder for build packages (e.g. an XPI file for installation in Firefox). Created automatically by development scripts or manually if you're only building for packaging/release.extension
Output folder for compiled files when developing or building for packaging/release.lib
Files that are directly included in the resulting extension, undergoing no further adjustment or compilation.scripts
The scripts within help prepare the extension
file structure for hot module reloading during development, as well as ensuring that various categories of files end up in the right place, with appropriate references updated.src
manifest.ts
Outputs a manifest.json file appropriate to the current build / development environment.assets
Static assets. These may be manipulated by the build process into a different format or excluded entirely from the final output but typically will just be included as is, into the extension/assets folder.background
Extension's main background script / Service Worker.common
Modules that are used across multiple extension scopes (e.g. background, popup, content script, etc.) dialogs
Standalone dialogs within the extension context (e.g. for the Network Authentication window).install-notes
A Vue app that is shown after an extension installation has occurred.page
The content page script that gets injected to every web page that is not Kee Vault.panels
Small pages that are rendered as in-page panels, within an iframe, within any web page.popup
The main browser popup that clicking on the browser toolbar button will display.release-notes
Pages that are shown after an extension update has occurred.settings
Page to allow user to adjust many extension settings.store
The Pinia Store definitions that are used for both Vue/Vuetify UI state storage and for automated data transfer across multiple extension execution scopes (popup, settings page, background, in-page panels, etc.)vault
The content page script that gets injected to the Kee Vault website.It's likely that the below does not work. It might though, at least on one or two devices in the world when the stars are aligned.
We'll take a fresh look at this challenge when working on the migration to MV3.
npm install -g @vue/devtools
npm install -g https-proxy-cli
https-proxy -t http://localhost:8098 -p 8099 --keys <folder to store and re-access self-signed certs> &
vue-devtools
sudo apt-get install libnss3-tools
Manually load https://localhost:8099 in the browser, add self-signed cert to whitelist and export the cert to a local file (or just use the generated keys folder location above... not sure if that will work or not).
certutil -d sql:$HOME/.pki/nssdb -A -t "P,," -n <path to saved cert> -i <path to saved cert>
restart Chrome