Cloudflare

  • [Tutorial] Getting Hands-On with Cloudflare Auto RAG

    · 7 min read

    Preface: AI + LLM = A Second Brain? A few days ago, I came across a post in a Facebook group discussing how AI + LLM can act as a second brain. As I recall, the author’s example involved integrating Obsidian (a note-taking app) with an LLM plugin. This allows your past notes to truly become a brain, where you can explore your own content by conversing with the LLM.

  • [Tutorial] Automating WSJ AI Summaries and Emailing Them

    · 4 min read

    Introduction: A Lazy Idea Around March of this year (2025-03), I was chatting with a colleague who mentioned he had recently subscribed to The Wall Street Journal. He also receives the daily print version of the WSJ in his email. However, for a working engineer, reading a full newspaper every day is a luxurious fantasy—perhaps it is for most people in this modern era. Having shorter key points and summaries would be helpful for daily information consumption. It would be even better if it could further filter for useful information.

  • [Tutorial] Build a Free Image Hosting System for Hugo with Cloudflare R2 and Workers

    · 4 min read

    Preface: Why Use Cloudflare R2 for Hugo Image Hosting? When running a static site built with Hugo, image management is always a hot topic. The traditional approach is to dump image files directly into the project’s static/ directory and commit them to Git version control along with the code. However, as the number of images grows, this method can cause your Git repository to become ridiculously bloated. This not only slows down git clone and pull operations but also makes backups and management a real headache.

  • [Solution] Fixing Cloudflare Email Routing Forwarding Failures to Gmail (New 2024 DMARC/SPF Policies)

    · 3 min read

    The Plot Thickens: Gmail’s Strictest-Ever Sender Verification Policy Since February 2024, in a heroic effort to combat spam, Google has rolled out a stricter sender verification policy. According to Google’s official decree, bulk senders must now set up email authentication mechanisms like SPF, DKIM, and DMARC. Important: Starting in February 2024, senders who send 5,000 or more messages a day to Gmail accounts must… set up… email authentication for their domain.