]> git.aero2k.de Git - sirius.git/commitdiff
Pi guide: idea for sharing from an iPhone main
authorThorsten <mail@aero2k.de>
Fri, 27 Nov 2026 12:51:41 +0000 (13:51 +0100)
committerThorsten <mail@aero2k.de>
Fri, 27 Nov 2026 12:51:41 +0000 (13:51 +0100)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deploy/pi/README.md

index efd45596a8d8866291dea7645bbe55d72b91288d..de32ff93435a1aeef92bbd3e481a5317f592808c 100644 (file)
@@ -88,6 +88,16 @@ To allow it anyway, on the phone:
 2. Open `http://<pi address>: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