Overrides the slack:// protocol handler on macOS to open Slack links in the browser instead of the desktop app.
slack://channel?team=T123&id=C456&message=... → https://app.slack.com/messages/C456/p...
- macOS
- Xcode Command Line Tools — install once with
xcode-select --install make— included with Xcode Command Line Tools
cd macos-handler
make build
open NeverSlack.appmake buildcompiles the Swift source and assemblesNeverSlack.app- Opening the app registers it as the default
slack://handler via Launch Services - On macOS Sonoma or later, a system dialog may ask you to confirm — accept it
- The app has no UI and quits immediately after registering
Run the unit tests for the URL conversion logic:
cd macos-handler
make testSilent on success. Prints a failure line for any case that doesn't match the expected output.
After any source changes, rebuild and re-open to re-register:
cd macos-handler
make build
open NeverSlack.appcd macos-handler
make uninstallUnregisters NeverSlack.app from Launch Services and deletes the app bundle. The slack:// handler falls back to whatever was registered before (typically Slack.app if installed).