Skip to content

kodujdlapolski/factchecker-plugin-chrome

 
 

Repository files navigation

Chrome extension showing fact-checked statements

See highlighted fact-checked statements while reading online articles or browsing Facebook / Google.

Deployment for Polish Demagog (a prototype)

demagog-multiple

Releases

For the latest packaged version check the releases page. Drop the crx file in the Chrome extensions page (chrome://extensions/).

Installation

Running

  • gulp
  • In the Chrome extensions page, Load unpacked extension... and select the build directory.

The extension will automatically reload on code changes.

For the extension to work you will need to have a running compatible API: https://github.com/TransparenCEE/factchecked-api-wpplugin

Updating code

  • git pull origin branch_name
  • npm install

Creating a build

  • gulp build will generate a build in ./dist.

Replicating project for your fact-checker

If you would like to create a similar plugin for your factchecker these are the steps you have to follow:

  1. Update src/manifest.json and package.json with description of your factchecker
  2. Define src/js/config.js configuration using src/js/config.js.template
  3. Override src/assets/icon* with your own icons
    • icon_gray is shown in task bar when there are no factchecked statements on the current website
  4. Modify src/views/* templates according to your needs
  5. Style your ratings in src/css/factual.css
    • Define colors and images for different factchecker-fact-mark-${fact.rating}

About

Browser plugin highlighting fact-checked statements in online media

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.0%
  • CSS 26.9%
  • HTML 5.1%