Skip to content
nimatime
·v1.0.0·Apache-2.0

Note Capture@axint/note-capture

Capture a quick note via Siri — body, optional title, folder, and tags

app-intentproductivity#notes#siri#shortcuts#productivity
GitHub-linked publisherCompiler 0.3.9Source includedDocs attachedValidated 21h agoPolicy clear for v1.0.0
Cloud report
0 installsSupports typescript
Validation healthy21h ago
0E / 0W / 0I · axint 0.4.28

Package activity is a directional signal based on registry install requests. Use source, validation, and publisher metadata before treating it as adoption proof.

Note Capture animated demo

Note Capture

Animated Registry demo · @axint/note-capture

v1.0.0
Live playground
Built in 42ms
Source
37 lines
Generated Swift
31 lines
axint typescript → Swift
README

@axint/note-capture

An App Intent for capturing a quick note from Siri or Shortcuts.

axint add @axint/note-capture

What it does

Takes a note body (required), an optional title, a destination folder (defaults to Inbox), and comma-separated tags. Returns a synthetic id plus normalized fields. The intent validates that the body isn't empty before your host app touches storage.

What you get

Compiling through Axint produces CaptureNote.swift with:

  • body, title, folder, tags parameters typed correctly
  • A perform() implementation that validates the body
  • Dialog phrases your host app can surface back to Siri

Storage

The template is storage-agnostic. In your host app's CaptureNote.perform(), hand the result off to your chosen store:

let stored = try await NoteStore.shared.save(
  title: result.title,
  body: result.body,
  folder: result.folder,
  tags: result.tags
)
return .result(
  dialog: IntentDialog(stringLiteral: "Saved \"\(stored.title)\"")
)

SwiftData, Core Data, CloudKit, and REST-backed stores all work the same way.

License

Apache-2.0