FlowCrypt: Encrypt Gmail with OpenPGP
Users
Get the FlowCrypt browser extension from the FlowCrypt downloads page.
Developers
We develop the project in TypeScript. However, since browsers only understand JavaScript, the project needs to be transpiled to it. You need to build the project the first time you download/clone it, and then build it again after each change you make to see the result in the browser. To get started, please follow the instructions below:
- Navigate to the project folder and install the tooling by running the following commands:
# Navigate to the appropriate folder
$ cd some/folder/flowcrypt-browser
# Install the tooling
$ npm install
- To build the project (currently available for Linux and Mac only), run the following command:
$ npm run build
After executing the build command, you can find your built project in the build/chrome-consumer
and build/firefox-consumer
folders.
Note: The
build
folder also contains other versions of the browser extension.
To load the extension in Google Chrome, please follow these steps:
- Open your Chrome browser and navigate to
chrome://extensions/
. - If it isn't already enabled, toggle on the Developer mode. The switch button is located at the top-right corner.
- Click on the
Load unpacked
button. - Browse to the
flowcrypt-browser/build
folder and select the appropriate project version, eitherchrome-consumer
orchrome-enterprise
.
Similarly, to load the extension in Firefox, please follow these steps:
- Open your Firefox browser and navigate to
about:debugging
. - Click on the
This Firefox
tab. - Click on the
Load Temporary Add-on
button located at the top-right corner. - Browse to the
flowcrypt-browser/build
folder, open thefirefox-consumer
project version folder, and select themanifest.json
file.
If you wish, you can also use the run_firefox
script (npm run run_firefox
) included in the package.json
file to run the Firefox extension in a separate instance without interfering with the production extension installed in your browser.
Printing debug data to test logs can be accomplished using a special Debug class.