This project is paused, due to the lack of volunteers. Please email contact at openfoodfacts dot org if you'd like us to unarchive it so that you can maintain it. The official native client of the Open Food Facts database for Ubuntu Touch devices.
- nymerea
- sy-per
This application is released under the term of the GNU GENERAL PUBLIC LICENSE Version 3.
See file gpl-3.0.txt for details.
Don't forget to install dependencies because the barcode detector uses static linkage
clickable.json
"dependencies": [
"libjpeg-dev",
"libzbar0",
"zbar-tools",
"libzbar-dev",
"libv4l-dev",
"libqrencode-dev"
]
}
If you want publish your application on smartphone, create your docker image manually and don't forget to install dependencies on your kit with Dockerfile
Dockerfile
FROM clickable/ubuntu-sdk:16.04-armhf
RUN apt update
RUN apt install -y libglib2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev
RUN apt install -y librsvg2-dev
RUN apt install -y libzbar-dev:armhf
RUN apt install -y libjpeg-dev:armhf
RUN apt install -y libv4l-dev:armhf
Terminal :
docker build ./ -t ut16.04-zbar
clickable.json
"docker_image":"ut16.04-zbar",
"dependencies": [
"libjpeg-dev:armhf",
"libzbar0:armhf",
"zbar-tools:armhf",
"libzbar-dev:armhf",
"libv4l-dev:armhf",
"libqrencode-dev:armhf"
]
}
The official documentation for API : https://openfoodfacts.github.io/openfoodfacts-server/api/
You can help translate Open Food Facts and the app at (no technical knowledge required, takes a minute to signup):
-
JSON formater (for visualising JSON data) : https://jsonformatter.curiousconcept.com/
-
How to read a JSON API in QML : https://morgan-durand.com/parser-une-api-json-dans-un-listview/
-
Navigate between pages with Ubuntu Touch : https://morgan-durand.com/creation-dune-application-ubuntu-jour-4/