FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Apple Notes - hack?
Re: Apple Notes - hack? [message #1914 is a reply to message #1913] Fri, 14 March 2025 13:48 Go to previous messageGo to previous message
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Gmail archive in 70GB mbox file; how to process for FT indexing?
Next Topic: Welcome to the FoxTrot Search User Forum
Goto Forum:
  


Current Time: Wed Apr 02 08:36:55 GMT+2 2025