MasterThaiBook Architecture Overview
MasterThaiBook Architecture สถาปัตยกรรมของ MasterThaiBook ออกแบบให้เรียบง่าย ราคาถูก และดูแลง่าย Stack Layer Technology หน้าที่ Static Site Hugo + PaperMod Blog, Podcast pages, Search Documentation mdBook Long-form articles, book notes API Cloudflare Workers Audio/PDF proxy, RSS feed Storage Cloudflare R2 MP3, PDF files Hosting Cloudflare Pages Static file serving Auth Cloudflare Access Private access control Audio Gen NotebookLM AI-generated podcast audio CMS Decap CMS Browser-based content editing CI/CD GitHub Actions Auto build + deploy on push ทำไมถึงเลือก Stack นี้ ราคาถูก — ~$0.15/เดือน (R2 storage เท่านั้น ที่เหลือ free tier) ไม่ต้องดูแล server — ทุกอย่าง serverless/static เร็ว — Cloudflare CDN ทั่วโลก ง่าย — เขียน Markdown แล้ว push, จบ Daily Workflow เขียน content (Markdown) → generate podcast (NotebookLM) → upload audio (R2) → git push → GitHub Actions build + deploy → live on masterthaibook.com Cost Breakdown Cloudflare Pages: Free (unlimited builds) Cloudflare Workers: Free (100k req/day) Cloudflare R2: ~$0.15/mo (10GB storage) GitHub Actions: Free (2000 min/month) NotebookLM: Free (Google account)