From: Thorsten Date: Fri, 27 Nov 2026 12:51:41 +0000 (+0100) Subject: Pi guide: idea for sharing from an iPhone X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=b7a591b1f43a89b6816680b3904f211b32d7b7ad;p=sirius.git Pi guide: idea for sharing from an iPhone Co-Authored-By: Claude Opus 5.5 --- diff --git a/deploy/pi/README.md b/deploy/pi/README.md index efd4559..de32ff9 100644 --- a/deploy/pi/README.md +++ b/deploy/pi/README.md @@ -88,6 +88,16 @@ To allow it anyway, on the phone: 2. Open `http://:8016/`, sign in, and choose **Install app** (or **Add to home screen**) in Chrome's menu. +On an iPhone this doesn't work: Safari can't receive shared things. An untried +idea for tinkering is a Shortcut (Shortcuts app) that shows up in the share sheet +and sends to the printer's print key, the address on the printer's print key +page. A print key accepts photos (`image/jpeg`, `image/png`) and text +(`text/plain`) as the request body and prints them dithered, right away and with +no preview. In the Shortcut: accept images and text in the share sheet, resize +photos to about 768 pixels wide, then **Get Contents of URL** with method POST, +the print key address, a `Content-Type` header and the item as the body. +Shortcuts may use plain `http://` inside your home network. + ## Everyday use ```bash