Repository navigation
Labels
Description
What
First steps
- Extract parts of the Android app (https://github.com/openfoodfacts/openfoodfacts-androidapp)
- Create a Kotlin package
Multilingual app - Features to port from the old mobile app or implement
- Ensure we support multilingual fields
User management - Features to port from the old mobile app or implement
- Allow checking if a user exists
READ - Features to port from the old mobile app or implement
- Product: you can retrieve information about products
- Product images (get product image by field, size and language, current fields are: Front, Ingredients, Nutrition, Packaging)
- Additives, Allergens, Environment impact, Ingredient analysis, Nutrient levels, Nutrition facts (incl. micro-nutrients)
- Language dependant fields (like ingredients, product name, packaging text)
- Eco-Score
- Nutri-Score
- NOVA groups - ultra-processed foods
- Translated, high-level and customizable product information (Attributes API)
- Product completion status
- Open Food Facts Events API (Gamification)
PERSONALIZATION - Features to port from the old mobile app or implement
- Recommended Daily Intakes
- Translated, high-level and customizable product information (Attributes) #23
- Autocompleting for the user inputs, by giving suggestions for (Labels, categories, ingredients, additives, traces ...) #24
Search-a-licious - Features to implement
SEARCH V2 - Features to port from the old mobile app
- search products by tags
- search products with / without additives
- search products with keywords
- Personalized search
Search V2 - Tag types - Features to port from the old mobile app or implement
- tag:brands - possible values: infinite, json taxo but no autosuggest
- tag:categories - possible values: finite, json taxo + autosuggest + partial taxo API
- tag:packaging - display:packaging - packaging
- tag:labels - possible values: finite, json taxo + autosuggest + partial taxo API
- tag:origins - display:origins of ingredients - origins of ingredients
- tag:manufacturing_places - display:manufacturing or processing places - manufacturing or processing places
- tag:emb_codes - display:packager codes - packager codes
- tag:purchase_places - display:purchase places - purchase places
- tag:stores - display:stores - stores
- tag:countries - possible values: finite (190), json taxo + autosuggest + partial taxo API
- tag:ingredients -possible values: finite, json taxo + autosuggest + partial taxo API
- tag:additives - possible values: finite, json taxo + autosuggest + partial taxo API
- tag:allergens - possible values: finite, json taxo + autosuggest + partial taxo API
- tag:traces - possible values: finite, json taxo + autosuggest + partial taxo API
- tag:nutrition_grades possible values: finite (a,b,c,d,e) , json taxo + autosuggest + partial taxo API
- #539
- tag:languages - possible values: finite, json taxo + autosuggest + partial taxo API
- tag:creator - possible values: infinite - we can't really suggest anything (or we have to rely on the facet)
- tag:editors - possible values: infinite - we can't really suggest anything (or we have to rely on the facet)
- tag:states - possible values: finite, json taxo + autosuggest + partial taxo API
WRITE - Features to port from the old mobile app or implement
Machine Learning/Robotoff - Features to port from the old mobile app or implement
- Add logos & labels support to the SDK
- Add language detection support to the SDK
OCR - Features to port from the old mobile app or implement
- Allow to get the OCR of the ingredients photo (for validation purposes)
Roadmap - Features to port from the old mobile app or implement
- List of new APIs to implement: https://github.com/openfoodfacts/api-documentation/issues
- New APIs: https://github.com/openfoodfacts/api-documentation/issues?q=is%3Aissue+is%3Aopen+label%3A%22new+api+to+document%22
- Existing APIs: https://github.com/openfoodfacts/api-documentation/
Reacted by Chris Hatton and Harold José
Sub-issues
Collapse Sub-issuesSub-issues
Loading 14 sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsUntriaged backlog
Activity
[-]What can I work on ? (openfoodfacts-kotlin)[/-][+]🎯 What can I work on ? (openfoodfacts-kotlin)[/+]mainrs commentedon Mar 13, 2025
Hey!
I work on a health app in my free time. It uses the Health Connect API to store data and targets Android14 devices. Basic tracking functionality already works!
I wanted to integrate OpenFoodFacts to make calories tracking easier. I am specifically interested in API endpoints that allow me to lookup products by code.
I maintain a fork of this library as a submodule that I update frequently to include V2 endpoints. Is there any interest to get this merged upstream? I also use the Ktor client framework, but rely on ktor resources for route definitions and query parameters. It helps keeping the code organized. Current endpoints I have implemented are search by tags and I am currently integrating personal search.
What would be a good approach to incorporate these into upstream? Would it be easier to squash the commits that implement a feature into a single patch file and submit it for review? Thank you!