maclink

A link to anything on your Mac. Press ⌃⌥⌘L on a file, an email or a web page, and paste a link that takes you straight back to it. Made for Emacs org-mode, and useful everywhere.

Free · macOS 14 or later, Apple Silicon or Intel · Install steps

maclink runs on a Mac. Open quietpixel.dev/maclink on your Mac to install it.

~/Projects/Q4

  • Launch plan.md
  • Q4 budget.numbers
  • Interview notes.txt
launch.orgOrg

* Launch

** TODO Confirm the date with design

Capture an item on the left. Its link appears here.

-UU-:**-launch.orgAll(Org)

Click a link in the buffer to open it, like C-c C-o. Then rename and move the file, and open its link again.

Links that last

Move it. Rename it. Still there.

A file link holds a macOS bookmark, not a path. When a bookmark cannot follow the file, maclink tries the next step, and only asks you at the end.

  1. Bookmark Follows renames and moves, like an alias.
  2. Spotlight Searches by name and size.
  3. You pick Choose the file, and the link is fixed for good.

Emacs first

No package needed

Org opens unknown links with browse-url, which on a Mac calls open, which sends maclink:// links to maclink. So C-c C-o just works.

For nicer links and completion, add the small maclink.el from the repository. A read-only maclink CLI and a Raycast extension use the same links.

;; In an org file
* TODO Reply to Priya
  [[maclink://open/6F2C…][Re: Launch date]]

$ maclink latest --org
[[maclink://open/6F2C…][Re: Launch date]]

$ maclink search budget
maclink://open/91AE…  Q4 budget.numbers
The maclink search below its menu bar icon: three files and three web pages, each with a copy button, and a pin button next to the search field

Search

Every link, one shortcut away

Press ⌃⌥⌘K to search everything you captured. Copy or open a link, archive it with ⌘⌫, or pin the window to work through several.

Your links stay in a plain SQLite file on your Mac. No cloud, no account.

Install maclink

  1. Download the disk image. Open it and drag maclink to your Applications folder.
  2. Open maclink. It is not notarized by Apple, so macOS stops it the first time. Close the warning.
  3. Open System Settings › Privacy & Security, find the message about maclink, and click Open Anyway. You do this only once.
  4. Select a file in Finder and press ⌃⌥⌘L. The first time you use Finder, Mail, Safari or another app, macOS asks for permission. maclink uses it only to read what is in front of you.

maclink lives in the menu bar. Change both shortcuts in Settings. Future versions use the same signature, so your permissions stay after an update.