22 comments

[ 2.6 ms ] story [ 57.5 ms ] thread
I've used Apple Notes for years because it syncs fast and stays out of the way. But when I'm writing in the terminal, there's always been friction getting Markdown into Apple Notes.

Existing tools were either bloated or read-only. So I built Stash: push a Markdown file to Apple Notes, pull changes back. It uses YAML frontmatter to track which note belongs to which file.

Built with Bash, AppleScript, and Pandoc. No databases, no daemons, no config files. Install via Homebrew. Happy to take suggestions and answer questions about the quirks I ran into along the way.

>Happy to take suggestions and answer questions about the quirks I ran into along the way. Got up out of bed from doomscrolling to play with/implement this! My less-technical partner tends to reach for Apple Notes and I have offered/threatened to make something, but they've kept (begrudgingly) relaunching VSCode after a "oof, I know it was just real quick." Thanks for the inspiration/headstart.
That's so great to hear! I'd love to see your next project
Sounds very useful! Does it handle images in both directions ?
Unfortunately not yet, but that's a great idea! Could you open an issue-or better so, PR—for this?
I will have to try this.

Question: is there a way to make this automatic on state changes? I had an issue recently where a child accidentally overwrote my huge Apple notes and I couldn’t undo the change, or restore my history

I lost a lot of work

Damn! I'm so sorry to hear that :(( Happened to me too and I also find it kinda frustrating. As you can see on the README, my first backlog item is to add a diff mechanism. Would also love for help but either way I'm going to add it. In the meanwhile all I can offer is to buy you a coffee and apologize <3
Thanks. I haven’t used AppleScript before but will try to find time to take a look, learn, and maybe figure it out!
on my iphone the readme ascii art title gets truncated to just "STASI" :-)

been looking for something like this! will definitely check it out.

Great! Looking forward to getting some issues and reviews :)
This is awesome! I’ve been looking for a way to batch export my notes out of Apple notes, will this work for that purpose?

I totally agree with you that most notes apps miss the mark. I’m working on one now which I hope satisfies the same requirements as Apple notes(dead simple, iCloud sync, free) but has some things I want (improved search, first class markdown support).

I’ve been using it as my daily driver for a while, but it’s not quite ready for other users yet. I wrote a bit about it in my year in review[1] under the section “Not Another Notes App!”.

1. https://emmettmcdow.com/posts/2025-in-review

What an awesome project! That's a great idea and it could easily incorporate it, I'd love to help out, let's talk(:
Awesome will try this for sure!
How is this different to Obsidian which has a nice UI, supports importing Apple Notes and iCloud Sync works and is free.
Obsidian still does not support iOS widgets. I use the app, but it's honestly still a major annoyance, since I cannot add to-dos with one swipe as I would be able to do with Apple Notes.
Maybe consider a name change. There is another very popular app with the same name which does some other stuff...
I find this quite amusing
Nice idea, although I fear it will break due to AppleScript. I might take some time to investigate doing it all as a Swift CLI.
Even though: "Forecasts may tell you a great deal about the forecaster; they tell you nothing about the future". But historically speaking, AppleScript is pretty stable.
I would dispute that since many of my automations have broken throughout the years as Apple tweaked their applications.