Re: Apple Notes - hack? [message #1914 is a reply to message #1913] |
Fri, 14 March 2025 13:48   |
mma165
Messages: 6 Registered: March 2025
|
Junior Member |
|
|
It's quite easy to do: just use Docker and the code here: https://github.com/threeplanetssoftware/apple_cloud_notes_pa rser?tab=readme-ov-file
In particular, for iCloud notes (which I think is a superset of all notes):
Navigate to `~/Library/Group Containers/group.com.apple.notes/`.
Look for the `NoteStore.sqlite` file and its associated files
Copy NoteStore.sqlite to some test directory.
Then, after installing Docker, you can do this:
docker run --rm \
-v "$(pwd)":/data:ro \
-v "$(pwd)"/output:/app/output \
ghcr.io/threeplanetssoftware/apple_cloud_notes_parser \
--file /[YOUR TEST DIRECTORY]/NoteStore.sqlite --one-output-folder --individual-files
Immediately after that, I created a separate index in FoxTrot just for this test directory. It had no problem indexing and then responding to queries of my apple Notes. With the '--individual-files' option each hit comes up as a separate html preview.
Trivial to create a script to do this on schedule using a plist and launchctl, using the actual NotesStore.sqlite location, or just using cron, at least on macOS.
-Malcolm
[Updated on: Fri, 14 March 2025 17:38] Report message to a moderator
|
|
|