4 open-source alternatives ranked by real activity

Open-source Magnet alternatives

A curated, ranked list of the 4 best open-source alternatives to Magnet.

The best open-source alternative to Magnet is Rectangle. If that doesn't suit you, other good options are Amethyst, Hammerspoon and Slate.

Commercial alternatives to Magnet include BetterTouchTool, Raycast, Moom and Divvy. See all 7.

Magnet alternatives are mainly productivity tools, but some are also utilities & system tools and workflow automation tools. 2 of them shipped code in the last 30 days, 4 can be self-hosted, and 3 use a permissive licence.

Last updated November 12, 2026 · ranked by GitHub stars, growth and recent commits

Rectangle

Rectangle is a macOS window manager that moves and resizes windows using keyboard shortcuts and drag-to-edge snap areas.

GitHub stars
30k
Last commit
2 days ago
Latest release
v2.0.4
rectangleapp.comRectangle homepage screenshot

Rectangle manages application windows on macOS and descends from the earlier Spectacle app. It lets you move and resize windows with keyboard shortcuts or by dragging a window to a screen edge or corner, where a footprint previews the position it will snap to. It is written in Swift and the repository lists its license as Other.

Snap areas map screen regions to actions: left or right edges give halves, the top edge maximizes, corners give quarters, and the bottom thirds give respective thirds or two-thirds. Optional settings turn on window animation, which is marked experimental, and a blurred footprint preview. Current versions require macOS 14 or later, with older releases available for macOS 10.13 to 13. It can be installed from a downloadable dmg on the releases page or with a Homebrew cask.

Key features

  • Keyboard shortcuts to snap and resize windows
  • Drag-to-edge snap areas with preview footprint
  • Halves, quarters, thirds and maximize actions
  • Optional experimental window animation
  • Installs by dmg download or Homebrew cask
  • Based on the Spectacle window manager

Amethyst

Amethyst is a tiling window manager for macOS that automatically arranges windows in a tiled layout, inspired by xmonad.

GitHub stars
16k
Last commit
7 days ago
Latest release
v0.25.0
Licence
MIT
ianyh.comAmethyst homepage screenshot

Amethyst is a tiling window manager for macOS that automatically arranges open windows in a tiled layout, similar to the xmonad window manager for Linux. It requires macOS 10.15 or later and must be granted accessibility permissions to function.

The application is designed for users who prefer keyboard-driven window management. It provides configurable keyboard shortcuts for cycling through layouts, moving focus, resizing panes, and moving windows between spaces. It can be installed via direct download or Homebrew Cask.

Key features

  • Automatic tiling of windows
  • Keyboard shortcuts for layout cycling, focus movement, and window swapping
  • Support for multiple Spaces and moving windows between them
  • Configurable modifier keys (mod1, mod2, mod3, mod4)
  • Force reevaluation of window layout
  • Relaunch command via keyboard shortcut

Hammerspoon

Hammerspoon is a macOS automation tool that exposes system functions to Lua scripts, letting you control windows, apps, hotkeys and more.

GitHub stars
16k
Last commit
4 mo ago
Latest release
1.1.1
Licence
MIT
Self-hosted
Yes
hammerspoon.orgHammerspoon homepage screenshot

Hammerspoon is a free automation tool for macOS that links the operating system to a Lua scripting engine. By itself it does nothing; you create an init.lua file in a .hammerspoon folder in your home directory and fill it with scripts that tell your Mac what to do.

Its flexibility comes from a large set of extensions that expose pieces of system functionality to Lua, such as window management, application control, keyboard shortcuts and reactions to system events. People use it to build custom hotkeys, tile windows, automate repetitive tasks and wire apps together in ways the stock system does not allow. A Discord server and shared configurations help newcomers get started.

Hammerspoon is MIT-licensed and installs either by dragging the app into Applications or with the Homebrew cask. It runs locally on macOS only, so there is no server to manage and no hosted version, and it suits power users and developers who like to script their desktop.

Key features

  • Lua scripting bridge to macOS
  • Window management and layout control
  • Custom hotkeys and keyboard automation
  • Application and system event hooks
  • Modular extensions for system functions
  • Installable via Homebrew cask

Pricing: Free and open source under the MIT license.

Slate

Slate is an open source file storage app for collecting, organising and sharing files on the web, built on IPFS, Filecoin and Textile.

GitHub stars
520
Last commit
3 yr ago
Licence
MIT
Hosted version
Available

Slate is an open source storage system for data, meant to make it easy to collect, organise and share files anywhere on the web. The project describes itself as the first open source file storage application designed to encourage collaboration and research across a distributed network.

It is built on IPFS, Filecoin and Textile, with the aim of a data storage and transactions network that is open and usable for everyone. The stated primary objective is a strong experience for uploading, collecting and sharing media, with more file types to follow.

Users create an account on the hosted site to try it. Every account can use the Developer API to upload files with code and HTTP, and the documentation sits under the API tab after logging in. The code is MIT licensed, written in JavaScript with Next.js and React, and the GitHub description marks it as work in progress.

Key features

  • Collect, organise and share files on the web
  • Built on IPFS, Filecoin and Textile
  • Developer API for uploading files over HTTP
  • API available to every account
  • Public collections and user profiles

Commercial Magnet alternatives

Hosted, closed-source products that compete with Magnet.

Magnet alternatives: questions

What is the best open-source alternative to Magnet?
Rectangle is the top-ranked open-source alternative to Magnet on Enlisted: Rectangle is a macOS window manager that moves and resizes windows using keyboard shortcuts and drag-to-edge snap areas. Other strong options are Amethyst, Hammerspoon and Slate.
What are the best commercial alternatives to Magnet?
BetterTouchTool, Raycast, Moom, Divvy and Polyrouter are among the hosted, closed-source alternatives to Magnet listed on Enlisted, which lists 7 in total. Compare their pricing and features on each tool page.
Are these Magnet alternatives free?
All 4 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 1 also offers a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Magnet alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 2 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all