This is a simple extension for Google Chrome browser that can give you hints of what you selected. It automatically detects if it's an equation, a price or it's just a text in a foreign language.
- Calculation
- Currency conversion
- Text translation
Currency rates update once a day and save to cache. Text translations also save to cache up to 300 strings. Caching saves you a lot of requests to the API and boosts result speed. Translation cache can be easily cleared if needed.
- Chrome Extension CLI, WebPack, Babel for building project
- React JS, MobX Chakra UI for menu layout
- SCSS for styling
- Axios for working with API's
- string-math for calculating
- Exchangerate-API for fetching currency rates
- CoinGecko API for fetching crypto currency rates
- Translo API from RapidAPI hub for translations (API key required)
- Go to releases page and choose the latest release.
- Open assets dropdown and download build-vX.X.X.zip file
- Extract this archive anywhere you want to store your extension.
- Open your Chrome extension menu. Turn on the "Developer mode" and click "Load unpacked". Then choose path to your extracted "build-vX.X.X" folder.
That's it! You installed the extension! Remember that for text translation you need an API key. How to get one?
Clone repository:
git clone https://github.com/KirillGoryakin/Hint_Extension.git
Install all packages:
npm install
Start webpack:
npm run watch
Then open your Chrome extension menu. Turn on the "Developer mode" and click "Load unpacked". Then choose path to your "build" folder.
Production build:
npm run build
This extension uses Translo API for text translation. This API requires an API key to work. Don't worry! It's free and easy to get! You just need a few actions.
- To obtain one firstly, you need to sign up or log in RapidAPI site.
- After you sign up go to Translo API pricing page and subscribe to Basic, free plan.
- Then go to Endpoints page and copy your API key from Code Snippets block. Your key should be labeled as "X-RapidAPI-Key". Be aware! Don't copy the quotation marks!
- Then go to the extension option menu and paste your key to the "API key" field
Congrats! You did it! Now you can enable text translation and enjoy! But remember that your translations are limited. 500k characters per month is more than enough, but make sure you don't waste it.
This project was bootstrapped with Chrome Extension CLI
- Extension icon by smashicons.com
- API icon by berkahicon.
- Development icon by Freepik.
- Install icon by Konkapp