frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Stash – Sync Markdown Files with Apple Notes via CLI

https://github.com/shakedlokits/stash
68•shuka•1d ago

Comments

shuka•1d ago
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.

angst_ridden•1d ago
How hard would it be to extend this to support bulk export of Apple Notes?
nozzlegear•1d ago
I love Apple Notes, but I also love writing in vim; looks like I can finally reconcile those two things thanks to your project. Nice work!

> questions about the quirks

I've used a decent amount of AppleScript to automate things on my Mac, so I know it's a powerful tool but not easy to just jump into, even when you're already familiar with that bizarre syntax. What kinds of quirks did you run into?

Someone•1d ago
“Fun”. In the latest MacOS, Apple Notes supports markdown export (https://support.apple.com/en-md/guide/notes/not201900c07/mac), but not through its AppleScript dictionary.

So yes, it seems you do need Pandoc to do html-to-markdown and vice versa.

happyopossum•23h ago
This looks cool, so obviously I have questions!

Does it support pushing to personal/home/this-is-my-note.md, or does everything wind up in the Notes root?

It appears notes have to start out externally in order to "stash pull" them, is that the case?

thanks!

nemosaltat•12h ago
>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.
d4rkp4ttern•7h ago
Sounds very useful! Does it handle images in both directions ?
stogot•1d ago
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

ferfumarma•1d ago
I think the name is not unique enough
viccis•1d ago
Yeah there's a popular self hosted media server designed for... other purposes
kbouck•1d ago
on my iphone the readme ascii art title gets truncated to just "STASI" :-)

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

mcdow•1d ago
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

bnchrch•1d ago
Came here to find out exactly this!

This is an awesome tool. Would love to get started in 2026 with all my notes (without an id) being synced to a markdown folder / repo

dc_giant•1d ago
Awesome will try this for sure!
giancarlostoro•1d ago
How is this different to Obsidian which has a nice UI, supports importing Apple Notes and iCloud Sync works and is free.
devilsdata•1d ago
The big benefit is that you get to use the Apple Notes app. I prefer Apple Notes on my phone, to be honest. I haven't used Obsidian's app on iOS in over a year.

I personally put all my work-related dev notes in Obsidian, and all my life-related quick notes in Apple Notes.

daotoad•1d ago
I was about to say "Obsidian is free as long as you don't use it for work."

But it turns out that that is no longer the case. https://obsidian.md/blog/free-for-work/

Obsidian is now actually free for everyone.

linkage•21h ago
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.
dtkav•17h ago
Widgets are in the current insider build, so they should be available to everyone soon.
preezer•23h ago
Maybe consider a name change. There is another very popular app with the same name which does some other stuff...
rcarmo•13h ago
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.

Show HN: An LLM response cache that's aware of dynamic data

https://blog.butter.dev/on-automatic-template-induction-for-response-caching
3•raymondtana•28m ago•0 comments

Show HN: I built a "Do not disturb" Device for my home office

https://apoorv.page/blogs/over-engineered-dnd
63•quacky_batak•4d ago•30 comments

Show HN: A to Z – A word game I built from a childhood road trip memory

https://a26z.fun/
5•jackhulbert•2h ago•0 comments

Show HN: Free and local browser tool for designing gear models for 3D printing

https://gears.dmtrkovalenko.dev
33•neogoose•12h ago•8 comments

Show HN: Tool for Testing MCP Servers

https://www.mcp-workbench.ai/
2•opiniateddev•36m ago•0 comments

Show HN: bikemap.nyc – visualization of the entire history of Citi Bike

https://github.com/freeman-jiang/bikemap.nyc
6•freemanjiang•48m ago•2 comments

Show HN: KeelTest – AI-driven VS Code unit test generator with bug discovery

https://keelcode.dev/keeltest
24•bulba4aur•8h ago•9 comments

Show HN: SMTP Tunnel – A SOCKS5 proxy disguised as email traffic to bypass DPI

https://github.com/x011/smtp-tunnel-proxy
120•lobito25•21h ago•40 comments

Show HN: Comet MCP – Give Claude Code a browser that can click

https://github.com/hanzili/comet-mcp
25•hanzili•3d ago•25 comments

Show HN: The kissing number theorem predicts particle masses from sphere packing

https://colab.research.google.com/drive/1_zDIOONfs4WvnpG7GDEH6hzSM25Fsu93?usp=sharing
1•AlekseN•7m ago•1 comments

Show HN: VaultSandbox – Test your real MailGun/SES/etc. integration

https://vaultsandbox.com/
52•vaultsandbox•1d ago•9 comments

Show HN: Seapie – a Python debugger where breakpoints drop into a REPL

https://github.com/hirsimaki-markus/seapie
7•markushirsimaki•3h ago•1 comments

Show HN: Tylax – A bidirectional LaTeX to Typst converter in Rust

https://github.com/scipenai/tylax
16•democat•5h ago•2 comments

Show HN: Mantic.sh – A structural code search engine for AI agents

https://github.com/marcoaapfortes/Mantic.sh
73•marcoaapfortes•1d ago•34 comments

Show HN: 48-digit prime numbers every git commit

https://textonly.github.io/git-prime/
65•keepamovin•6d ago•52 comments

Show HN: I built a 3D World Map and multiplayer geography game using Three.js

https://www.mixora.xyz
2•qwrwenm•4h ago•0 comments

Show HN: Make audio loops online

https://makeloops.online/
64•bilalba•2d ago•22 comments

Show HN: Prism.Tools – Free and privacy-focused developer utilities

https://blgardner.github.io/prism.tools/
362•BLGardner•1d ago•99 comments

Show HN: Stash – Sync Markdown Files with Apple Notes via CLI

https://github.com/shakedlokits/stash
68•shuka•1d ago•21 comments

Show HN: Tailsnitch – A security auditor for Tailscale

https://github.com/Adversis/tailsnitch
271•thesubtlety•2d ago•28 comments

Show HN: KektorDB – Lightweight, Embeddable Vector+Graph Database Written in Go

https://github.com/sanonone/kektordb
2•san0n•6h ago•1 comments

Show HN: DoNotNotify – Log and intelligently block notifications on Android

https://donotnotify.com/
339•awaaz•2d ago•163 comments

Show HN: Can you hit replacement? A fertility SIM with cited sources

https://www.tfrsim.com/
3•joshuafkon•6h ago•0 comments

Show HN: llmgame.ai – The Wikipedia Game but with LLMs

https://www.llmgame.ai
24•jmcallister•1d ago•21 comments

Show HN: Jax-JS, array library in JavaScript targeting WebGPU

https://ss.ekzhang.com/p/jax-js-an-ml-library-for-the-web
79•ekzhang•1d ago•21 comments

Show HN: Foundertrace – chain of YC startups founded by its employees

https://foundertrace.com/
38•loondri•3d ago•13 comments

Show HN: Arabic Calligraphy Generator – 11 styles, free, no signup

https://arabiccalligraphygenerator.online/
2•zaochen1224•7h ago•1 comments

Show HN: GPU Cuckoo Filter – faster queries than Blocked Bloom, with deletion

https://github.com/tdortman/cuckoo-filter
31•tdortman•23h ago•3 comments

Show HN: A simple way to find open source issues to contribute to

https://K-dash.github.io/contrib-fyi/
2•K-dash•7h ago•0 comments

Show HN: Milkyboard – Synth Keyboard with Milkdrop Visualizer

https://milkyboard.com/
2•amadeuspagel•7h ago•0 comments