I've been playing around with [0] recently, which has been a good way to learn about how apple notes are structured on the back end as well
[0]: https://github.com/threeplanetssoftware/apple_cloud_notes_pa...
[0]: https://github.com/threeplanetssoftware/apple_cloud_notes_pa...
Maybe it was this https://github.com/xwmx/notes-app-cli