Topic: GitHub Gist

A curated collection of WindFlash AI Daily Report items tagged “GitHub Gist” (bilingual summaries with evidence quotes).

We are highlighting a significant update to a classic developer utility with the launch of gisthost.github.io, a fork of the long-dormant gistpreview project. This tool addresses a common limitation where GitHub Gists serve HTML files with "text/plain" headers, preventing direct browser rendering. By leveraging the GitHub API and the "Access-Control-Allow-Origin: *" header, we can fetch Gist content and use document.write() to execute inline scripts and render complete HTML pages hosted entirely on GitHub's infrastructure. Our update introduces critical fixes, such as handling URL mangling caused by platforms like Substack, ensuring the tool remains reliable for high-traffic scenarios via GitHub’s caching CDN. This project demonstrates how to build powerful web tools using existing infrastructure without incurring hosting costs.

Simon Willison's WeblogJan 02, 04:33 AM