openfoodfacts / hunger-games

One click Mini-Games for Open Food Facts
https://hunger.openfoodfacts.org
21 stars 34 forks source link
gamification hacktoberfest react reactjs

Hunger Games: One-click categorizer for Open Food Facts

Hunger Games is a series of mini-apps that let users contribute data to Open Food Facts, in a rather fun way using React. You are very welcome to write the game you want.

GitHub language count GitHub top language GitHub last commit Github Repo Size

Try it

The production website is available at https://hunger.openfoodfacts.org

Why Hunger Games?

The main goal is: Every Open Food Facts user can annotate products in a few minutes.

Who do I talk to?

Requirements:

Setup:

Libraries:

APIs:

Open Food Facts APIs and Robotoff

Build

yarn build

Countries list

yarn countries

Generate the JSON file src/assets/countries.json which contains all the countries available on OFF taxonomy. Data are obtained from static.openfoodfacts.org

Taxonomy auto-complete

node update-taxonomy-suggestions.js

Fetch categories and labels taxonomy from OpenFoodFacts static files, and generate JSON files used by the Autocomplete fields.

How to define a dashboard

Go to src/pages/logosValidator/dashboardDefinition.ts. You have two objects to edit:

How you can help

For developers, you can have a look at good first issues or ask on slack in hunger-games channel.

You can also help by improving translation in your language, Or the wiki page of the project

Weekly meetings (joint with the ML/Robotoff meeting)

Contributors

List of contributors to this repository