The survivalist AI that helps you eat, grow, and live independently.
"In the coming years, the gap between those who have money and those who don't will widen.
Food will come from the land again. This system automates self-sufficiency for everyone."
— Sylvain Galliez, creator
A complete food autonomy management system combining inventory tracking, nutrition, garden planning, mushroom cultivation, water management, medicinal plants, fruit trees, soil analysis, and emergency preparedness.
100% free. 100% open-source. 100% low-tech compatible.
| # | Module | Description |
|---|---|---|
| 1 | 📦 Stock | 8 storage zones (dry, canned, frozen, sous-vide, water, emergency...) with expiration tracking |
| 2 | 🥗 Nutrition | Personalized macros, meal suggestions based on available stock |
| 3 | 🐱 Animals | Pet food tracking, ration calculation |
| 4 | 🐛 Production | Mealworms, quail, aquaponics (trout), spirulina, duckweed |
| 5 | 🌱 Garden | Planting calendar, weather integration, crop rotation |
| 6 | 🍄 Mushrooms | Shiitake, oyster, hedgehog — low-tech substrate recipes |
| 7 | 🌿 Spirulina + Duckweed | Exponential protein production, feed calculator |
| 8 | 🔄 Homemade Feed | Granule calculator (spirulina + worms + garden + eggshells) → quail, chicken, trout |
| 9 | 📦 Preservation | Dehydration, canning, lacto-fermentation, cider |
| 10 | 🍎 Cider | Apple variety selection, yield calculator |
| 11 | 🌾 Miscanthus | Biomass for heating, mulch, animal bedding, mushroom substrate |
| 12 | 💧 Water | Rain collection, tank levels, leak alerts, autonomy forecasts |
| 13 | 🌿 Medicinal Plants | Soapmaking (ivy saponin), lavender varieties, Mediterranean herbs |
| 14 | 🌸 Edible Flowers | 9 varieties with taste, season, and use |
| 15 | 🍒 Fruit Trees | 11 species with soil compatibility and yield |
| 16 | 🧪 Soil Analysis | pH, organic matter, soil life, DIY tests |
⚡ Power outage detected (via Home Assistant)
→ Calculate remaining autonomy (food + water + energy)
→ Daily survival recommendations
→ Target: 14-21 days of full autonomy
# Clone
git clone https://github.com/zedarvates/gardemanger
cd gardemanger
# Run with Docker
docker compose up -d
# Or run directly
python3 server.py
# API available at http://localhost:8770| Endpoint | Description |
|---|---|
GET /health |
Service status |
GET /api/stats |
Global stats (products, alerts, expirations) |
GET /api/produits?zone=sec |
Products by zone |
GET /api/produits/alerte |
Low stock alerts |
GET /api/produits/perime |
Expiring soon |
GET /api/nutrition/sylvain |
Sylvain's macros |
GET /api/animaux |
Animals |
GET /api/champignons |
Mushrooms inventory |
GET /api/champignons/substrats |
Low-tech substrate recipes |
GET /api/spiruline |
Spirulina measurements |
GET /api/lentille |
Duckweed measurements |
GET /api/granules/calculateur |
Animal feed calculator |
GET /api/conservation/methodes |
Preservation methods |
GET /api/cidre/calculateur |
Cider yield calculator |
GET /api/miscanthus/calculateur |
Miscanthus biomass calculator |
GET /api/eau/status |
Water tanks status |
GET /api/eau/previsions |
Water autonomy forecasts |
GET /api/plantes/medicinales |
Medicinal plants |
GET /api/plantes/savon |
Saponin plants (soap) |
GET /api/plantes/lavande |
Lavender varieties |
GET /api/fleurs |
Edible flowers |
GET /api/fruitiers |
Fruit trees |
GET /api/fruitiers/compatibles/argilo-calcaire |
Trees for your soil |
GET /api/sol/recommandations |
Soil analysis guide |
GET /api/survie |
Emergency autonomy status |
Copy ha_config.yaml to your Home Assistant configuration.yaml for:
- Stock level sensors per zone
- Water tank sensors
- Low stock alerts
- Expiration notifications
python3 telegram_notifier.pySends morning reports (expiring products, water status, garden tasks) and emergency alerts.
SUN → Spirulina + Duckweed + Garden
↓
Homemade Feed (spirulina + duckweed + mealworms + eggshells)
↓
Quails / Chickens / Trout → Eggs / Meat / Aquaponics
↓
Human + Cat → Kitchen Waste
↓
Mushroom Substrate + Compost → Garden → (loop)
Zero waste. Zero purchases. Full autonomy.
This project is designed for the real world. If you have survival knowledge, gardening tips, or preservation techniques — contribute!
MIT — Sylvain Galliez — zedarvates
If this project helps you survive, pay it forward. Teach someone else to garden. 🌱