'Anti-inflammatory Home remedies in Asthma' give the information with classical references for poster presentation on this topic as a PG scholar from the department of Kaumarabhritya
Tamaka Shwasa asthma Ayurveda classical references Charaka Sushruta anti-inflammatory home remedies Kaumarabhritya
Ayurvedic herbs anti-inflammatory asthma children
https://pmc.ncbi.nlm.nih.gov/articles/PMC3131777/
Tulsi Adhatoda Vasaka bronchial asthma anti-inflammatory
ginger turmeric honey asthma anti-inflammatory clinical trial
Tamaka Shwasa asthma Ayurveda herbs Tulsi Vasaka Kantakari
curcumin asthma anti-inflammatory
mkdir -p /home/daytona/workspace/kaumarabhritya-poster && ls /home/daytona/workspace/kaumarabhritya-poster/
~/kaumarabhritya-poster/create_poster.js
const pptxgen = require("pptxgenjs");
// Fetch images helper
const { execSync } = require("child_process");
function fetchImages(urls) {
try {
const result = execSync(
`node /home/daytona/skills/shared/scripts/fetch_images.js ${urls.map(u => `"${u}"`).join(" ")}`
).toString();
return JSON.parse(result);
} catch (e) {
console.error("Image fetch error:", e.message);
return urls.map(u => ({ url: u, base64: null, error: e.message }));
}
}
// Fetch the asthma pathophysiology image
const imageUrls = [
"https://cdn.orris.care/cdss_images/pmc_clinical_VQA_d73a19b509d91931f102143741d61751c4ddf666192b89e6ef9901711326507f.jpg",
"https://cdn.orris.care/cdss_images/pmc_clinical_VQA_f1332d400074c8fe7d7e4bcff6f48424d688cb4a1c443c14a16987950c409b9d.jpg"
];
const images = fetchImages(imageUrls);
const asthmaImg = images[0];
const ayurvedaImg = images[1];
// Color Palette — Deep forest green + saffron gold + cream
const DEEP_GREEN = "1A4A2E";
const SAFFRON = "E07B2A";
const LIGHT_SAFFRON = "F5A552";
const CREAM = "FDF6EC";
const WHITE = "FFFFFF";
const DARK_TEXT = "1C1C1C";
const MEDIUM_GREEN = "2D7A4F";
const LIGHT_GREEN = "EAF5EE";
const ACCENT_RED = "C0392B";
let pres = new pptxgen();
pres.layout = "LAYOUT_WIDE"; // 13.3 x 7.5 inches — portrait A0-like poster in landscape
pres.title = "Anti-inflammatory Home Remedies in Asthma";
pres.author = "PG Scholar, Dept of Kaumarabhritya";
// ─────────────────────────────────────────────
// SLIDE 1 — TITLE / BANNER
// ─────────────────────────────────────────────
let slide1 = pres.addSlide();
// Full dark green background
slide1.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: DEEP_GREEN }
});
// Decorative saffron top bar
slide1.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.15,
fill: { color: SAFFRON }
});
// Decorative saffron bottom bar
slide1.addShape(pres.ShapeType.rect, {
x: 0, y: 7.35, w: 13.3, h: 0.15,
fill: { color: SAFFRON }
});
// Left decorative strip
slide1.addShape(pres.ShapeType.rect, {
x: 0, y: 0.15, w: 0.12, h: 7.2,
fill: { color: LIGHT_SAFFRON }
});
// Right decorative strip
slide1.addShape(pres.ShapeType.rect, {
x: 13.18, y: 0.15, w: 0.12, h: 7.2,
fill: { color: LIGHT_SAFFRON }
});
// Om/lotus decorative circle top center
slide1.addShape(pres.ShapeType.ellipse, {
x: 5.9, y: 0.25, w: 1.5, h: 1.5,
fill: { color: SAFFRON }, line: { color: LIGHT_SAFFRON, width: 2 }
});
// OM symbol text in circle
slide1.addText("ॐ", {
x: 5.9, y: 0.3, w: 1.5, h: 1.3,
fontSize: 42, color: WHITE, bold: true,
align: "center", valign: "middle"
});
// Institution / dept label
slide1.addText("Department of Kaumarabhritya", {
x: 0.5, y: 1.9, w: 12.3, h: 0.45,
fontSize: 16, color: LIGHT_SAFFRON, bold: false,
align: "center", charSpacing: 3
});
// Main title
slide1.addText("Anti-Inflammatory Home Remedies", {
x: 0.5, y: 2.4, w: 12.3, h: 0.85,
fontSize: 40, color: WHITE, bold: true,
align: "center", glow: { size: 8, opacity: 0.4, color: SAFFRON }
});
// Subtitle
slide1.addText("in Asthma (Tamaka Shwasa)", {
x: 0.5, y: 3.25, w: 12.3, h: 0.7,
fontSize: 32, color: LIGHT_SAFFRON, bold: true,
align: "center"
});
// Horizontal rule
slide1.addShape(pres.ShapeType.line, {
x: 1.5, y: 4.1, w: 10.3, h: 0,
line: { color: SAFFRON, width: 2 }
});
// Subtitle detail
slide1.addText("A Classical Ayurvedic Perspective with Evidence-Based Insights", {
x: 0.5, y: 4.2, w: 12.3, h: 0.5,
fontSize: 16, color: CREAM, italic: true,
align: "center"
});
// Presenter info
slide1.addText("Presented by: PG Scholar (MD Kaumarabhritya) | Guide: Department Faculty", {
x: 0.5, y: 5.0, w: 12.3, h: 0.4,
fontSize: 13, color: LIGHT_SAFFRON,
align: "center"
});
// Institution
slide1.addText("Ayurvedic Medical College & Hospital", {
x: 0.5, y: 5.45, w: 12.3, h: 0.35,
fontSize: 14, color: CREAM, bold: true,
align: "center"
});
// Bottom row of herb names
const herbs = ["Tulsi", "Haridra", "Shunti", "Vasaka", "Kantakari", "Pippali", "Honey", "Garlic"];
const herbX = [0.3, 1.85, 3.4, 4.95, 6.5, 8.05, 9.6, 11.15];
herbs.forEach((h, i) => {
slide1.addShape(pres.ShapeType.roundRect, {
x: herbX[i], y: 6.2, w: 1.4, h: 0.55,
fill: { color: MEDIUM_GREEN }, line: { color: SAFFRON, width: 1 },
rectRadius: 0.1
});
slide1.addText(h, {
x: herbX[i], y: 6.2, w: 1.4, h: 0.55,
fontSize: 11, color: CREAM, bold: true,
align: "center", valign: "middle"
});
});
// ─────────────────────────────────────────────
// SLIDE 2 — INTRODUCTION + NIDANA + SAMPRAPTI
// ─────────────────────────────────────────────
let slide2 = pres.addSlide();
// Background
slide2.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: CREAM }
});
// Header bar
slide2.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.7,
fill: { color: DEEP_GREEN }
});
slide2.addText("INTRODUCTION TO TAMAKA SHWASA (Bronchial Asthma)", {
x: 0.2, y: 0, w: 12.9, h: 0.7,
fontSize: 18, color: WHITE, bold: true,
align: "center", valign: "middle"
});
// Left column header: Classical Context
slide2.addShape(pres.ShapeType.rect, {
x: 0.15, y: 0.8, w: 4.0, h: 0.45,
fill: { color: SAFFRON }
});
slide2.addText("Classical Context", {
x: 0.15, y: 0.8, w: 4.0, h: 0.45,
fontSize: 13, color: WHITE, bold: true,
align: "center", valign: "middle"
});
slide2.addShape(pres.ShapeType.rect, {
x: 0.15, y: 1.25, w: 4.0, h: 3.5,
fill: { color: WHITE }, line: { color: MEDIUM_GREEN, width: 1 }
});
const classicalLines = [
{ text: "✦ Shwasa Roga: 5 types described in classical texts", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "• Maha Shwasa (Great dyspnoea)", options: { breakLine: true } },
{ text: "• Urdhva Shwasa (Upward breathlessness)", options: { breakLine: true } },
{ text: "• Chinna Shwasa (Cheyne-Stokes)", options: { breakLine: true } },
{ text: "• Kshudra Shwasa (Minor dyspnoea)", options: { breakLine: true } },
{ text: "• Tamaka Shwasa ✦ (Bronchial Asthma)", options: { breakLine: true, bold: true, color: SAFFRON } },
{ text: "", options: { breakLine: true } },
{ text: "Reference: Charaka Samhita, Chikitsa Sthana 17/14-16", options: { italic: true, color: MEDIUM_GREEN, breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "Prognosis (Sadhyasadhyata):", options: { bold: true, breakLine: true } },
{ text: "Yapya (manageable/palliable) in chronic stage", options: { breakLine: true } },
{ text: "Sadhya (curable) in early / acute stage", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "Adhishtana: Uras (Thorax / Chest)", options: { breakLine: true } },
{ text: "Srotas: Pranavaha Srotas", options: { breakLine: true } },
{ text: "Udbhavasthana: Amashaya (Pittasthana)", options: { breakLine: true } },
];
slide2.addText(classicalLines, {
x: 0.2, y: 1.3, w: 3.9, h: 3.4,
fontSize: 9.5, color: DARK_TEXT, valign: "top"
});
// Middle column: Nidana
slide2.addShape(pres.ShapeType.rect, {
x: 4.35, y: 0.8, w: 4.3, h: 0.45,
fill: { color: DEEP_GREEN }
});
slide2.addText("Nidana (Causative Factors)", {
x: 4.35, y: 0.8, w: 4.3, h: 0.45,
fontSize: 13, color: WHITE, bold: true,
align: "center", valign: "middle"
});
slide2.addShape(pres.ShapeType.rect, {
x: 4.35, y: 1.25, w: 4.3, h: 3.5,
fill: { color: WHITE }, line: { color: DEEP_GREEN, width: 1 }
});
const nidanaLines = [
{ text: "AHARA (Dietary):", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "• Ruksha (dry foods), Abhishyandi (channel-blocking foods)", options: { breakLine: true } },
{ text: "• Guru (heavy) food, Ama Kshira (unboiled milk)", options: { breakLine: true } },
{ text: "• Dadhi (curd), Masha (black gram)", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "VIHARA (Lifestyle):", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "• Sheetasthana (cold places), Sheeta jala (cold water)", options: { breakLine: true } },
{ text: "• Dhuma (smoke), Rajah (dust) exposure", options: { breakLine: true } },
{ text: "• Ativyayama (excessive exercise)", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "NIDANARTHAKARA VYADHI:", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "• Pratishyaya (rhinitis), Kaasa (cough)", options: { breakLine: true } },
{ text: "• Jwara (fever), Visuchika (gastroenteritis)", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "Ref: CS Chikitsa 17/5-8; AH Nidana 4/1-3", options: { italic: true, color: MEDIUM_GREEN } },
];
slide2.addText(nidanaLines, {
x: 4.4, y: 1.3, w: 4.2, h: 3.4,
fontSize: 9.5, color: DARK_TEXT, valign: "top"
});
// Right column: Samprapti & Lakshana
slide2.addShape(pres.ShapeType.rect, {
x: 8.85, y: 0.8, w: 4.3, h: 0.45,
fill: { color: MEDIUM_GREEN }
});
slide2.addText("Samprapti & Lakshana", {
x: 8.85, y: 0.8, w: 4.3, h: 0.45,
fontSize: 13, color: WHITE, bold: true,
align: "center", valign: "middle"
});
slide2.addShape(pres.ShapeType.rect, {
x: 8.85, y: 1.25, w: 4.3, h: 3.5,
fill: { color: WHITE }, line: { color: MEDIUM_GREEN, width: 1 }
});
const sampraptiLines = [
{ text: "SAMPRAPTI GHATAKA:", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "• Dosha: Vata + Kapha (Pradhana)", options: { breakLine: true } },
{ text: "• Dushya: Rasadhatu", options: { breakLine: true } },
{ text: "• Srotas: Pranavaha, Udakavaha, Annavaha", options: { breakLine: true } },
{ text: "• Sroto dushti: Sanga + Vimargagamana", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "LAKSHANA (Symptoms):", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "• Shwasa (dyspnoea) — difficulty in breathing", options: { breakLine: true } },
{ text: "• Ghurghuraka (audible wheeze/ronchi)", options: { breakLine: true } },
{ text: "• Sheetadveshi — relief in warm environment", options: { breakLine: true } },
{ text: "• Pratiloma vata — upward movement of Vata", options: { breakLine: true } },
{ text: "• Vishushka-vaktra — dry mouth / throat", options: { breakLine: true } },
{ text: "• Parshva ruk — chest / flank pain", options: { breakLine: true } },
{ text: "• Pratamaka — syncope if severe", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "Ref: CS Chikitsa 17/56-58; SS Uttar 51", options: { italic: true, color: MEDIUM_GREEN } },
];
slide2.addText(sampraptiLines, {
x: 8.9, y: 1.3, w: 4.2, h: 3.4,
fontSize: 9.5, color: DARK_TEXT, valign: "top"
});
// Samprapti flow arrow box at bottom
slide2.addShape(pres.ShapeType.rect, {
x: 0.15, y: 4.9, w: 12.95, h: 1.5,
fill: { color: LIGHT_GREEN }, line: { color: MEDIUM_GREEN, width: 1 }
});
slide2.addText("SAMPRAPTI FLOWCHART (CS Chikitsa 17/14–16)", {
x: 0.3, y: 4.92, w: 12.7, h: 0.35,
fontSize: 11, color: DEEP_GREEN, bold: true, align: "center"
});
const steps = [
"Nidana Sevana",
"Agnimandhya\n(↓ Digestive fire)",
"Ama + Dosha\nDushti (Vata-Kapha)",
"Pranavaha Sroto\nDushti (Sanga)",
"Kapha Avrana\nto Prana Vayu",
"Vata Prakopa\n+ Vimargagamana",
"TAMAKA\nSHWASA"
];
const boxW = 1.7, boxH = 0.9;
const startX = 0.25;
const stepY = 5.35;
steps.forEach((s, i) => {
const fillCol = i === steps.length - 1 ? SAFFRON : (i % 2 === 0 ? MEDIUM_GREEN : DEEP_GREEN);
slide2.addShape(pres.ShapeType.roundRect, {
x: startX + i * 1.82, y: stepY, w: boxW, h: boxH,
fill: { color: fillCol }, rectRadius: 0.08
});
slide2.addText(s, {
x: startX + i * 1.82, y: stepY, w: boxW, h: boxH,
fontSize: 8, color: WHITE, bold: i === steps.length - 1,
align: "center", valign: "middle"
});
if (i < steps.length - 1) {
slide2.addText("→", {
x: startX + i * 1.82 + boxW, y: stepY + 0.25,
w: 0.12, h: 0.4, fontSize: 14, color: DEEP_GREEN, bold: true
});
}
});
// ─────────────────────────────────────────────
// SLIDE 3 — MAIN REMEDIES
// ─────────────────────────────────────────────
let slide3 = pres.addSlide();
slide3.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: CREAM }
});
slide3.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.7,
fill: { color: DEEP_GREEN }
});
slide3.addText("ANTI-INFLAMMATORY HOME REMEDIES — CLASSICAL DRAVYA", {
x: 0.2, y: 0, w: 12.9, h: 0.7,
fontSize: 18, color: WHITE, bold: true,
align: "center", valign: "middle"
});
// 8 remedy cards — 4 per row
const remedies = [
{
name: "1. Tulsi (Ocimum sanctum)",
sanskrit: "तुलसी",
rasa: "Katu, Tikta Rasa | Ushna Virya | Laghu, Ruksha",
action: "Anti-inflammatory, Immunomodulator, Bronchodilator",
ref: "CS Sutra 27 | AH Sutra 6/159",
use: "Dose: 5-10 ml fresh leaf juice + honey, BD\nOr: 5-7 leaves + black pepper decoction",
mechanism: "Inhibits COX-2, ↓IL-4, ↓IgE; acts on Kaphahar + Vatanulomana",
color: MEDIUM_GREEN
},
{
name: "2. Haridra (Curcuma longa)",
sanskrit: "हरिद्रा",
rasa: "Tikta, Katu Rasa | Ushna Virya | Laghu, Ruksha",
action: "Potent Anti-inflammatory, Immunomodulator, Antioxidant",
ref: "CS Sutra 4/9 | AHR Sutra 6/167",
use: "Dose: 1-2 g powder + warm milk (Kshirpaka), BD\nHaridra Khand (Classical formulation)",
mechanism: "Curcumin: ↓NF-κB, ↓Mast cell degranulation, ↓Leukotrienes",
color: SAFFRON
},
{
name: "3. Vasaka (Adhatoda vasica)",
sanskrit: "वासा",
rasa: "Tikta, Kashaya | Sheeta Virya | Laghu, Ruksha",
action: "Bronchodilator, Anti-inflammatory, Expectorant (Kasahara)",
ref: "CS Chikitsa 17/96 | AH Chikitsa 4/14",
use: "Dose: 10-20 ml leaf juice, TDS\nVasarishta / Vasa Avaleha — classical yoga",
mechanism: "Vasicine: bronchospasmolytic; ↓airway inflammation",
color: DEEP_GREEN
},
{
name: "4. Kantakari (Solanum xanthocarpum)",
sanskrit: "कण्टकारी",
rasa: "Tikta, Katu | Ushna Virya | Laghu, Ruksha",
action: "Anti-asthmatic, Anti-inflammatory, Shwasahara",
ref: "CS Sutra 4 (Shwasahara Mahakashaya) | AH Chikitsa 4",
use: "Dose: 5-10 g decoction (Kantakari Kwatha)\nKantakaryadi Kwatha — classical compound",
mechanism: "Solanine alkaloids: bronchodilation, ↓histamine",
color: MEDIUM_GREEN
},
{
name: "5. Shunti (Zingiber officinale)",
sanskrit: "शुण्ठी",
rasa: "Katu | Ushna Virya | Laghu, Snigdha",
action: "Anti-inflammatory, Mucolytic, Vata-Kapha Shamaka",
ref: "CS Sutra 4 | DGV: Shunti guna",
use: "Dose: 1-2 g dry ginger powder + honey, OD morning\nShunti Swarasa: 5 ml + tulsi + honey",
mechanism: "6-gingerol: ↓PGE2, ↓TNF-α, ↓IL-6; mucokinetic",
color: SAFFRON
},
{
name: "6. Pippali (Piper longum)",
sanskrit: "पिप्पली",
rasa: "Katu | Anushna Virya | Laghu, Tikshna",
action: "Immunomodulator, Bronchodilator, Rasayana",
ref: "CS Chikitsa 17 | AH Uttara 4 (Shwasahara)",
use: "Pippali Vardhaman Rasayana (classical protocol)\nDose: 125-250 mg + honey + ghee, BD",
mechanism: "Piperine: ↓IgE synthesis, enhances bioavailability",
color: DEEP_GREEN
},
{
name: "7. Madhu (Honey)",
sanskrit: "मधु",
rasa: "Madhura, Kashaya | Sheeta Virya | Laghu, Ruksha",
action: "Kaphaghna, Srotoshodhaka, Anupana for Shwasa drugs",
ref: "CS Sutra 27/242 | AH Sutra 5/44",
use: "Anupana (vehicle) for most anti-asthmatic formulations\n5 ml + warm water, or with Pippali churna",
mechanism: "H₂O₂, methylglyoxal: anti-inflammatory + antimicrobial",
color: MEDIUM_GREEN
},
{
name: "8. Yashti Madhu (Glycyrrhiza glabra)",
sanskrit: "यष्टीमधु",
rasa: "Madhura | Sheeta Virya | Guru, Snigdha",
action: "Anti-inflammatory, Expectorant, Throat-soothing",
ref: "CS Sutra 4 (Kasahara gana) | SS Sutra 38",
use: "Dose: 3-5 g powder + honey, BD (Khadiradivati-like)\nSitophaladi churna — contains Yashti",
mechanism: "Glycyrrhizin: ↓Cortisol metabolism → ↓Airway inflammation",
color: SAFFRON
}
];
const colW = 3.2, rowH = 3.1;
const col_starts = [0.1, 3.35, 6.6, 9.85];
const row_starts = [0.8, 4.0];
remedies.forEach((r, i) => {
const col = i % 4;
const row = Math.floor(i / 4);
const x = col_starts[col];
const y = row_starts[row];
// Card background
slide3.addShape(pres.ShapeType.roundRect, {
x, y, w: colW, h: rowH - 0.1,
fill: { color: WHITE }, line: { color: r.color, width: 1.5 },
rectRadius: 0.1
});
// Color header
slide3.addShape(pres.ShapeType.roundRect, {
x, y, w: colW, h: 0.52,
fill: { color: r.color },
rectRadius: 0.1
});
// Herb name
slide3.addText(r.name, {
x: x + 0.05, y: y + 0.02, w: colW - 0.1, h: 0.5,
fontSize: 9, color: WHITE, bold: true,
align: "left", valign: "middle"
});
// Sanskrit name (right side of header)
slide3.addText(r.sanskrit, {
x: x + colW - 0.7, y: y + 0.02, w: 0.65, h: 0.5,
fontSize: 12, color: CREAM, bold: false,
align: "right", valign: "middle"
});
// Card body content
const bodyLines = [
{ text: "Guna/Rasa: ", options: { bold: true, color: r.color, breakLine: false } },
{ text: r.rasa, options: { breakLine: true } },
{ text: "Action: ", options: { bold: true, color: r.color, breakLine: false } },
{ text: r.action, options: { breakLine: true } },
{ text: "Ref: ", options: { bold: true, color: MEDIUM_GREEN, breakLine: false } },
{ text: r.ref, options: { italic: true, breakLine: true } },
{ text: "Usage: ", options: { bold: true, color: r.color, breakLine: false } },
{ text: r.use, options: { breakLine: true } },
{ text: "Mechanism: ", options: { bold: true, color: DARK_TEXT, breakLine: false } },
{ text: r.mechanism, options: { italic: true, breakLine: true } },
];
slide3.addText(bodyLines, {
x: x + 0.07, y: y + 0.54, w: colW - 0.14, h: rowH - 0.68,
fontSize: 7.8, color: DARK_TEXT, valign: "top"
});
});
// ─────────────────────────────────────────────
// SLIDE 4 — PATHOPHYSIOLOGY + CLASSICAL FORMULATIONS + DIET
// ─────────────────────────────────────────────
let slide4 = pres.addSlide();
slide4.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: CREAM }
});
slide4.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.7,
fill: { color: DEEP_GREEN }
});
slide4.addText("PATHOPHYSIOLOGY, CLASSICAL FORMULATIONS & DIETARY GUIDELINES", {
x: 0.2, y: 0, w: 12.9, h: 0.7,
fontSize: 18, color: WHITE, bold: true,
align: "center", valign: "middle"
});
// Left — asthma pathophysiology image
if (asthmaImg && asthmaImg.base64 && !asthmaImg.error) {
slide4.addImage({
data: asthmaImg.base64,
x: 0.15, y: 0.8, w: 4.2, h: 3.0
});
slide4.addText("Fig: Asthma inflammatory pathway (Early & Late phase response)", {
x: 0.15, y: 3.82, w: 4.2, h: 0.3,
fontSize: 7.5, color: MEDIUM_GREEN, italic: true, align: "center"
});
} else {
// Fallback if image fails
slide4.addShape(pres.ShapeType.rect, {
x: 0.15, y: 0.8, w: 4.2, h: 3.0,
fill: { color: LIGHT_GREEN }, line: { color: MEDIUM_GREEN, width: 1 }
});
slide4.addText("Asthma Pathophysiology\n(Allergen → Mast cell → IgE → IL-4, IL-5, IL-13 → Airway remodeling)", {
x: 0.15, y: 0.8, w: 4.2, h: 3.0,
fontSize: 10, color: DEEP_GREEN, align: "center", valign: "middle"
});
}
// Middle — Classical Yogas
slide4.addShape(pres.ShapeType.rect, {
x: 4.5, y: 0.8, w: 4.3, h: 0.45,
fill: { color: SAFFRON }
});
slide4.addText("Classical Yogas (Formulations)", {
x: 4.5, y: 0.8, w: 4.3, h: 0.45,
fontSize: 13, color: WHITE, bold: true,
align: "center", valign: "middle"
});
slide4.addShape(pres.ShapeType.rect, {
x: 4.5, y: 1.25, w: 4.3, h: 2.55,
fill: { color: WHITE }, line: { color: SAFFRON, width: 1 }
});
const yogaLines = [
{ text: "1. Vasavaleha", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "Vasa + Shunti + Pippali + Honey\n Ref: Chakradatta Shwasa 14", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "2. Sitopaladi Churna", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "Mishri + Pippali + Ela + Twak + Vamsha\n Ref: Sharangdhara Samhita, Madhyam Kh. 6", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "3. Talisadi Churna", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "Talispatra + Marich + Pippali + Ela + Twak\n Ref: Ashtanga Hridayam Chikitsa 4", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "4. Kantakaryadi Kwatha", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "Kantakari + Yashti + Haridra + Tulsi\n Ref: CS Chikitsa 17/98", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "5. Shwasari Rasa / Shwaskuthar Ras", options: { bold: true, color: SAFFRON, breakLine: true } },
{ text: "Herbo-mineral: acute management\n Ref: Rasa Ratna Samuchaya", options: { breakLine: true } },
];
slide4.addText(yogaLines, {
x: 4.55, y: 1.3, w: 4.2, h: 2.45,
fontSize: 9, color: DARK_TEXT, valign: "top"
});
// Right — Diet & Lifestyle
slide4.addShape(pres.ShapeType.rect, {
x: 9.0, y: 0.8, w: 4.15, h: 0.45,
fill: { color: MEDIUM_GREEN }
});
slide4.addText("Pathya-Apathya (Diet & Lifestyle)", {
x: 9.0, y: 0.8, w: 4.15, h: 0.45,
fontSize: 12, color: WHITE, bold: true,
align: "center", valign: "middle"
});
slide4.addShape(pres.ShapeType.rect, {
x: 9.0, y: 1.25, w: 4.15, h: 2.55,
fill: { color: WHITE }, line: { color: MEDIUM_GREEN, width: 1 }
});
const pathyaLines = [
{ text: "PATHYA (Beneficial):", options: { bold: true, color: MEDIUM_GREEN, breakLine: true } },
{ text: "• Mudga (green gram), Yava (barley)", options: { breakLine: true } },
{ text: "• Purana Shali (old rice), Saindhava lavana", options: { breakLine: true } },
{ text: "• Lashuna (garlic), Haridra (turmeric) in daily food", options: { breakLine: true } },
{ text: "• Aja dugdha (goat's milk), Madhu (honey)", options: { breakLine: true } },
{ text: "• Lukewarm water, light easily digestible meals", options: { breakLine: true } },
{ text: "Ref: CS Chikitsa 17/145; AH Uttara", options: { italic: true, color: MEDIUM_GREEN, breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "APATHYA (Avoid):", options: { bold: true, color: ACCENT_RED, breakLine: true } },
{ text: "• Dadhi (curd), Masha (black gram)", options: { breakLine: true } },
{ text: "• Cold water, cold foods, ice creams", options: { breakLine: true } },
{ text: "• Dust, smoke, pollution exposure", options: { breakLine: true } },
{ text: "• Divasvapna (day sleep), Vegadharana", options: { breakLine: true } },
{ text: "• Anupa mamsa (marshy animal meat)", options: { breakLine: true } },
];
slide4.addText(pathyaLines, {
x: 9.05, y: 1.3, w: 4.05, h: 2.45,
fontSize: 9, color: DARK_TEXT, valign: "top"
});
// Bottom full-width: Kaumarabhritya perspective + Yoga/Pranayama
slide4.addShape(pres.ShapeType.rect, {
x: 0.15, y: 4.25, w: 12.95, h: 0.4,
fill: { color: DEEP_GREEN }
});
slide4.addText("KAUMARABHRITYA PERSPECTIVE & NON-PHARMACOLOGICAL INTERVENTIONS", {
x: 0.15, y: 4.25, w: 12.95, h: 0.4,
fontSize: 12, color: WHITE, bold: true, align: "center", valign: "middle"
});
slide4.addShape(pres.ShapeType.rect, {
x: 0.15, y: 4.65, w: 12.95, h: 2.5,
fill: { color: LIGHT_GREEN }, line: { color: MEDIUM_GREEN, width: 1 }
});
// Three sub-columns in bottom section
const bottomCols = [
{
title: "Kaumarabhritya Chikitsa Sutra",
color: DEEP_GREEN,
lines: [
"• Tamaka Shwasa is most common Shwasa Roga in Bala (children)",
"• Kashyapa Samhita: Leha preparations preferred in Balapaksha",
"• Sitopaladi / Talisadi churna with honey as anupana",
"• Dhoomapana contraindicated in children < 7 years",
"• Stanya (breast milk) quality correction — maternal diet modification",
"• Agni-deepana before Shamana chikitsa in children",
"• Ref: Kashyapa Samhita, Khila Sthana 1; CS Chikitsa 17"
]
},
{
title: "Yoga & Pranayama",
color: MEDIUM_GREEN,
lines: [
"• Anuloma-Viloma Pranayama — ↓ Vata-Kapha imbalance",
"• Bhramari Pranayama — calms Prana Vayu, relieves wheeze",
"• Sheetali / Sheetkari (cooling type) — specific Kapha-Pitta balance",
"• Bhastrika — mild form, ↑ FVC, FEV₁ (evidence-based)",
"• Ref: Modern evidence: ↑ PEFR, ↓ symptom score",
"• Avoid Kumbhaka in acute attacks; Kapalbhati contraindicated",
"• Shavasana + meditation for stress-triggered asthma"
]
},
{
title: "Modern Evidence Correlation",
color: SAFFRON,
lines: [
"• Curcumin (Haridra): ↓ NLRP3 inflammasome — Jaiswal et al. 2022 (PMID: 34998855)",
"• Curcumin-Piperine: bioavailability & anti-inflammatory synergy — Heidari et al. 2023",
"• Dietary bioactives in allergy prevention — Zafrilla et al. 2025 (PMID: 41305557)",
"• Padmapatradi yoga: ↑ PEFR, bronchodilation — PMC3131777",
"• Vasicine (Vasaka) → ↑ cAMP → bronchospasmolysis",
"• Tulsi: anti-mast cell activity, ↓ IgE synthesis",
"• Piperine (Pippali): immunomodulatory, ↓ eosinophil infiltration"
]
}
];
const bcolW = 4.1;
const bColStarts = [0.25, 4.5, 8.9];
bottomCols.forEach((col, i) => {
slide4.addShape(pres.ShapeType.rect, {
x: bColStarts[i], y: 4.65, w: bcolW, h: 0.35,
fill: { color: col.color }
});
slide4.addText(col.title, {
x: bColStarts[i], y: 4.65, w: bcolW, h: 0.35,
fontSize: 10, color: WHITE, bold: true,
align: "center", valign: "middle"
});
const bLines = col.lines.map((l, j) => ({
text: l, options: { breakLine: j < col.lines.length - 1 }
}));
slide4.addText(bLines, {
x: bColStarts[i] + 0.05, y: 5.02, w: bcolW - 0.1, h: 2.05,
fontSize: 8.5, color: DARK_TEXT, valign: "top"
});
});
// ─────────────────────────────────────────────
// SLIDE 5 — REFERENCES & CONCLUSION
// ─────────────────────────────────────────────
let slide5 = pres.addSlide();
slide5.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: DEEP_GREEN }
});
// Saffron accent bar
slide5.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.15,
fill: { color: SAFFRON }
});
slide5.addShape(pres.ShapeType.rect, {
x: 0, y: 0.15, w: 0.1, h: 7.2,
fill: { color: SAFFRON }
});
slide5.addShape(pres.ShapeType.rect, {
x: 13.2, y: 0.15, w: 0.1, h: 7.2,
fill: { color: SAFFRON }
});
slide5.addText("CLASSICAL REFERENCES & CONCLUSION", {
x: 0.2, y: 0.2, w: 12.9, h: 0.6,
fontSize: 20, color: LIGHT_SAFFRON, bold: true, align: "center"
});
// Left column: references
slide5.addShape(pres.ShapeType.rect, {
x: 0.2, y: 0.9, w: 6.3, h: 0.4,
fill: { color: SAFFRON }
});
slide5.addText("Classical & Modern References", {
x: 0.2, y: 0.9, w: 6.3, h: 0.4,
fontSize: 13, color: WHITE, bold: true, align: "center", valign: "middle"
});
slide5.addShape(pres.ShapeType.rect, {
x: 0.2, y: 1.3, w: 6.3, h: 4.6,
fill: { color: "0D2E1A" }, line: { color: SAFFRON, width: 1 }
});
const refs = [
{ text: "1. Charaka Samhita", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Chikitsa Sthana 17 (Shwasa Chikitsa Adhyaya), verses 14-16, 56-58, 89-100, 145", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "2. Sushruta Samhita", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Uttara Tantra, Chapter 51 (Shwasa-Kasa Nidana)", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "3. Ashtanga Hridayam", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Nidana Sthana 4; Chikitsa Sthana 4; Uttara Sthana 6", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "4. Kashyapa Samhita", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Khila Sthana 1 — Leha preparations in Bala; Shwasa Chikitsa", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "5. Sharangdhara Samhita", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Madhyama Khanda 6 — Sitopaladi Churna composition & indications", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "6. Chakradatta", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Chapter 14 — Shwasa Chikitsa (Vasavaleha, Pippali Rasayana)", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "7. Bhavaprakasha Nighantu", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Guduchyadi Varga — Tulsi, Vasaka, Haridra, Kantakari guna-karma", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "8. Dravyaguna Vijnana (Sharma PV)", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Vol.2, Chaukhamba Bharati Academy, Varanasi (8th ed., 1986)", options: { breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "9. PubMed/Modern:", options: { bold: true, color: LIGHT_SAFFRON, breakLine: true } },
{ text: " Jaiswal A et al. 2022 (PMID 34998855) | Heidari H et al. 2023 (PMID 36720711)", options: { breakLine: true } },
{ text: " Zafrilla P et al. 2025 (PMID 41305557) | PMC3131777 (Padmapatradi yoga)", options: { breakLine: true } },
];
slide5.addText(refs, {
x: 0.3, y: 1.35, w: 6.1, h: 4.5,
fontSize: 8.5, color: CREAM, valign: "top"
});
// Right column: conclusion
slide5.addShape(pres.ShapeType.rect, {
x: 6.75, y: 0.9, w: 6.35, h: 0.4,
fill: { color: MEDIUM_GREEN }
});
slide5.addText("Conclusion", {
x: 6.75, y: 0.9, w: 6.35, h: 0.4,
fontSize: 13, color: WHITE, bold: true, align: "center", valign: "middle"
});
slide5.addShape(pres.ShapeType.rect, {
x: 6.75, y: 1.3, w: 6.35, h: 2.8,
fill: { color: "0D2E1A" }, line: { color: MEDIUM_GREEN, width: 1 }
});
const conclusionLines = [
{ text: "✦ ", options: { color: SAFFRON } },
{ text: "Tamaka Shwasa", options: { bold: true, color: LIGHT_SAFFRON } },
{ text: " in Ayurveda closely mirrors modern Bronchial Asthma — involving Vata-Kapha dushti and Pranavaha Srotodushti.", options: { breakLine: true, color: CREAM } },
{ text: "", options: { breakLine: true } },
{ text: "✦ ", options: { color: SAFFRON } },
{ text: "Home remedies such as Tulsi, Haridra, Vasaka, Kantakari, Shunti, Pippali, Madhu", options: { bold: true, color: LIGHT_SAFFRON } },
{ text: " offer safe, accessible, evidence-supported anti-inflammatory interventions.", options: { breakLine: true, color: CREAM } },
{ text: "", options: { breakLine: true } },
{ text: "✦ ", options: { color: SAFFRON } },
{ text: "In Kaumarabhritya (pediatric Ayurveda), Leha (lickable) preparations with honey anupana are the preferred mode of administration in children.", options: { color: CREAM, breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "✦ ", options: { color: SAFFRON } },
{ text: "Integration of Pathya-Apathya, Pranayama and Rasayana therapy provides a holistic, multi-level management plan.", options: { color: CREAM, breakLine: true } },
{ text: "", options: { breakLine: true } },
{ text: "✦ ", options: { color: SAFFRON } },
{ text: "Contemporary evidence confirms anti-inflammatory mechanisms (NF-κB, COX-2, mast cell, eosinophil pathways) for curcumin, piperine, vasicine, and eugenol — validating classical Ayurvedic wisdom.", options: { color: CREAM, breakLine: true } },
];
slide5.addText(conclusionLines, {
x: 6.85, y: 1.35, w: 6.15, h: 2.7,
fontSize: 9, valign: "top"
});
// Ayurveda image bottom right
if (ayurvedaImg && ayurvedaImg.base64 && !ayurvedaImg.error) {
slide5.addImage({
data: ayurvedaImg.base64,
x: 9.2, y: 4.2, w: 3.7, h: 2.5
});
slide5.addText("Fig: Integrative Ayurvedic cancer/disease management framework", {
x: 9.2, y: 6.72, w: 3.7, h: 0.25,
fontSize: 6.5, color: LIGHT_SAFFRON, italic: true, align: "center"
});
}
// Bottom tag line
slide5.addShape(pres.ShapeType.rect, {
x: 0.2, y: 4.2, w: 8.7, h: 1.0,
fill: { color: "0D2E1A" }, line: { color: SAFFRON, width: 1 }
});
slide5.addText([
{ text: "Key Message: ", options: { bold: true, color: SAFFRON } },
{ text: "Classical Ayurvedic home remedies are not mere folklore — they are time-tested, now molecularly validated therapeutic interventions that align with the WHO goal of integrating traditional medicine in primary healthcare. In the context of ", options: { color: CREAM } },
{ text: "Kaumarabhritya", options: { bold: true, color: LIGHT_SAFFRON } },
{ text: ", their safe, palatable forms (Avaleha, Leha, Kshirpaka) make them ideal for children with Tamaka Shwasa.", options: { color: CREAM } }
], {
x: 0.3, y: 4.25, w: 8.5, h: 0.9,
fontSize: 9, valign: "middle"
});
// Bottom footer on all-slides style
slide5.addShape(pres.ShapeType.rect, {
x: 0, y: 7.3, w: 13.3, h: 0.2,
fill: { color: SAFFRON }
});
slide5.addText("PG Scholar | Dept. of Kaumarabhritya | Ayurvedic Medical College & Hospital | May 2026", {
x: 0, y: 7.3, w: 13.3, h: 0.2,
fontSize: 7, color: WHITE, align: "center", valign: "middle"
});
// ─────────────────────────────────────────────
// SAVE
// ─────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/kaumarabhritya-poster/Anti_Inflammatory_Home_Remedies_Asthma_Kaumarabhritya.pptx" })
.then(() => console.log("✅ Poster saved successfully!"))
.catch(e => console.error("❌ Error:", e));
cd /home/daytona/workspace/kaumarabhritya-poster && node create_poster.js 2>&1
ls -lh /home/daytona/workspace/kaumarabhritya-poster/
Anti Inflammatory Home Remedies Asthma Kaumarabhritya
Presentation · PPTX
| Section | Content |
|---|---|
| Classical Context | 5 types of Shwasa; Sadhyasadhyata; Adhishtana/Srotas — CS Chikitsa 17/14-16 |
| Nidana | Ahara, Vihara, Nidanarthakara Vyadhi — CS Chikitsa 17/5-8; AH Nidana 4/1-3 |
| Samprapti & Lakshana | Dosha-Dushya, Ghurghuraka, Pratamaka — CS Chikitsa 17/56-58; SS Uttar 51 |
| Samprapti Flowchart | 7-step pathogenic sequence from Nidana Sevana → Tamaka Shwasa |
| Dravya | Classical Ref | Key Mechanism |
|---|---|---|
| Tulsi (Ocimum sanctum) | CS Sutra 27; AH Sutra 6/159 | COX-2 inhibition, ↓IL-4, ↓IgE |
| Haridra (Curcuma longa) | CS Sutra 4/9; AHR Sutra 6/167 | Curcumin: ↓NF-κB, ↓mast cell degranulation |
| Vasaka (Adhatoda vasica) | CS Chikitsa 17/96; AH Chikitsa 4/14 | Vasicine: bronchospasmolysis |
| Kantakari (Solanum xanthocarpum) | CS Sutra 4 (Shwasahara Mahakashaya) | Solanine: bronchodilation, ↓histamine |
| Shunti (Zingiber officinale) | CS Sutra 4; DGV | 6-Gingerol: ↓PGE2, ↓TNF-α, mucokinetic |
| Pippali (Piper longum) | CS Chikitsa 17; AH Uttara 4 | Piperine: ↓IgE, bioavailability enhancer |
| Madhu (Honey) | CS Sutra 27/242; AH Sutra 5/44 | Anupana; H₂O₂: anti-inflammatory |
| Yashti Madhu (Glycyrrhiza glabra) | CS Sutra 4 (Kasahara gana); SS Sutra 38 | Glycyrrhizin: ↓cortisol catabolism → ↓airway inflammation |
Ok