A clean, minimal web app for browsing 45 FODMAP-friendly, spicy recipes from around the world.
Live: https://pcleddy.github.io/fodmap
- 45 recipes across Thai, Indian, Japanese, Chinese, Korean, Indonesian, Mediterranean, and Guam cuisines
- All recipes are low-FODMAP (no garlic/onion, ginger-forward)
- Vegan and non-vegan options
- Spice levels: mild → very hot
- Expandable/collapsible ingredient and instruction sections
- Sidebar navigation through all recipes
Thai: Pad Thai, Tom Yum, Panang Curry, Pad Krapow, Som Tam, Green Curry Indian: Chickpea Curry, Tofu Vindaloo, Chana Masala, Tandoori Fish, Chicken Tikka Masala, Sambar, Instant Pot Masala Japanese: Okonomiyaki, Yakitori, Miso Ramen, Gyudon Chinese: Hot Pot, Mapo Tofu, Kung Pao Chicken, Dan Dan Noodles, Chongqing Chicken Korean: Bibimbap, Tteokbokki, Bulgogi, Dakgangjeong, Kimchi Fried Rice Indonesian: Rendang, Gado-Gado, Satay, Sambal Oelek Stir-Fry Mediterranean: Salmon, Cod, Halibut, Roasted Chicken, Quinoa Salad Guam: Red Rice, BBQ Chicken, Spicy Shrimp Asian: Stir-fries, Fried Rice, Rice Bowls, Shrimp
The app loads recipes dynamically from recipes.json. Local file:// URLs don't support fetch() due to CORS, so use a local server:
Python 3:
python3 -m http.server 8000Python 2:
python -m SimpleHTTPServer 8000Node:
npx http-serverThen visit http://localhost:8000
- Create a new repo:
gh repo create fodmap --public - Clone it:
gh repo clone fodmap && cd fodmap - Add both files:
cp /path/to/index.html . cp /path/to/recipes.json .
- Commit and push:
git add index.html recipes.json README.md git commit -m "Add FODMAP recipe app" git push -u origin main - Enable Pages in repo settings → Pages → Deploy from main branch → Save
Your app will be live at: https://yourusername.github.io/fodmap
fodmap/
├── index.html # UI + JavaScript (loads recipes dynamically)
├── recipes.json # All 45 recipes with ingredients & steps
└── README.md # This file
index.htmlfetchesrecipes.jsonon page load- Recipes render dynamically in JavaScript
- Click any recipe in the sidebar to view details
- Ingredients and instructions sections expand/collapse
Edit recipes.json and add an entry:
{
"id": 46,
"title": "Your Recipe Name",
"cuisine": "Cuisine",
"servings": 2,
"time": 30,
"vegan": true,
"spice": "medium",
"ingredients": [
{ "name": "ingredient", "amount": "1 cup" }
],
"steps": [
"Step 1",
"Step 2"
]
}Edit the <style> block in index.html. Colors, fonts, layout are all CSS variables.
These recipes avoid:
- Garlic and onions (use ginger as substitute)
- High-fructose fruits
- Wheat (uses tamari instead)
- Most legumes (chickpeas in moderation)
All recipes use garlic-infused oil or ginger for flavor instead of fresh garlic/onion.
Works in all modern browsers (Chrome, Firefox, Safari, Edge). Requires ES6 JavaScript support.
Public domain — use freely, modify as you like.