Downloads
The Hefta apps download exercise demo clips and food data from this server. They are our edited copies of openly licensed work, so we publish them here under the same licences. You can download, reuse and share them on the terms of each licence below.
Exercise demo clips
Clips by Goulart, from wger.de, licensed under CC BY-SA 4.0. We cut each one to a single loop, converted it to standard dynamic range, scaled it to 480p and removed the sound. Our edited clips are licensed under CC BY-SA 4.0 too.
Loading the list…
The exercise drawings come from Everkinetic (based on everkinetic.com by Greg Priday), licensed under CC BY-SA 4.0. We removed the white background and rewrote the path data without changing the shapes. Our edited drawings are licensed under CC BY-SA 4.0 too: exercise-drawings.json, one entry per exercise with its SVG path frames and credit.
Food data
Generic foods combine these sources:
- U.S. Department of Agriculture, Agricultural Research Service. FoodData Central: FNDDS 2021–2023 and SR Legacy (2018). Public domain (CC0 1.0). SR Legacy gives the ingredient values of our own Thai recipes.
- McCance and Widdowson's Composition of Foods Integrated Dataset 2021. Contains public sector information licensed under the Open Government Licence v3.0.
- Anses. 2025. Ciqual French food composition table. Licence Ouverte 2.0.
- Yeo PLQ, Bi X, Yeo MTY, Henry CJ. Energy Content and Nutrient Profiles of Frequently Consumed Meals in Singapore. Foods 2021, 10(7), 1659 (doi:10.3390/foods10071659). © 2021 by the authors, CC BY 4.0. Changed by us: energy in kcal instead of kJ, values per serving from the paper's portion weights, names written and translated.
Packaged products, one file per country, contain information from Open Food Facts, which is made available under the Open Database License (ODbL) 1.0. Each file is a derivative database: the products sold in that country, with fewer fields. We offer it under ODbL 1.0.
Loading the list…
Search in the apps and in our chat bot reads a larger copy on our server, also a derivative
database of Open Food Facts that we offer under ODbL 1.0. Here is how we make it from Open Food Facts' full
export, so you can make the same one (ODbL §4.6). We add no data of our own. The current copy comes from the
export of 11 November 2026 (en.openfoodfacts.org.products.csv.gz, SHA-256
818d0e7478d1a4fac4a7c572c184733c21c02e20a70917a0d815634b109655b1), 1,305,114 products. For a copy of
that exact file, free, write to [email protected].
- Keep a product when it has a barcode, a name, and energy, protein, carbohydrate and fat per 100 g (energy in kcal, or kJ divided by 4.184), and the values are plausible: 0–900 kcal, each nutrient 0–100 g, the three together at most 105 g, and the energy no further from 4 kcal per gram of protein and carbohydrate plus 9 per gram of fat than 40 kcal or 35 % of the larger of the two, whichever is more.
- Of those, keep a product that Open Food Facts' app has scanned (
unique_scans_nabove 0) or that is sold in Thailand, Singapore or Malaysia. The first row for each barcode wins. - Keep these fields: barcode, name, first brand, countries (as ISO 3166 codes), energy, protein, carbohydrate,
fat, sugars and sodium per 100 g (rounded to 0.1, sodium in mg; sugars and sodium only from 0 to 100 g), the serving in grams
(rounded to 0.1, kept from above 0 up to 2,000 g), the serving size and quantity as written, the last-modified
time, the scan count, and each country's best scan rank from 2023 on in
popularity_tags(at most 20 countries). Names keep 200 characters, brands 100, the rest 64. Control characters are removed. - Add two search keys made from brand and name: one in lower case with Thai and full-width digits as 0–9, × as x, only letters and digits kept and Thai tone marks removed; and, when that has no Thai letters, the same with these spelling rules applied in order: aow→ao, ow→ao, gr→kr, kh→k, ph→p, th→t, ch→c, g→k, kra→ka, kre→ke, w→o, ee→i, oo→u, r removed, then each run of a repeated letter written once (with Thai letters, the second key is the first).
For apps and scripts
Each list above is read from a manifest with every file's path, size and SHA-256: /media/manifest.json and /media/food/manifest.json. File names carry a hash of their content, so a name never changes meaning.