← Back to DAGDA | Support | Source: https://github.com/raphodn/openfoodfacts-taxonomy-explorer
Skip to content

About

Visualize Open Food Facts taxonomy

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Open Food Facts Taxonomy Explorer

  1. Select an OFF taxonomy entry
  2. Visualize its ancestors or descendants
  3. Share the current view with URL parameters

Extra info

  • works with additives, allergens, categories, ingredients, labels, nutrients, origins
  • limited to en:
  • shows a loader and disables controls while a taxonomy is loading
  • includes a footer link to the GitHub repository

Shareable URLs

The app keeps state in query parameters and auto-loads from them:

  • taxonomy: additives | allergens | categories | ingredients | labels | nutrients | origins
  • node: taxonomy node id (example: en:milks)
  • mode: ancestors | descendants
  • hop_limit: max depth to traverse (0–5, empty = unlimited)

Example: ?taxonomy=categories&node=en:milks&mode=descendants

Screenshot

image

Run locally

git clone
cd openfoodfacts-taxonomy-explorer
python -m http.server 8080

Thanks to

About

Visualize Open Food Facts taxonomy

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages