Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

never-slack

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...

Requirements

  • macOS
  • Xcode Command Line Tools — install once with xcode-select --install
  • make — included with Xcode Command Line Tools

Install

cd macos-handler
make build
open NeverSlack.app
  • make build compiles the Swift source and assembles NeverSlack.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

Test

Run the unit tests for the URL conversion logic:

cd macos-handler
make test

Silent on success. Prints a failure line for any case that doesn't match the expected output.

Rebuild

After any source changes, rebuild and re-open to re-register:

cd macos-handler
make build
open NeverSlack.app

Uninstall

cd macos-handler
make uninstall

Unregisters 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).

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages