Show HN: Apple Notes Liberator – Extract Notes.app Data and Save It as JSON
I wrote a similar tool in Python a few weeks ago, which uses AppleScript to liberate the data and saves it to a SQLite database: <a href="https://datasette.io/tools/apple-notes-to-sqlite" rel="nofollow">https://datasette.io/tools/apple-notes-to-sqlite</a><p>I didn't actually know AppleScript before writing this tool... but it turned out ChatGPT knew it well enough to unblock me and provide me with exactly the code I needed to build the rest of the project! <a href="https://til.simonwillison.net/gpt3/chatgpt-applescript" rel="nofollow">https://til.simonwillison.net/gpt3/chatgpt-applescript</a><p>Apple Notes Liberator creates a copy of the SQLite database and then runs queries against that directly to extract the data.<p>I chose not to do that (despite being all-in on SQLite for everything) because I worry about future changes to the software baking my script - I figured the AppleScript interface was less likely to have breaking changes in the future.