Skip to content

asimov-modules/asimov-apple-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

ASIMOV Apple Module

License Compatibility Package

ASIMOV module for Apple devices.

πŸ› οΈ Prerequisites

  • Rust 1.85+ (2024 edition)

⬇️ Installation

Installation from Source Code

cargo install asimov-apple-module

πŸ‘‰ Examples

asimov-apple-notes-emitter

Extracts all Apple Notes and emits one JSON object per line (JSONL).

Each note includes:

  • @id (stable URN)
  • name (title)
  • text (cleaned plain text converted from HTML)
  • dateCreated
  • dateModified
  • isPartOf (folder)
  • account (iCloud, On My Mac, Gmail, etc.)
  • source: "apple-notes"

Basic usage

asimov-apple-notes-emitter

This prints JSONL to stdout, suitable for pipelines.

Pretty-print with jq

asimov-apple-notes-emitter | jq .

Control text wrapping

asimov-apple-notes-emitter --wrap-width 120 | jq .

Filter for a specific folder

asimov-apple-notes-emitter | jq 'select(.isPartOf == "Work")'

Save to file

asimov-apple-notes-emitter > notes.jsonl

πŸ“¦ JSON Output Example

{
  "@type": "CreativeWork",
  "@id": "urn:apple:notes:note:12345-ABCDE",
  "name": "Shopping List",
  "text": "Milk\nEggs\nBread",
  "dateCreated": "2025-01-20 13:30:00 +0000",
  "dateModified": "2025-01-20 14:10:00 +0000",
  "isPartOf": "Personal",
  "account": "iCloud",
  "source": "apple-notes"
}

πŸ‘¨β€πŸ’» Development

git clone https://github.com/asimov-modules/asimov-apple-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

About

🚧 ASIMOV module for Apple devices.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •