hn.today

Show HN: Ledge.sh – Runnable Markdown Notes

ledge.sh154 points69 comments
Screenshot of Show HN: Ledge.sh – Runnable Markdown Notes

Ledge is a Markdown-first notebook aimed at developers and DevOps that runs shell commands, code, SQL, and AI prompts inline. Each note owns a persistent shell so cd, exported variables, virtualenvs and other state carry between runs; pressing a shortcut runs a fenced block and streams its output directly beneath. Notes can execute locally or on any remote host over SSH (the server holds the files and runs the shells), and mobile apps act as a window onto that server so jobs keep running when a laptop or phone is closed. Frontmatter keys (cwd, env, host, profile) control context, blocks can require confirmation or be marked norun, interpreters can be overridden per-machine, panes and workspaces preserve layouts, and common developer flows are shown with real examples (e.g., querying Stripe, running tests, release checklists).

Security and workflow are central: secrets live in named profiles outside the notes folder, locked notes encrypt their bodies with a passphrase so agents and syncs only see ciphertext, and Ledge pins SSH host keys and supports key-based authentication. Notes are plain files so syncing works with iCloud/Dropbox/git/Syncthing and backups can be encrypted to S3. An MCP server exposes notes to agents (with guarded access and no delete tool), and the project is open source (Apache‑2.0) with a one‑line server installer, cross‑platform clients, and features tailored to project runbooks, incident response, data exploration, and daily journals.

Read on ledge.sh69 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.