<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Alfred&apos;s CyberLoom | 開發、工具與系統設計</title><description>記錄 Rust 與 Django 開發、AI 工具應用，以及 Docker、Cloudflare 的部署實作，分享開發經驗、系統設計與技術議題分析。</description><link>https://www.alfred.wiki/</link><language>zh-Hant</language><lastBuildDate>Wed, 04 Nov 2026 10:00:00 GMT</lastBuildDate><item><title>Responses API 實戰（三）：串流、背景任務與失敗恢復</title><link>https://www.alfred.wiki/ai-gpt/responses-api-streaming-background-recovery/</link><guid isPermaLink="false">article:responses-api-streaming-background-recovery</guid><description>區分串流連線、模型回應與業務工作三種狀態，實作終止狀態檢查、背景輪詢及事件續接，並用 SQLite 與 Django Webhook inbox 處理重送、取消和失敗恢復。</description><pubDate>Wed, 04 Nov 2026 10:00:00 GMT</pubDate></item><item><title>Responses API 實戰（二）：工具呼叫與結構化輸出的除錯</title><link>https://www.alfred.wiki/ai-gpt/responses-api-tools-structured-outputs-debugging/</link><guid isPermaLink="false">article:responses-api-tools-structured-outputs-debugging</guid><description>技術文件查詢的 Responses 工具與結構化回答實作，包含完整 output、call_id 配對、參數和權限驗證，以及來源版次、啟動命令與查詢結果的一致性檢查。</description><pubDate>Wed, 04 Nov 2026 06:00:00 GMT</pubDate></item><item><title>Responses API 實戰（一）：回應解析與對話狀態管理</title><link>https://www.alfred.wiki/ai-gpt/responses-api-output-conversation-state/</link><guid isPermaLink="false">article:responses-api-output-conversation-state</guid><description>解析 Responses 的文字、工具呼叫與完成狀態，處理空白回覆、對話接續及歷史重播問題，並說明 previous_response_id、Conversations、推理資料保存與長對話成本。</description><pubDate>Wed, 04 Nov 2026 02:00:00 GMT</pubDate></item><item><title>Rust 瀏覽器指紋實作：reqwest 與 wreq 的 TLS／HTTP/2 差異</title><link>https://www.alfred.wiki/rust/rust-http-client-browser-fingerprint-reqwest-wreq/</link><guid isPermaLink="false">article:rust-http-client-browser-fingerprint-reqwest-wreq</guid><description>以固定版本 reqwest 與 wreq 比較 TLS、HTTP/2 與 Browser Profile 的連線特徵，並整理 Rust Client 的狀態隔離、Timeout、Cookie、Proxy、串流、WebSocket 與有界併發設計。</description><pubDate>Tue, 08 Sep 2026 14:50:45 GMT</pubDate></item><item><title>Python curl_cffi 實作：Browser Impersonation、Session、Asyncio 與 WebSocket</title><link>https://www.alfred.wiki/python/python-curl-cffi-browser-impersonation-asyncio-websocket/</link><guid isPermaLink="false">article:python-curl-cffi-browser-impersonation-asyncio-websocket</guid><description>以固定版本 curl_cffi 實作 Browser Impersonation，對照 TLS 與 HTTP 指紋，並整理 Session、Cookie、Proxy、Asyncio、串流及 WebSocket 的生命週期、大小限制與錯誤處理。</description><pubDate>Tue, 08 Sep 2026 14:45:39 GMT</pubDate></item><item><title>HTTP Client 與瀏覽器指紋：TLS ClientHello、JA3／JA4、HTTP/2 與 HTTP/3</title><link>https://www.alfred.wiki/others/http-client-browser-fingerprint-tls-ja3-http2-http3/</link><guid isPermaLink="false">article:http-client-browser-fingerprint-tls-ja3-http2-http3</guid><description>從 TLS ClientHello、JA3／JA4 到 HTTP/2、HTTP/3 與 Header，拆解 HTTP Client 留下的連線特徵，說明 Proxy、ECH 與瀏覽器執行環境如何影響觀測，以及這些指紋能支持哪些判斷。</description><pubDate>Tue, 08 Sep 2026 14:40:31 GMT</pubDate></item><item><title>No4. Cloudflare Full (strict) 設定：Origin CA、Nginx 與 Apache2</title><link>https://www.alfred.wiki/others/cloudflare/cloudflare-full-strict-nginx-apache-origin-ca/</link><guid isPermaLink="false">article:cloudflare-full-strict-nginx-apache-origin-ca</guid><description>在單一 Ubuntu GCP VM 設定 Cloudflare Origin CA 與 Nginx／Apache2 HTTPS，透過 curl、OpenSSL 及回源紀錄驗證憑證與連線，再啟用 Full (strict)。同時整理 525／526 排查、兩段 TLS 的差異，以及來源限制與憑證效期管理。</description><pubDate>Thu, 03 Sep 2026 07:37:48 GMT</pubDate></item><item><title>No3. Cloudflare 真實訪客 IP：Nginx real_ip 與 Apache2 RemoteIPTrustedProxyList</title><link>https://www.alfred.wiki/others/cloudflare/cloudflare-real-ip-nginx-apache-trusted-proxy/</link><guid isPermaLink="false">article:cloudflare-real-ip-nginx-apache-trusted-proxy</guid><description>在 Cloudflare 直接連到 Nginx 或 Apache2 的架構中，以官方 CIDR 設定可信代理、還原訪客 IP，並在存取紀錄保留實際連線來源。進一步處理 Real IP 改寫後的來源限制，透過排程更新與偽造 Header 測試確認設定邊界。</description><pubDate>Thu, 03 Sep 2026 07:36:46 GMT</pubDate></item><item><title>No2. Cloudflare Origin 存取控制：GCP Firewall 與 Web Server 來源限制</title><link>https://www.alfred.wiki/others/cloudflare/cloudflare-origin-access-control-gcp-nginx-apache/</link><guid isPermaLink="false">article:cloudflare-origin-access-control-gcp-nginx-apache</guid><description>以 Cloudflare 官方 IP 清單限制 Origin 存取，示範用 Cloud Run Job 與 Cloud Scheduler 更新 GCP Firewall，並提供 Nginx、Apache2 與 systemd 的替代方案，釐清 IPv6、真實 IP 改寫及驗收邊界。</description><pubDate>Thu, 03 Sep 2026 07:35:43 GMT</pubDate></item><item><title>No1. 喜傑獅事件技術解析：改 hosts 如何繞過 Cloudflare？</title><link>https://www.alfred.wiki/others/cloudflare/cjscope-hosts-cloudflare-origin-bypass/</link><guid isPermaLink="false">article:cjscope-hosts-cloudflare-origin-bypass</guid><description>以喜傑獅「一讚折一元」事件為例，拆解 hosts 覆寫、Cloudflare 代理與 Origin 直連的關係，透過本機 curl 示範釐清連線機制，並整理來源站防護與停止接單的跨層控制。</description><pubDate>Thu, 03 Sep 2026 07:34:40 GMT</pubDate></item><item><title>打造專屬 ChatGPT：OpenAI API 實戰系列總覽 (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-chat-completion-api/</link><guid isPermaLink="false">article:custom-chatgpt-chat-completion-api</guid><description>Chat Completions 與 Responses API 的系列索引，包含請求參數、結構化輸出、工具整合、除錯、對話管理、串流及背景工作恢復。</description><pubDate>Sun, 07 Jun 2026 10:00:00 GMT</pubDate></item><item><title>打造專屬 ChatGPT（六）：從 Chat Completions 轉向 Responses API (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-responses-api-vs-chat-completions/</link><guid isPermaLink="false">article:custom-chatgpt-responses-api-vs-chat-completions</guid><description>Chat Completions 與 Responses 的端點、欄位及資料結構對照，包含 input、output、工具結果、text.format、對話狀態、內建工具、多模態和長任務的遷移差異。</description><pubDate>Sat, 06 Jun 2026 10:00:00 GMT</pubDate></item><item><title>打造專屬 ChatGPT（五）：Tool Calling 與業務資料整合 (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-openai-tool-call/</link><guid isPermaLink="false">article:custom-chatgpt-openai-tool-call</guid><description>門市營業額、人流與換匯的 Tool Calling 整合範例，包含多輪查詢、授權範圍、呼叫與結果配對、查無資料，以及 Decimal 金額計算。</description><pubDate>Fri, 05 Jun 2026 10:00:00 GMT</pubDate></item><item><title>打造專屬 ChatGPT（四）：Structured Outputs 與複雜 Schema 設計 (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-llm-structured-outputs/</link><guid isPermaLink="false">article:custom-chatgpt-llm-structured-outputs</guid><description>Structured Outputs 的資料模型設計，涵蓋 Pydantic、nullable、巢狀與遞迴 Schema、動態 UI，以及拒絕、截斷、跨欄位關係、節點數和業務驗證。</description><pubDate>Thu, 04 Jun 2026 10:00:00 GMT</pubDate></item><item><title>打造專屬 ChatGPT（三）：回傳物件、除錯與實務設定 (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-chat-completions-api-response-debugging-practice/</link><guid isPermaLink="false">article:custom-chatgpt-chat-completions-api-response-debugging-practice</guid><description>Chat Completions 的 choices、finish_reason 與 usage 對應回應內容、停止原因及用量。請求紀錄與串流累積器保留模型、版本、延遲及錯誤狀態，供空白、截斷、工具等待與相容性問題的診斷使用。</description><pubDate>Wed, 03 Jun 2026 10:00:00 GMT</pubDate></item><item><title>打造專屬 ChatGPT（二）：結構化輸出、Tool Calling 與 Streaming (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-structured-outputs-tool-calling-streaming/</link><guid isPermaLink="false">article:custom-chatgpt-structured-outputs-tool-calling-streaming</guid><description>Chat Completions 提供 JSON Schema、工具呼叫、串流及多模態介面。Python 範例分別處理文字、圖片、PDF、音訊與 Predicted Outputs 的模型設定、參數驗證、結果回填及失敗狀態。</description><pubDate>Tue, 02 Jun 2026 10:00:00 GMT</pubDate></item><item><title>打造專屬 ChatGPT（一）：Chat Completions API 基礎參數解析 (20261103更新)</title><link>https://www.alfred.wiki/ai-gpt/custom-chatgpt-chat-completions-api-basics/</link><guid isPermaLink="false">article:custom-chatgpt-chat-completions-api-basics</guid><description>Chat Completions 以 model 與 messages 建立對話請求，透過取樣參數與 token 預算控制生成。Python 範例包含訊息角色、多輪上下文、完整回應驗證及模型相容設定。</description><pubDate>Mon, 01 Jun 2026 10:00:00 GMT</pubDate></item><item><title>我如何用 Vibe Coding 設計 TallyTrip：從旅程脈絡到收據 OCR 與多人分帳</title><link>https://www.alfred.wiki/ai-gpt/vibe-coding-tallytrip-trip-context-receipt-ocr-travel-split/</link><guid isPermaLink="false">article:vibe-coding-tallytrip-trip-context-receipt-ocr-travel-split</guid><description>以 TallyTrip 的開發經驗，說明如何用 Trip 串起行程、旅伴、附件、收據 OCR 與多幣別分帳，並在 Vibe Coding 過程中維持資料歸屬、後端權限及人工確認的邊界。</description><pubDate>Mon, 01 Jun 2026 06:03:30 GMT</pubDate></item><item><title>從 OpenClaw 談起：AI 工具的 OAuth 風險，不該只藏在免責聲明裡</title><link>https://www.alfred.wiki/ai-gpt/openclaw-oauth-security-ai-tools-disclaimer/</link><guid isPermaLink="false">article:openclaw-oauth-security-ai-tools-disclaimer</guid><description>從 OpenClaw 手動 OAuth 流程的 state 驗證漏洞出發，檢視 callback 複製貼上的風險、產品與使用者的授權邊界，並以 LobeHub／LobeChat 的文件與提案對照，討論安全如何成為預設流程。</description><pubDate>Fri, 13 Mar 2026 13:05:24 GMT</pubDate></item><item><title>你以為不可能，其實只是樣本不夠大：用 Rust 跑 Monte Carlo 爆破低機率</title><link>https://www.alfred.wiki/rust/low-probability-is-not-impossible-monte-carlo/</link><guid isPermaLink="false">article:low-probability-is-not-impossible-monte-carlo</guid><description>用 Rust 建立 Monte Carlo 模擬，觀察抽卡與爆裝在大量試驗下的成功次數分佈與極端值。從二項模型、SSE 即時呈現到機率揭露，釐清「可能發生」與實際風險之間的差距。</description><pubDate>Fri, 26 Dec 2025 11:30:12 GMT</pubDate></item><item><title>ASGI – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/asgi/</link><guid isPermaLink="false">article:asgi</guid><description>說明 ASGI 的 scope、receive 與 send 如何描述連線及交換事件，並整理 HTTP、WebSocket 的生命週期，以及 Channels 路由與中介軟體的組合方式。</description><pubDate>Sat, 04 Jan 2025 10:06:05 GMT</pubDate></item><item><title>部署 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/deploy/</link><guid isPermaLink="false">article:deploy</guid><description>整理 Django Channels 的 ASGI 入口、Redis 後端與 Daphne／Uvicorn 啟動方式，並保留 Nginx、Supervisor、共用 socket 與執行目錄的部署配置細節。</description><pubDate>Sat, 04 Jan 2025 10:05:59 GMT</pubDate></item><item><title>Workers與背景任務 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/workers-and-background-tasks/</link><guid isPermaLink="false">article:workers-and-background-tasks</guid><description>以固定 channel 發送事件、Consumer 與 runworker 建立背景工作流程，並比較 Channels worker 和 Celery 在交付語義、重試、排程及結果追蹤上的差異。</description><pubDate>Sat, 04 Jan 2025 10:04:51 GMT</pubDate></item><item><title>Sessions、身份驗證、安全性 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/sessions-authorization-security/</link><guid isPermaLink="false">article:sessions-authorization-security</guid><description>整理 Django Channels 的 session 保存、使用者驗證與 Origin 檢查，說明內建中介軟體、自訂驗證及 token 套件的用法，以及 WebSocket 連線中的權限與安全界線。</description><pubDate>Sat, 04 Jan 2025 10:01:18 GMT</pubDate></item><item><title>Channel Layers – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/channel-layers/</link><guid isPermaLink="false">article:channel-layers</guid><description>整理 Django Channels 通道層的 Redis 與記憶體後端、單點及群組傳送，並說明非同步介面、訊息格式、容量反壓、過期、順序與最多一次傳遞語義。</description><pubDate>Sat, 04 Jan 2025 09:16:37 GMT</pubDate></item><item><title>Routing – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/routing/</link><guid isPermaLink="false">article:routing</guid><description>說明 ProtocolTypeRouter、URLRouter 與 ChannelNameRouter 的分派方式，整理 scope、路徑捕獲參數、ASGI 根入口，以及巢狀路由搭配中介軟體的限制。</description><pubDate>Sat, 04 Jan 2025 07:52:44 GMT</pubDate></item><item><title>資料庫存取 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/database-access/</link><guid isPermaLink="false">article:database-access</guid><description>整理 Django Channels 的同步與非同步 ORM 存取方式，說明 database_sync_to_async、非同步查詢、執行緒上限與長連線的舊資料庫連線清理。</description><pubDate>Fri, 03 Jan 2025 07:55:11 GMT</pubDate></item><item><title>Consumers深入說明 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/consumers-in-depth-explain/</link><guid isPermaLink="false">article:consumers-in-depth-explain</guid><description>深入整理 Django Channels Consumer 的同步與非同步選擇、scope、斷線清理及通用類別，並以 WebSocket、JSON、HTTP 與 SSE 範例說明事件處理方式。</description><pubDate>Wed, 01 Jan 2025 13:23:25 GMT</pubDate></item><item><title>實時更新的多人聊天室 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/realtime-multi-user-chat-room/</link><guid isPermaLink="false">article:realtime-multi-user-chat-room</guid><description>以 Django Channels 建立即時多人聊天室，從導覽頁、房間模板與 Redis 設定，到同步／非同步 Consumer、WebSocket 路由及同房間訊息廣播。</description><pubDate>Sat, 28 Dec 2024 10:42:31 GMT</pubDate></item><item><title>簡介 – Django Channels：實現 WebSocket 異步通信，打造高效的長連接系統</title><link>https://www.alfred.wiki/django/django-channels/introduction/</link><guid isPermaLink="false">article:introduction</guid><description>從 WSGI 與 ASGI 的差異出發，說明 Django Channels 的 Consumer、路由與通道層如何協作，以及同步、非同步程式在長連線應用中的分工。</description><pubDate>Tue, 24 Dec 2024 16:08:00 GMT</pubDate></item><item><title>讓Cloudflare Access幫你管理網站存取</title><link>https://www.alfred.wiki/others/cloudflare/cloudflare-access/</link><guid isPermaLink="false">article:cloudflare-access</guid><description>延續 Cloudflare Tunnel 的本機服務連線，透過 Access application、指定 email 政策與瀏覽器 SSH 管理入口權限，並示範用戶端 cloudflared 的 SSH ProxyCommand，釐清 Access 身分驗證與來源 SSH 登入的分工。</description><pubDate>Wed, 06 Nov 2024 12:48:03 GMT</pubDate></item><item><title>使用Cloudflare Tunnel進行內網穿透</title><link>https://www.alfred.wiki/others/cloudflare/cloudflare-tunnel/</link><guid isPermaLink="false">article:cloudflare-tunnel</guid><description>使用 cloudflared 主動建立對外通道，將內部 Web 與 SSH 服務發布到 Cloudflare hostname。透過 WordPress 與 SSH 範例，說明 connector、來源服務及公開路由的設定關係，並釐清 Tunnel 與 Access 存取政策的不同職責。</description><pubDate>Wed, 06 Nov 2024 12:40:58 GMT</pubDate></item><item><title>使用 Bitnami 的Docker Image快速部署 WordPress</title><link>https://www.alfred.wiki/docker/docker-bitnami-wordpress/</link><guid isPermaLink="false">article:docker-bitnami-wordpress</guid><description>記錄使用 Bitnami WordPress 與 MariaDB 映像編寫 Compose 的部署流程，整理環境變數、持久化目錄及 UID 1001 權限問題，並補充映像供應與維護方式變更。</description><pubDate>Mon, 28 Oct 2024 16:04:01 GMT</pubDate></item></channel></rss>