Giter VIP home page Giter VIP logo

driveoff's Introduction

DriveOFF

WebExtension for estore (drive) using Open Food Facts Database

Compatible Browsers

  • Firefox
  • Chromium
  • Opera
  • Vivaldi
  • Edge (not tested)

Introduction

Works with a few e-commerce websites for now, but using a modular system Adds the following information to the product pages:

  • Nutri-Score (nutritional quality from A to E)
  • Nova group (food processing from 1 to 4)
  • Eco Score (environmental impact from A to E)
  • Nutrient levels
  • Additives
  • Barcode

Changes

  • ES6+ refactor
  • Modular Drive configs
  • Nutri/Nova/Eco Scores widget injection into products header
  • Fallback to search results when product didn't have EAN (disabled)
  • Nutri/Nova/Eco Scores widget injection into catalogues and lists

The extension uses data from Open Food Facts and the barcode generation library jsBarcode

Build

NPM

npm install
npm run-script build

Yarn

yarn
yarn build

Installation

_ DriveOFF is available on the extension stores, but you can also do the installation from the sources._

  • Download the latest release
  • Unzip the archive to the location of your choice

Chromium

  • Launch Chromium, Chrome, Vivaldi or Opera
  • Type in the URL bar chrome://extensions
  • Activate developer mode
  • Click on "Load the unpackaged extension"
  • Select the folder where you unzipped the downloaded release.
  • Enjoy !

Firefox

  • Launch Firefox
  • Type in the URL bar about:debugging#/runtime/this-firefox
  • Click on "Load a temporary add-on ..."
  • Open the manifest.json file in the folder where you unzipped the downloaded release.
  • Enjoy !

List of compatible drives

  • auchan.fr (product pages only)
  • bio.coop (product pages only)
  • carrefour.fr
  • cora.fr
  • intermarche.com
  • leclercdrive.fr

driveoff's People

Contributors

roikosmic avatar clovfr avatar teolemon avatar mickaelfr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.