Use Terminal Widget’s App Intents in Shortcuts.app for native automation that does not require shell commands or manual URL encoding.

Available Shortcuts Actions
Terminal Widget exposes intent actions for common update types:
- Render Widget: full payload action (text, icon, progress, chart, image, colors, theme, layout)
- Render Text: quick text/icon update
- Render Chart: chart update with format options
- Render Progress: progress update with style options
- Render Image: image update with optional filters/layout controls
- Render Table: table render from CSV/TSV/JSON data source
These map to the same validation/rendering pipeline used by CLI, AppleScript, and URL scheme updates.
On Render Widget (Update Terminal Widget), optional Label Y adds a left y-axis to numeric charts, and Timestamp shows the last CLI/URL update time in the caption area (with or without Caption). Chart accepts space-separated numbers, slash-separated grouped sparkline/bar series (for example 0 1 5 2/1 2 5 3, up to four series), rangebar low-high pairs, or JSON (flat or nested numeric arrays). Use Chart Format sparkline/bar for grouped slash input. Comma-separated Foreground colors use the first value for text/icons and the rest for series colors. Chart Bar Style Glass applies to sparkline/bar, waveform, range bar, matrix, and delta charts, and to circle progress rings when Progress Format is Circle (chart data not required for circle glass). Render Chart and Render Progress expose the same chart and bar-style fields where applicable (progress can use Caption for [n%] and Timestamp for the update time). Optional Notify on change persi
On Render Widget, optional action fields can assign what happens when the widget is tapped or clicked:
- Action Kind:
open-url,open-app,run-shortcut, orrun-command - Action Value: the URL, macOS bundle identifier, Shortcut name, or shell command
- Clear Action: removes the saved tap/click action for the target
Actions are saved with the target payload and sync through iCloud. On macOS, all four action kinds are supported. On iOS, URL and Shortcut actions are supported; synced macOS-only app and shell actions fall back to the normal widget open/update behavior.
Build Your First Shortcut
- Open Shortcuts.app and create a new shortcut.
- Add the Render Widget action from Terminal Widget.
- Set Target (for example
widget1). - Fill any fields you want to update (
Text,Icon,Progress, etc.). - Run the shortcut and confirm the widget refreshes.
Passing Data Into Actions
Shortcuts variables can drive any field in the action.
From Input Prompt
- Add Ask for Input (
Prompt:Widget text). - Add Render Text.
- Set
Targettowidget1. - Set
Textto Provided Input.
From Dictionary/Data
- Build a Dictionary with keys like
target,text,progress. - Add Get Dictionary Value actions.
- Feed each result into Render Widget parameters.
From Web/API Data
- Add Get Contents of URL.
- Parse JSON fields (for example status or numeric metrics).
- Convert/format values if needed.
- Pass results into Render Widget, Render Chart, or Render Progress.
Pattern Examples
Daily Status Widget
- Trigger: Time of Day automation
- Actions:
Get Contents of URL(status endpoint)Get Dictionary Value(message,progress)Render Widget(target: widget1, text frommessage, progress fromprogress)
Build Result Widget
- Trigger: run from Share Sheet, Finder Quick Action, or manual run
- Actions:
Run Script over SSHorGet Filemetadata- conditional branch (
If) Render Textwithiconset to success/failure symbol
Chart Snapshot Widget
- Trigger: schedule every 15 minutes
- Actions:
- fetch metrics
- build list of numbers
- join numbers as chart input
Render Chartwith chosenchart formatand optional caption. Userangebarwith values like1-3 2-3 1-4for range bars.
Grouped Sparkline Widget
- Trigger: manual or scheduled
- Actions:
Render ChartwithChartset to0 1 5 2/1 2 5 3,Chart FormatBarorSparkline, optionalForeground#cc0000,#00cc00,#0000cc, optionalAnnotationandChart Bar StyleGlass.
Circle Progress with Glass Ring
- Actions:
Render ProgresswithProgress72,Progress FormatCircle,Chart Bar StyleGlass, optionalCaption.
Launcher Widget
- Trigger: manual run from Shortcuts
- Actions:
- Add
Render Widget - Set
Targettowidget1 - Set
TextandIconfor the visible widget state - Set
Action Kindtoopen-url - Set
Action Valueto the destination URL
- Add
Use run-shortcut with a Shortcut name to make the widget run another Shortcut when tapped. Use open-app with a macOS bundle identifier or run-command with a shell command for macOS-only launcher widgets.
Data Formatting Notes
- Progress expects
0...100. - Chart values should be numeric and in display order. For grouped sparkline/bar columns, separate series with
/(for example10 20 30/12 18 25); use Chart Format sparkline or bar. Up to four series and 128 points per series. - Chart Bar Style
Glassworks with sparkline/bar, waveform, range bar, matrix, delta charts, and with Progress FormatCircle(no chart field needed for circle glass). - Foreground comma-separated lists: first color for text/icons, remaining colors for grouped chart series.
- Colors accept hex/rgb/rgba style values.
- Table input should point to readable CSV/TSV/JSON content.
- Images can be local files or remote URLs.
- Action Kind accepts
open-url,open-app,run-shortcut, orrun-command. - Action Value must match the kind: URL for
open-url, bundle identifier foropen-app, Shortcut name forrun-shortcut, or shell command forrun-command.
If optional fields are omitted, those values are left unchanged (or reset by intent defaults where applicable).
Mixing with URL Scheme and CLI
You can combine integrations in one workflow:
- Use Shortcuts for user input and scheduling.
- Use URL scheme links for quick launcher-style actions.
- Use CLI in shell-centric workflows (build scripts, cron, CI agents).
Related docs:
iOS Shortcuts
All Shortcut actions are also available on iOS.


