Macotron

Macotron does everything.

Free and open source. Built with Swift and QuickJS.

// ~/Macotron/plugins/tile.js
macotron.keyboard.on("Tile Left", "ctrl+opt+left", () => {
  const win = macotron.window.focused();
  macotron.window.moveToFraction(win.id, {
    x: 0, y: 0, w: 0.5, h: 1,
  });
});
Save the file. The hotkey is live.

Capabilities

Plugins

The catalog ships 73 built-in plugins. First launch copies the ones you pick into plugins/. Macotron writes an AGENTS.md next to them so a coding agent already knows the API. Open a file in the finder to read the script this site ships.

plugins

Host API

Everything hangs off macotron.*. Apple-shipped tools only. Plugins call these namespaces to tile windows, read sensors, and talk to models.