Native version of Open Food Facts on Android - Coders & Decoders welcome 🤳🥫
Open Food Facts is collaborative food products database made by everyone, for everyone. Open Food Facts contributors gathers information and data on food products from around the world, using mobile apps.
⚠️ WARNING
The new Open Food Facts app is located HERE
Note: This codebase is currently only deployed for Open Beauty Facts, Open Pet Food Facts and Open Products Facts apps.
Open Food Facts is a database of food products with ingredients, allergens, nutrition facts… which allow us to compute scores like Nutri-Score, NOVA groups and Eco-Score.
Open Food Facts is a non-profit association of volunteers. 25000+ contributors like you have added 3M+ products from 150 countries using our Android or iPhone apps to scan barcodes and upload pictures of products and their labels.
Data about food is of public interest and has to be open. The complete database is published as open data and can be reused by anyone.
Visual documentation of the App on Figma
The documentation is generated automatically from the source code and your improvements to code documentation are published automatically. Code documentation on GitHub pages
Here are issues and feature requests you can work on:
Open Food Facts on Android has 0,5M users and 1,6M products. Each contribution you make will have a large impact on food transparency worldwide. Finding the right issue or feature will help you have even more more impact. Feel free to ask for feedback on the #android channel before you start work, and to document what you intend to code.
If you don't have time to contribute code, you're very welcome to
You can help translate Open Food Facts and the app at (no technical knowledge required, takes a minute to signup):
https://translate.openfoodfacts.org
Choose the right flavor | Install steps |
---|---|
* Download the latest Android Studio stable build. * If you are running the app for the first time, Android Studio will ask you to install the Gradle dependencies. * If you are a new contributor to open-source, we recommend you read our Setup Guidelines * In Android Studio, make sure to select OFF as the default flavor for Open Food Facts (OBF is Open Beauty Facts, OPF - Open Products Facts, OPFF - Open Pet Food Facts) * You should be able to install Open Food Facts on your phone using an USB cable, or run it in an emulator. * The package name on the Play Store is org.openfoodfacts.scanner. For historic reasons, it's openfoodfacts.github.scrachx.openfood in the code and on F-Droid. |
The project uses Fastlane to automate release and screenshots generation.
bundle install
at the root of the project.bundle exec fastlane release
(for example the release lane).If you're new to open-source, we recommend to checkout our Contributing Guidelines. Feel free to fork the project and send a pull request.
If you spot any libraries we added or we don't use anymore, feel free to update this list using a Pull Request.
Big thanks to their contributors!
Copyright 2016-2022 Open Food Facts
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The project was initially started by Scot Scriven, other contributors include: