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 gulp
npm install -g [email protected]
npm install
jspm install bootstrap=npm:bootstrap
jspm install
gulp 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/chrome
folder into the browser or click "Load unpacked extension" and select thedist/chrome
folder.
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: debugging
in the address bar - Click on
Load Temporary Add-on...
- Navigate and select the
dist/firefox
folder.
- Download and install the Microsoft Extension Toolkit
- Follow the Explanatory video to port the Chrome extension from
dist/chrome
into anEdge
supported extension
npm install -g mocha
npm 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 prettier
prettier --check -- lib/assets/js/main.js lib/scripts/**/*.js test/**/*.js
To beautify your code with prettier, execute
npm run prettier
npm install mochawesome
npm 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.