This is a simple script that turns a folder of your Apple notes into a website.
- Download the binary:
curl -L https://github.com/29decibel/notes-to-blog/releases/download/v0.1.4/notes-to-blog-mac.tar.gz -o notes-to-blog.tar.gz- Extract the archive:
tar -xzf notes-to-blog.tar.gz- Make it executable:
chmod +x notes-to-blognotes-to-blog <apple-notes-folder-name> <output-directory>Example:
notes-to-blog Writing ~/Sites/blogMaking sure you have bun installed.
curl -fsSL https://bun.sh/install | bash
# install dependencies
bun install
# build binary
bun run buildOnce you have the static files, you can easily deploy to Github Pages.
This folder has a simple publish script that will help you deploy to Github Pages.
- Create a new repository
your-name/a-blog-from-apple-noteson Github - Clone the repository to your local machine (example:
~/writings/a-blog-from-apple-notes) - Running
./publishwill deploy the static files to Github Pages
# publish git repository to Github Pages
./publish ~/writings/a-blog-from-apple-notesHere is an example site generated from Apple notes using Github pages (using custom domain):
- Single binary to simplify installation
- Generate RSS feeds
- Allow passing to custom CSS
- Allow more metadata control on each notes
No. Everything is done locally by running some AppleScript. It then process the exported JSON, then generate the static files.
Exported Apple notes HTML uses base64 encoded images. Which could be huge if the image is big (such as dng raw format).
For macOS less than 8GB RAM, it crashed a lot. bun seems to handle this much better. And a lot faster too.

