Skip to content

Automation

Set up automatic sync to GitHub when Apple Notes is closed

Once automation is set up, you can automatically trigger Moire Sync when closing Apple Notes or by pressing a keyboard shortcut, without running it manually.

  1. Open the Shortcuts app.

  2. Click the Automation tab at the bottom.

  3. Click the + in the top right corner to create a Personal Automation.

  4. Find and select App from the list.

  5. Click Choose, find and select the Notes app.

  6. Check Is Closed.

  7. Check Run Immediately.

  8. Click Next.

  9. Search for and select Moire: Sync Notes to Github.

  1. Open the Shortcuts app.
  2. Find Moire: Sync Notes to Github and right-click to edit.
  3. Select the icon in the right-hand tab for details.
  4. In Keyboard Shortcut, set a key combination, such as ^S.
  5. Done! Now you can sync by pressing the keyboard shortcut while in Notes.

Once setup is complete, let’s test it:

  1. Open the Notes app and go to the Moire folder.

  2. Create a new note and write some content.

  3. Close the Notes app or trigger the keyboard shortcut.

  4. You should see the Shortcut icon flash, indicating that it is syncing.

  5. After a few minutes, visit your website; you should see the new note.

  • ✅ Lock screen / Exiting or closing the Notes app
  • ❌ Switching to another note (will not trigger)
  • Keyboard shortcut trigger
StepTime
Shortcut Upload3-5 seconds
GitHub Actions Build1-2 minutes
TotalApprox. 2 minutes

You have now completed the basic configuration for Moire!

You can now:

  • Write in Apple Notes
  • Trigger automatic sync
  • View published content on your website

Next, let’s look at how to personalize your site.