r/shortcuts • u/Lopsided_Energy4741 • 1d ago
Discussion Built a local Python bridge on iPadOS (a-Shell) that lets my Apple Watch & iPhone pull flashcards, stock quotes, and clipboard notes over local Wi-Fi (V7.5)
I wanted a lightweight, zero-cloud way to trigger scripts on my iPad Pro directly from my Apple Watch using native Apple Shortcuts (Get Contents of URL).
Everything runs inside **a-Shell** using only Python’s built-in standard library (no external dependencies or API keys). Right now, the local server listens on Port 5002 across 7 routes:
**/quiz** – Deals a random flashcard (Question | Answer) from a local text file straight to my watch notification banner.
**/stocks** – Pulls live market snapshots from a customizable tickers.txt watchlist.
**/clip** – Sends dictated or typed notes from my wrist to my iPad (and automatically files anything with a | into the flashcard deck).
**/read & /clear** – Reads back the last 5 saved notes or wipes the slate clean.
**/audit & /veto** – Runs a local file/hash integrity check or shuts down the server port on command.
**How to test it:**
Save the single-file bootstrapper (install_grid.py — \[https://dpaste.org/owWOa\]) into a-Shell.
Run python install_grid.py (it unpacks the server, sample flashcards, watchlist, and [README.md](http://readme.md/)into \~/Documents/sovereign_grid).
Run python master_mesh.py and point an Apple Shortcut (Get Contents of URL -> Show Notification) to http://<YOUR-IPAD-IP>:5002/quiz.
Happy to share how the Shortcuts triggers or a-Shell keep-alive setup work if anyone else is building local iPad utilities!
1
u/Lopsided_Energy4741 7h ago
Fair enough—you asked for two concrete use cases instead of high-level bullets, so here are two I actually run daily:
Tease of what's already running in my current build (V50.0): clickable #tag filter pills, a one-tap Watch macro (/run) that syncs across devices and returns a full briefing in one call, offline price caching, and a sanitized single-file release builder. Appreciate you pushing for specifics.
3
u/Few-Acadia-5593 1d ago edited 7h ago
But… why? If you’re demonstrating a poc, cool but we need use cases? Why bypass the cloud? What about first party continuity? Latency? Aka pro and cons. You can’t just drop this and expect engagement
-1
u/Lopsided_Energy4741 1d ago
Fair point—here is why I built it instead of relying on standard Continuity:
• Works 100% offline / Airplane Mode: Runs purely over a local router with zero iCloud sync delays or internet required.
• Watch-to-iPad script triggers: Lets an Apple Watch trigger custom Python scripts, pull filtered flashcards, or log timestamped notes straight to local text files in one tap.
• Sub-second local latency: Direct HTTP calls on the local subnet respond instantly without waiting for iCloud background sync between devices.
• Full data ownership: Everything lives in plain local files you control rather than third-party cloud servers.