An extension for Google Chrome that helps people learn new languages while they browse the web.
MindTheWord helps the user to easily learn the vocabulary of a new language while browsing pages in his native language. In every web page visited, it randomly translates a few words into the language he would like to learn. Since only a few words are translated, it is easy to infer their meaning from the context. Read more in Description.md.
- Install node.js, git
- Clone the repository
git clone https://gitlab.com/aossie/MindTheWord.git - Change directory to MindTheWord
cd MindTheWord npm install -g jspm gulpnpm install -g minimatch@3.0.2npm installjspm install bootstrap=npm:bootstrapjspm installgulp build- Loading in the respective browsers
Note: The above installation instructions may require the superuser permissions, and hence sudo. You might also consider installing gulp locally as the latest versions require to be installed to the local repo.
- Open Chrome and go to
chrome://extensions - Enable "Developer mode"
- Drag
dist/chromefolder into the browser or click "Load unpacked extension" and select thedist/chromefolder.
Note: Recent versions of chrome (precisely after chrome 73) have shown CORS error in the development environment. This can be overcome by launching chrome with google-chrome --user-data-dir --disable-web-security. If using chromium or any other distro of chrome, use the same flags. Please ensure that while using this flag, all instances of chrome have to be closed.
- Open Firefox and type
about: debuggingin the address bar - Click on
Load Temporary Add-on... - Navigate and select the
dist/firefoxfolder.
- Download and install the Microsoft Extension Toolkit
- Follow the Explanatory video to port the Chrome extension from
dist/chromeinto anEdgesupported extension
npm install -g mochanpm install selenium-webdriver mocha chromedriver chromium- [optional]
export YANDEX_KEY="<yandex translation key>" npm test
MindtheWord uses Prettier, which is an opinionated code formatter. To check if your files are formatted, run
npm install -g prettierprettier --check -- lib/assets/js/main.js lib/scripts/**/*.js test/**/*.js
To beautify your code with prettier, execute
npm run prettier
npm install mochawesomenpm run visualise
Install xvfb display
xvfb-run -s "-screen 0 1920x1080x16" -a npm test
If you would like to contribute to the development of this extension, please contact the developers. In order to get started with the contribution, please refer to Contribute.md
- Google Summer of Code grants are available every year. If you would like to apply, it is never too early to contact us.

