AdanotchDocs
Reference

notify, run, webhook and adanotch:// links

Send notifications to the island from the terminal, scripts, CI hooks and Shortcuts; show that a long command is running and how it ended.

You can wire the island into your automations without writing an extension. There are four ways: adanotch notify shows a notification, adanotch run follows a command while it runs, the local webhook takes a curl call from scripts and CI hooks, and adanotch:// links do the same jobs. All of them send the island only text and an SF Symbol.

What you need

The command line tool must be installed (Settings › Developer) for notify and run, the From outside module must be on (Settings › Modules › System and events › External notifications), and Adanotch must be running. adanotch:// links work without the command line tool too.

notify

Shows a short event on the island.

adanotch notify "<title>" [--icon <sf-symbol>] [--tone success|warning|error] [--duration <s>]
OptionMeaning
--iconAn SF Symbol name, such as checkmark or exclamationmark.triangle.
--tonesuccess, warning or error. Shown neutral when omitted.
--durationHow many seconds it stays. Clamped to 1–10, default 3.

The title is at most 80 characters; the rest is cut. At most one notification a second is shown: when several arrive back to back, the extras are quietly dropped.

npm test && adanotch notify "Tests passed" --tone success --icon checkmark
npm test || adanotch notify "Tests failed" --tone error --duration 8

run

Runs a command in this terminal, shows it on the island while it runs and reports how it ended with its exit code. It exits with the command's own exit code, so you can use it in scripts and && chains as is.

adanotch run -- npm run build
adanotch run -- swift test --parallel

The card on the island has a button that brings the terminal back. Ctrl-C reaches the command; adanotch waits to report the result.

To also show a command's steps or let it ask for approval, use adanotch agent wrap: run only shows that it's running and how it ended.

Local webhook

For curl, CI hooks and any tool that can send an HTTP request. It is off until you turn it on (Settings › Modules › System and events › Local webhook) and listens only on 127.0.0.1:41921, so only this Mac can reach it.

curl 127.0.0.1:41921/adanotch -d "title=Deploy done&status=success"
curl 127.0.0.1:41921/adanotch -d '{"title":"Build failed","status":"failed","duration":8}'

POST /adanotch is the only route. Send the fields as a form body, a query string or top-level fields of a JSON body.

FieldRequiredMeaning
title (or message, text)YesThe text to show (at most 80 characters).
status or toneNosuccess, warning or error. It also understands what CI systems say: ok, pass, passed, done show as success; warn, unstable as warning; fail, failed, failure, broken as error.
iconNoAn SF Symbol name.
durationNoSeconds; clamped to 1–10, default 4.

The answer is 200 ok when it was shown. 400 means the title is missing and 429 means more than one event arrived in a second.

Safe by design

Web pages can reach 127.0.0.1 too, so the webhook refuses anything that looks like it came from a browser: any Origin or Sec-Fetch-* header, a Host that is not loopback, and every method except POST. Bodies are limited to 16 KB.

You can do the same jobs with a link, without the command line tool. They work with the open command or the Open URLs action in Shortcuts.

notify

adanotch://notify?title=Backup%20done&icon=externaldrive&tone=success&duration=5
ParameterRequiredMeaning
titleYesThe text to show (at most 80 characters).
iconNoAn SF Symbol name.
toneNosuccess, warning or error.
durationNoSeconds; clamped to 1–10, default 3.
open "adanotch://notify?title=Deploy%20done&tone=success"

Spaces and non-ASCII characters in the title must be encoded in the link (%20, %C3%A7). Pass the link to open in quotes.

ext

Sends a command to an installed extension: adanotch://ext/<extension-id>/<command>?data=<data>. See the ext command.

Using it from Shortcuts

In the Shortcuts app, put one of the links above in the Open URLs action and the island shows it when the shortcut runs. Example: a shortcut that runs every morning at 09:00, reads the first meeting on your calendar and shows it with adanotch://notify?title=….

Adanotch also has its own Shortcuts action, Adada göster (the name is Turkish in every language). It takes a title and an optional SF Symbol, so you don't write a link, and shows the title for 3 seconds.

Limits

  • Only plain text and an SF Symbol are shown; you can't send images, links or buttons.
  • At most one notification a second. The extras are dropped.
  • Nothing shows while the module is off or the app isn't running.

On this page