This is a simple blog that uses Apple Notes as a CMS. It's a proof of concept that uses Anyquery to query the notes and display them as a blog.
You can see a live example at https://til.julienc.me.
Anyquery is a SQL query engine that runs on pretty much any data source. It allows you to query data from different sources like Apple Notes, Google Sheets, Notion, and more.
The blog is an Astro project that uses SQL to query the notes. The notes are then stored as notes.json in the root of the project. The notes are then loaded by the Astro project and displayed as a blog.
This is only on macOS as it uses Apple Notes.
- Clone the repo
- Run
npm installorpnpm install - Install Anyquery
- Install the Apple Notes plugin for Anyquery. Run
anyquery plugin install notes - Run
exportNotes.shto export the notes tonotes.json - Run
npm run buildorpnpm run buildto build the project
You can edit src/config.js to change the title of the blog and the footer text.
Running ./deploy.sh will build the project and deploy it to Vercel.
The project is licensed under the MIT license. See the LICENSE file for more information.
Contributions are welcome! Feel free to open an issue or a pull request.
