Drop any single-file .html visualization into a category or nested subdirectory. Cloudflare Pages automatically indexes new pieces into this catalog on every push.
Set this single-line Node command as your Build command in Cloudflare Pages (Settings → Builds & deployments). Leave Build output directory as /.
node -e 'const fs=require("fs"),path=require("path");const walk=(d,b="")=>fs.readdirSync(d,{withFileTypes:true}).flatMap(e=>e.name.startsWith(".")?[]:e.isDirectory()?walk(path.join(d,e.name),path.posix.join(b,e.name)):(e.name.endsWith(".html")&&b)?(()=>{const fp=path.join(d,e.name),html=fs.readFileSync(fp,"utf8"),stat=fs.statSync(fp),title=(html.match(/([^<]+)<\/title>/i)||[])[1]||e.name.replace(/[-_]|(\.html$)/g," "),desc=(html.match(/]+name=["\x27]description["\x27][^>]+content=["\x27]([^"\x27]+)["\x27]/i)||html.match(/]+content=["\x27]([^"\x27]+)["\x27][^>]+name=["\x27]description["\x27]/i)||[])[1]||"",segs=b.split("/");return[{segments:segs,category:segs[0],subcategory:segs.slice(1).join(" / "),slug:e.name.replace(/\.html$/,""),title:title.trim(),description:desc.trim(),updatedAt:stat.mtime.toISOString().slice(0,10),path:"/"+path.posix.join(b,e.name)}]})():[]);fs.writeFileSync("manifest.json",JSON.stringify(walk("."),null,2))'
/ ├── index.html # This hub page ├── manifest.json # Auto-built on push ├── markets/ │ └── semiconductors/ │ └── 2026/ │ └── jensen-return.html ├── ai-economics/ │ └── hyperscaler-capex.html └── og-images/ # Optional PNG cards
Try clearing your search query or switching back to all categories.