Ledge.sh logo

Ledge.sh

Runnable markdown notes for developers

A markdown notebook that runs shell, code, SQL, and AI prompts in place for developers and DevOps.

AI developer platformsFreemarkdown notesrun codeshell commandsai prompts
Ledge.sh homepage screenshot
Ledge.sh homepage (ledge.sh), captured 2026-10-02

What is Ledge.sh?

Ledge is a markdown notebook designed for developers and DevOps who keep commands in their notes. You write a note, press ⌘↩ on a code block, and its output streams in beneath it. It runs in your shell, in your project, on your machine, or on a server. Each note has its own persistent shell, so a cd, exported variable, or activated virtualenv carries into the next run.

To get started, you download the app for Apple Silicon or mobile, or install the Ledge Server on a machine over ssh. The server holds the files and runs the shells, while the app on your computer is the window onto it. You can also run blocks on other machines by adding a host line to the frontmatter. No account or service is needed—just ssh.

Ledge is free and open source under Apache-2.0, supporting macOS on Apple Silicon, Linux, Windows 11 with WSL, iPhone and iPad, and Android (beta). It suits developers, DevOps, and anyone who keeps runnable commands in notes and wants to execute them without leaving the document.

Ledge.sh features

  • Run code blocks in place: Press ⌘↩ on a code block to run it and stream output beneath it.
  • Persistent shell per note: Each note has its own shell, so environment changes carry across runs.
  • Terminal drawer: Send a block to a second shell you can keep typing in with ⇧⌘↩.
  • Remote server support: Point Ledge at a machine over ssh to keep notes and run shells there.
  • Mobile app: Read, edit, and run notes on iPhone and iPad with live preview and search.

What you can do with Ledge.sh

  • Run curl commands to fetch API data and see results directly in your notes.
  • Execute SQL queries against a database and view the output beneath the block.
  • Trigger AI prompts from notes to generate updates or summaries.
  • Manage a homelab by running commands like htop on a remote server.

How to get started with Ledge.sh

  1. Download the Ledge app for Apple Silicon or mobile from the website.
  2. Write a markdown note and add a code block with a language like sh, python, or sql.
  3. Press ⌘↩ on the block to run it and see output stream beneath it.

Tips for better results with Ledge.sh

  • Start each note with frontmatter that sets cwd and env so your shells begin in the right directory with the right variables, avoiding repeated setup commands.
  • Use Ledge's persistent shell per note to keep exported variables and virtualenvs active across blocks, so you can chain commands without redefining context each time.
  • Send interactive blocks like sudo prompts or confirmations to the terminal drawer with ⇧⌘↩, then type responses directly in that second shell.
  • Run long tasks on a remote server via ssh with Ledge Server, so blocks keep executing even after you close your laptop, and check output later.

Ledge.sh pricing

Ledge.sh is free to use according to its website.

What to check before you rely on Ledge.sh

  • Verify your platform is supported: Ledge lists macOS on Apple Silicon, Linux, Windows 11 with WSL, iPhone, iPad, and Android beta, but not Intel Macs.
  • Confirm the free plan covers what you need, since the site says free and open source but does not state any limits on notes, blocks, or server usage.
  • Check that your ssh setup matches Ledge's model, as it requires direct ssh access to a server and does not mention support for proxies or jump hosts.
  • Review the Apache-2.0 license terms before relying on Ledge for proprietary work, since open source licenses can affect how you use and distribute the tool.

Who Ledge.sh is for

Ledge.sh suits developers, devops, system administrators and data analysts. If that is not you, the AI developer platforms below may fit better.

Similar tools compared with Ledge.sh

ToolWhat it isPricing
Ledge.shRunnable markdown notes for developersFree
SiVideoAPIUnified API for top AI video modelsFreemium
OpenSIAI model comparison and pricing toolSee website
OpenRouterUnified API for many AI modelsFreemium
OllamaRun open models locally or cloudFreemium

Ledge.sh FAQ

What can I run in Ledge notes?

You can run shell commands, code in languages like Python, SQL queries, and AI prompts directly in your markdown notes. The output streams in beneath each block.

Is Ledge free to use?

Yes, Ledge is free and open source under the Apache-2.0 license. You can download it for macOS, Linux, Windows, iPhone, and Android without paying.

How does Ledge work with remote servers?

You install Ledge Server on a machine over ssh, and the server holds the files and runs the shells. Your app connects to it, and you can run blocks on that server.

Does Ledge support mobile devices?

Yes, Ledge runs on iPhone and iPad as a window onto a server. The phone holds no notes but can read, edit, and run blocks on the server.

What can Ledge.sh export or connect to?

Ledge.sh runs shell commands, code, SQL, and AI prompts directly in your notes. The website does not mention exporting notes to other formats or connecting to external services beyond running commands on your own machine or a remote server over ssh. Check the docs or GitHub for any export or integration details.

Does Ledge.sh require an account or a service to use?

No, Ledge.sh does not require an account or a service. You download the app for Apple Silicon or mobile, or install the Ledge Server on a machine over ssh. The only thing between you and the server is ssh, and no port needs to be opened. The website states no account or service is needed.

What does the free plan of Ledge.sh include?

Ledge.sh is free and open source under Apache-2.0. The website does not mention any paid plans or limitations, so the free version includes all listed features: running code blocks in place, persistent shell per note, terminal drawer, remote server support, and mobile apps. Check the GitHub repository for any future changes.

Ledge.sh alternatives

Other tools you can compare with Ledge.sh. Each does a similar job to Ledge.sh with a different focus, plan or price.

SiVideoAPI logo

SiVideoAPISi family

One key and endpoint to generate videos from top models like Veo and Kling, paying per second.

Freemium

OpenSI logo

OpenSISi family

Compare up to three AI models side by side on price, context, and features to choose the right one.

OpenRouter logo

OpenRouter

One API key gives you access to 500+ AI models across 80+ providers with automatic fallback and cost control.

Freemium

Ollama logo

Ollama

Lets you run open AI models locally or in the cloud, keeping your data private while cutting costs.

Freemium

fal logo

fal

Access 1000+ image, video, audio, and 3D models through one API for developers.

Paid

Groq logo

Groq

Groq runs large language models at high speed for developers building AI applications.

LangChain logo

LangChain

LangChain helps you build, test, deploy, and monitor AI agents across the full development lifecycle.

Together AI logo

Together AI

Run, fine-tune, and scale open-source AI models on a full-stack platform built for developers.

Pinecone logo

Pinecone

A managed vector database that gives AI agents fast, accurate, and scalable knowledge retrieval.

Freemium

Replicate logo

Replicate

Run, fine-tune, and deploy open-source AI models through a simple cloud API with one line of code.

Freemium

You.com logo

You.com

Gives your agents and LLMs live web search, clean content, and grounded answers with fresh data.

Freemium

Resemble AI logo

Resemble AI

Detects AI-generated audio, video, and images in real time for enterprises to prevent fraud and verify content.

See every tool in this category

ChatbotsWritingImage generatorsPhoto editingVideo generatorsVideo editingAvatarsVoiceMusicTranscriptionCodingApp buildersAgentsSearchResearchStudentsDataProductivityPresentationsDesignMarketingBusinessCareers3D & gamesTranslationDev platformsDetectors
NewFree AI toolsSubmit a tool