Skip to main content
Glama
README.md
<div align="center">
  <img src="rook-landing/public/icon-512.png" width="96" height="96" alt="Rook" />

  <h1>Rook</h1>

  <p><strong>The notes app made for code</strong></p>

  <p>For the code you write, paste, and keep around. Rich text and code blocks, syntax highlighting, and various themes.</p>

  <p><img src="media/mcp-mark.svg" width="18" height="18" alt="" /> <strong><a href="https://userook.app/mcp">Rook MCP (beta)</strong> now available:</a> Claude Code, Cursor, Claude Desktop, and Gemini CLI can save content directly to your Rook inbox.</p>

  <p>
    <a href="https://userook.app"><strong>Download free for macOS</strong></a>
  </p>

  <p>
    <a href="https://apps.apple.com/us/app/rook-code-notes/id6766067055?mt=12&itscg=30200&itsct=apps_box_badge&mttnsubad=6766067055">
      <picture>
        <source media="(prefers-color-scheme: dark)" srcset="rook-landing/public/download-on-the-app-store-en-us/white.svg" />
        <img src="rook-landing/public/download-on-the-app-store-en-us/black.svg" alt="Download on the Mac App Store" height="50" />
      </picture>
    </a>
  </p>

  <p align="center">
    <img alt="macOS" src="https://img.shields.io/badge/macOS-14+-000000?logo=apple&logoColor=white" />
    <img alt="Swift" src="https://img.shields.io/badge/Swift-6-F05138?logo=swift&logoColor=white" />
    <img alt="Status" src="https://img.shields.io/badge/status-available-2D6A4F" />
    <a href="https://github.com/maryamtb/rook/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/maryamtb/rook?style=flat&color=E8962E" /></a>
  </p>

  <br />

  

  <img src="media/git-mockup.png" alt="Rook note showing three ways to undo the last git commit" width="900" />

</div>

## Features

- **Code block:.** 17 languages with syntax highlighting
- **Rich text + code:** Headings, lists, todos, code blocks
- **5 themes:** Dark, Light, Terminal, Paper, Midnight
- **Local and private:** No cloud, no account, your machine

<br />

<img src="media/dsa-paper.png" alt="Rook editor with the Two Sum interview problem and Python solution" width="900" />


## Keyboard shortcuts

**Notes:** <kbd>⌘N</kbd> new · <kbd>⌘F</kbd> search · <kbd>Space</kbd> preview · <kbd>⌘⇧⌫</kbd> delete

**Editor:** <kbd>⌘⇧↵</kbd> code block · <kbd>⌘X</kbd> cut line · <kbd>⌘⌫</kbd> clear line · <kbd>⌥Click</kbd> multi-cursor

**Navigation:** <kbd>⌘↑</kbd> top · <kbd>⌘↓</kbd> bottom · <kbd>⌘&#92;</kbd> toggle sidebar

**View:** <kbd>⌘=</kbd> zoom in · <kbd>⌘-</kbd> zoom out

**App:** <kbd>⌘,</kbd> settings · <kbd>⌘/</kbd> shortcuts cheatsheet · <kbd>⌘Z</kbd> undo · <kbd>⌘⇧Z</kbd> redo

## Community notes

Drop-in Markdown cheatsheets for the CLIs and topics developers use every day. Browse [`community-notes/`](community-notes/) or open a PR to add one. See [CONTRIBUTING.md](CONTRIBUTING.md) for the format.

The Rook macOS app itself is a closed-source Swift project distributed as a signed binary via the [website](https://userook.app) and GitHub Releases.

## Bugs and feature requests

Found a bug or want a feature? [Open an issue](../../issues/new/choose) and pick a template.

## Discussions

Questions, ideas, or just say hi in [Discussions](../../discussions).

## Changelog

See [userook.app/changelog](https://userook.app/changelog).

## License

Contents of this repository are released under the [MIT License](LICENSE). The compiled Rook macOS application is proprietary and distributed separately.