Git Product home page Git Product logo

flowcrypt-browser's Introduction

FlowCrypt: Encrypt Gmail with PGP

Users

Get FlowCrypt browser extension at: https://flowcrypt.com/download

Developers

Mock tests: Mock tests

Live tests: Live Tests

This project is written in TypeScript. Browsers only understand JavaScript, so the project needs to be transpiled. You need to build the project the first time you download it, and build it after each change you make to see the result in the browser. To get started, please follow the instructions below:

  1. Install the tooling by running the following command after navigating to the appropriate folder:
$ cd some/folder/flowcrypt-browser
$ npm install
  1. To build the project (currently available for Linux and Mac only), run the following command:
$ npm run build

After running this command, you can find your built project in the build/chrome-consumer and build/firefox-consumer folders.

To load the extension in Google Chrome, please follow these steps:

  1. Open your Chrome browser and navigate to chrome://extensions/.
  2. If not already enabled, toggle on the Developer mode switch located at the top-right corner.
  3. Click on the Load Unpacked button.
  4. Browse to and select the appropriate folder, either build/chrome-consumer or chrome-enterprise.

Similarly, to load the extension in Firefox, 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 and select the appropriate folder, either build/firefox-consumer or firefox-enterprise, and select the manifest.json file.

If you prefer, 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 done using special Debug class: https://github.com/FlowCrypt/flowcrypt-browser/tree/master/extension/js/common/platform/debug.ts#L7

Note for Mac OS users

In order for npm run-script build to work you have to:

  1. Upgrade bash to v4 or higher and make the new version default: https://www.shell-tips.com/mac/upgrade-bash/

  2. Install GNU cp util and make it default: https://stackoverflow.com/a/40431200/3049064

Other guides

flowcrypt-browser's People

Contributors

dependabot[bot] avatar limonte avatar michael-volynets avatar tomholub avatar rrrooommmaaa avatar dependabot-preview[bot] avatar ioanmo226 avatar martgil avatar seisvelas avatar ivanpizhenko avatar sosnovsky avatar wiktor-k avatar snyk-bot avatar schmorrison avatar yantakus avatar flowcrypt-machine-user avatar danishnavid008 avatar vnikolaou avatar vincentp avatar mondo989 avatar 4cm4k1 avatar gboudreau avatar polluks2 avatar sushiwushi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.