An open API service indexing awesome lists of open source software.

https://github.com/meedan/check-mark

Cross-platform bookmarking extension for Meedan Check, a collaborative media annotation platform
https://github.com/meedan/check-mark

hacktoberfest react-native webextension

Last synced: 6 months ago
JSON representation

Cross-platform bookmarking extension for Meedan Check, a collaborative media annotation platform

Awesome Lists containing this project

README

          

# Check

A browser extension for [Check](https://meedan.com/en/check/).

## Browser Extension

### Download

Available for [Mozilla Firefox](https://addons.mozilla.org/firefox/addon/check/) and [Google Chrome](https://chrome.google.com/webstore/detail/check/pjfgpbclkfjkfiljlcfehjmpafeoafdi).

### Development

The JavaScript code lives in `src`. Static files like HTML, Manifest and images live in `public`.

Copy `config.js.example` to `config.js` and define your configurations.

You can compile the code with `npm run build`. It was developed and tested with Node 7. After the code is compiled, it will be under `build`. After you installed the extension (see below how to do it), you don't need to re-install it when you make code changes.

#### Running the extension on Google Chrome

Follow the steps below or our [video-tutorial](https://www.youtube.com/watch?v=kp90m3jY7HA).

* Visit `chrome://extensions`
* Enable "Developer mode"
* Click "Load unpacked extension..."
* Pick one of the directories:
* `build`, if you are a developer and has compiled the extension locally in your machine
* `releases/qa`, to use the QA version
* `releases/live`, to use the live version
* The extension will appear on the toolbar

If you are not able to login using the browser extension on Chrome, make sure that the option "Block third-party cookies", under your browser configurations, is *disabled*. If you use an extension like AdBlock, you first need to disable the extension, then disable the "Block third-party cookies" option.

#### Running the extension on Mozilla Firefox

* Visit `about:debugging`
* Click "Load Temporary Add-on"
* Pick the `manifest.json` file inside one of the following directories:
* `build`, if you are a developer and has compiled the extension locally in your machine
* `releases/qa`, to use the QA version
* `releases/live`, to use the live version
* The extension will appear on the toolbar

#### Localization

As usual, localization is done on [Transifex](https://www.transifex.com/meedan/check-2/browser-extension/). You must have the `tx` client [installed](http://docs.transifex.com/client/setup/) on your computer and [configured](https://docs.transifex.com/client/client-configuration) to communicate with the Transifex server. You can send new strings to Transifex by running `npm run transifex:upload` and you can download translations from Transifex by running `npm run transifex:download`.

#### Testing

* You need `zip`, `rspec`, `geckodriver` and `chromedriver`.
* Copy `test/config.yml.example` to `test/config.yml` and adjust the configurations.
* Tests can be run with `npm run test`.

### Release

- Edit `public/manifest.json` and increment the version number
- Create a new release via `npm run release:live` which will create the package `releases/live/live.zip`
- Submit the package to Chrome Store and Firefox Store for review and publishing

#### Chrome Store

- Some permissions will require justification:
* `activeTab`: Send the current URL to Check
* `contextMenus`: Invoke the extension from a link on right-click

#### Firefox Store

- Nothing special is needed, just upload the ZIP