Type =apfel("summarize this") in your markdown. Watch it stream inline. No API keys. No cloud.
=math(365*24) becomes 8760. =apfel() calls stream AI text. Both render as green spans.
Toggle to see raw markdown. Formula syntax is plain text. Open in any editor.
Headings, bold, lists — it all renders inline.
=apfel(summarize this) or =math(365*24) anywhere in your text.
Pale green spans. Cached. Reproducible via seeds.
Free. Signed and notarised. Apple Silicon only.
Unzip, drag to Applications, open.
Download free (arm64)Signed and notarised. SHA-256 in each release.
=math(2+2) and press Returnbrew install Arthur-Ficial/tap/apfelpad
Updates with brew upgrade apfelpad.
curl -fsSL https://raw.githubusercontent.com/Arthur-Ficial/apfelpad/main/scripts/install.sh | zsh
git clone https://github.com/Arthur-Ficial/apfelpad.git cd apfelpad && make install
Results appear right where you type. No output pane.
No API keys. No cloud. Nothing leaves your Mac.
=apfel("prompt", 42) gives the same output every time.
Re-opening shows results instantly. Change the prompt to re-evaluate.
Type =apfel(hello world). The parser adds the quotes.
.md files on disk. Open in any editor.
=math() works without AI. Only =apfel() formulas need the on-device model.
Optional update check via api.github.com (togglable in settings). Every AI call goes to localhost. No telemetry. No accounts. No cloud inference. Ever.
MIT-licensed. Use it, fork it, ship it.