No foods yet. Add one, pull from Firestore, or use Batch Import.
β‘ USDA Foundation Foods Batch Processor
Download CSV zips from fdc.nal.usda.gov/download-datasets (Foundation Foods CSV).
Mira boot checks twice a year (01/01 and 06/01 β American dates) if a newer release than 04/30/2026 exists; downloads to Archive/nutrition_heavy/usda_downloads/ when needed.
Joins locally β no API calls, no rate limits β averages all samples of the same food description, then pushes clean entries to Firestore master_foods. Required: food.csv + food_nutrient.csv + nutrient.csv | Optional: food_portion.csv (adds cup measurements)
π·οΈ 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.
β
Unique Foods
β
Total FDC IDs
0
Processed
0
Pushed
0
Errors
Ready. Upload the required CSV files, then click Parse 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.