From 098f161213b0aeb026a6cb613e006ccbd41f4ff7 Mon Sep 17 00:00:00 2001 From: drjones Date: Thu, 1 Oct 2026 12:15:03 -0700 Subject: [PATCH] screenshot service upgraded to REAL PNGs: chromium 150 installed on CT768 (RAM 1G->2G), PNG path live-verified (example.com 26KB, self-shot 535KB), honest-fallback note updated --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index a178bde..3a76701 100644 --- a/app.py +++ b/app.py @@ -933,7 +933,7 @@ GET /api/shot/status/42 -> {"ok":true,"status":"text_fallback","title":"...","text_preview":"...","headings":[...]} auth: session cookie or Authorization: Bearer dk_... 25c/shot, free with PASS - rate limit 6/min -NOTE: no headless browser on this host yet - expect text_fallback""").replace("BASE", SITE) +PNG mode: status "done" + png_b64. If chromium vanishes, expect text_fallback.""").replace("BASE", SITE) SHOT_EXPLAINER = """
HOW CAPTURE WORKS
• With headless Chromium installed, /shot returns a real browser render as base64 PNG. @@ -944,7 +944,7 @@ SHOT_EXPLAINER = """
HOW CAPTURE WORKS
SCREEN SHOT

Point at a URL, get a render. Real headless-Chromium PNG when the host has one — an honest rendered-text + intel fallback when it doesn't. Never a fake image.

+

SCREEN SHOT

Point at a URL, get a real 1280×1600 headless-Chromium PNG render (base64 in the API). Honest text+intel fallback only if the renderer is down. Never a fake image.

New capture