• Stars
    star
    372
  • Rank 114,858 (Top 3 %)
  • Language
    TypeScript
  • License
    Other
  • Created almost 9 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

FlowCrypt Browser extension for Chrome and Firefox

FlowCrypt: Encrypt Gmail with OpenPGP

Users

Get the FlowCrypt browser extension from the FlowCrypt downloads page.

Developers

Mock tests

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:

  1. 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
  1. 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:

  1. Open your Chrome browser and navigate to chrome://extensions/.
  2. If it isn't already enabled, toggle on the Developer mode. The switch button is located at the top-right corner.
  3. Click on the Load unpacked button.
  4. Browse to the flowcrypt-browser/build folder and select the appropriate project version, either chrome-consumer or chrome-enterprise.

Similarly, to load the extension in Firefox, please follow these steps:

  1. Open your Firefox browser and navigate to about:debugging.
  2. Click on the This Firefox tab.
  3. Click on the Load Temporary Add-on button located at the top-right corner.
  4. Browse to the flowcrypt-browser/build folder, open the firefox-consumer project version folder, and select the manifest.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.

Other guides