@note: based on @danimelchor work, check it here
- Clone the repository and install depenedencies
$ npm clone [email protected]:tomtobac/cohere-email.git
$ cd cohere-email
$ npm install
- Build the extension
$ npm run build
-
type
chrome://extensions/
the Chrome navbar or go toThree dots (top right)
>Settings
>extensions
-
Enable "Developer mode" in top right corner
-
Click on Load unpacked extension and select the
dist
folder which was generated by the step 2 in #Build
-
Once you have it loaded, you should see an icon next to your extension menu.
-
Click on the icon and a menu should appear, please enter your
api key
. You can get it from here. You can test it out with trial api key. -
Navigate to Google Mail and click on "Compose", click again into the body of the email. After writing your command, as the example bellow 👇, you can click on "Co:here" button and it will generate a text based in your command.
-
Any error with the api will be printed in the body of the email too
- build: create a release version so users don't need build step
- feat: add tooltip with an explanation of every setting
- feat: allow more than one stop_sequence
- refactor: tests