No foods yet. Add one, pull from Firestore, or use Batch Import.
β‘ USDA Foundation Foods Batch Processor
Download Foundation Foods β April 2026 (CSV) from fdc.nal.usda.gov/download-datasets (~32 MB unzipped).
This is its own dataset β not SR Legacy. Upload only files from the Foundation Foods zip into the zones below.
Parser averages samples by description, pushes every food to Firestore master_foods with _source: USDA_Foundation (~2,700). Phone browse + macro-light.json. Required: food.csv + food_nutrient.csv + nutrient.csv | Optional: food_portion.csv (adds cup measurements)
Ready. Upload Foundation CSV files, then click Parse to begin.
β‘ USDA SR Legacy Foods Batch Processor
Download SR Legacy β April 2018 (CSV) from fdc.nal.usda.gov/download-datasets (~54 MB unzipped). Separate zip β not Foundation Foods.
Staging folder: Archive/nutrition_heavy/usda_downloads/β¦/sr_legacy/
Parser pushes every food with _source: USDA_SR_Legacy (~7,700) β online search (search-sr_legacy.json), not the phone browse window. Required: food.csv + food_nutrient.csv + nutrient.csv | Optional: food_portion.csv
π
food.csv
Required Β· from SR Legacy zip only
π¬
food_nutrient.csv
Required Β· fdc_id + nutrient_id + amount
π
nutrient.csv
Required Β· nutrient_id β name lookup
π₯
food_portion.csv
Optional Β· grams per cup data
β
Unique Foods
β
Total FDC IDs
0
Processed
0
Pushed
0
Errors
Ready. Upload SR Legacy CSV files (April 2018 zip), then click Parse to begin.
π·οΈ FDC Branded Foods Importer β with Barcode (gtinUpc)
Upload branded_food.csv from the Branded Foods CSV download at fdc.nal.usda.gov/download-datasets.
Also requires food.csv and food_nutrient.csv from the same download.
Extracts gtinUpc barcode, brand name, and macros. Pushes to master_foods with _source: USDA_Branded.
π·οΈ
branded_food.csv
Required Β· fdc_id + gtinUpc + brand
π
food.csv
Required Β· fdc_id + description
π¬
food_nutrient.csv
Required Β· fdc_id + nutrient_id + amount
π
nutrient.csv
Required Β· nutrient_id β name lookup
β
Unique Foods
β
With Barcode
0
Processed
0
Pushed
0
Errors
Ready. Upload branded_food.csv, food.csv, food_nutrient.csv, and nutrient.csv to begin.
π¦ Export Two-Tier Food JSON
Exports master_foods from Firestore into two compressed JSON files for embedding in Victis Light. Macro JSON β calories, protein, carbs, fat, fiber, sugar, sodium β embedded in app at build time, works offline forever. Micro JSON β 14 mineral and vitamin fields β optional pull, cached in localStorage after first download.
β
Total Foods
β
Macro JSON Size
β
Micro JSON Size
β
With Cup Data
β
USDA Verified
Ready. Pull from Firestore to generate export files.
How to embed in Victis Light:
1. Download both JSON files
2. Place victis_foods_macro.json in D:\Firestorm-Scripts\
3. Place victis_foods_micro.json in D:\Firestorm-Scripts\
4. The build script reads macro JSON and embeds it as a base64 string in the Light shell
5. Micro JSON is uploaded to Firebase Storage β Light pulls it once on demand
π§ Play Store launch list
Signups from victis.systems are stored in R2 and sent through Cloudflare Email Service (not Brevo).
Dry-run first to see how many people match a tag, then send the launch email when you are ready.