Project documentation for building and contributing to The Alex Cookbook.
This cookbook was generated using ~1.5-2 million AI tokens (Claude Opus 4.5), representing approximately $30-60 in marginal compute costs — not including the billions invested in AI research, training data curation, and infrastructure.
AI content isn't free to produce. Every recipe generation, fact-check, and refinement consumed real GPU resources.
AlexCook/
├── github-version/ 📖 Browsable recipe content
│ ├── chapters/ 📝 15 recipe chapters
│ ├── appendices/ 📎 Special topics
│ ├── references/ 📏 Conversion guides
│ └── assets/ 🖼️ Images & banners
├── book/ 📚 PDF publication source
│ ├── assets/
│ │ ├── banners/ 🖼️ Chapter banners (SVG + PNG)
│ │ │ └── png/ 📸 High-res PNG conversions
│ │ └── emojis/ 😀 Twemoji color PNGs
│ ├── output/ 📄 Built PDF
│ └── *.md 📝 23 numbered chapters
├── build/ 🔧 Build pipeline
│ ├── build-pdf.ps1 PowerShell orchestrator
│ ├── convert-svgs.js Banner SVG→PNG with emoji embedding
│ ├── convert-cover.js Cover SVG→PNG with emoji embedding
│ └── cookbook.yaml Pandoc/LaTeX configuration
├── docs/ 📋 Project documentation
├── CONTRIBUTING.md 🤝 How to contribute
└── README.md 📖 Cover page
Prerequisites: Node.js, Pandoc, LaTeX (TeX Live or MiKTeX)
# Install dependencies
npm install sharp
# Build PDF (~70 seconds)
.\build\build-pdf.ps1Output: book/output/The-Alex-Cookbook.pdf (~2.8 MB)
- Banner Conversion — SVGs with emoji text → PNGs with embedded color Twemoji
- Cover Conversion — Cover SVG with image refs → PNG with embedded assets
- Markdown Processing — Emojis replaced with inline images, chapters combined
- PDF Generation — Pandoc + LuaLaTeX with custom styling
Dedicated to the ones who make every meal worth cooking:
| Member | Role | Dietary Notes |
|---|---|---|
| Fabio 🧔♂️ | The chef | Will eat anything with enthusiasm |
| Claudia 👩� | Chief Taste Officer | IBS — needs Low-FODMAP friendly options |
| Douglas 🧒 | Quality Control (Picky Division) | Selective eater — keep it approachable |
| Freddy 🐕 | Kitchen Helper (self-appointed) | Dog-safe only! |
| Jolly 🐩 | Sous Chef (in her dreams) | Dog-safe only! |
CC BY-NC-SA 4.0 — Share freely, give credit, non-commercial only.
Made with ❤️, chaos, and a lot of garlic.