Skip to content

Chrome extension that identifies and translates passive aggressive email in Gmail client

Notifications You must be signed in to change notification settings

dimshik100/passive-aggressive-email-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passive Aggressive Email Translator

passive aggressive promotional

This repo contains a Chrome extension that identifies and translates passive aggressive phrases in emails. Currently works only with Gmail client.

Try it

Passive Aggressive Email Translator Extension

Screenshots

passive aggressive screenshot

passive aggressive screenshot

passive aggressive screenshot

For developers

First get the code and build it:

# get code
git clone https://github.com/dimshik100/passive-aggressive-email-translator/

# get dependencies and build
npm install
npm run build

Now ensure the code loads and works:

  • Load the "dist" folder containing the extension (or manifest.json) in your browser.

    1. Open the Extension Management page by navigating to chrome://extensions. The Extension Management page can also be opened by clicking on the Chrome menu, hovering over More Tools then selecting Extensions.

    2. Enable Developer Mode by clicking the toggle switch next to Developer mode.

    3. Click the LOAD UNPACKED button and select the extension directory. alt text

    4. Ta-da! The extension has been successfully installed. Because no icons were included in the manifest, a generic toolbar icon will be created for the extension.

  • Load mail.google.com in your browser and open the developer console.

You should be greeted by a message saying the following

Hello, <you>. This is your passive aggressive extension talking!

If that works, you should now be ready to customize the extension-code. Do this by editing extension.js.

This extension is using gmail.js library.

gmail should be exposed in the developer console as a global variable.

You can use this to play around and get familiar with the API.

Cheers!

TODO

  • Import partial code from animate.css (only the needed animations) Use animate sass

  • Mark passive aggressive phrases in open emails. Use mark.js

  • Add a tooltip that appears when hovering over a passive aggressive phrase with the real meaning of the phrase. Use tipso

  • Change from browserify to webpack. Checkout chrome extension webpack boilerplate

  • Create extension icon. Add source file.

  • Change extension icon to Enabled / Disabled mode if the user is in Gmail or not.

  • Add a badge to extension icon with the number of found passive aggressive phrases in the opened email.

About

Chrome extension that identifies and translates passive aggressive email in Gmail client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published