Menu bar interface for a local Apache
httpdserver.
LocalSwitch is an open source macOS interface for apachectl written in Swift.
Homebrew Cask (Recommended)
brew cask install dafuqtor/tap/localswitchThis script just downloads LocalSwitch to the
Applicationsfolder. Additionaly, you lose auto-updates.
curl -sL git.io/localswitchinst | shThings shown in menu are obvious, but you need to know some more:
-
RMB click · visit
<username>.localif the server is off, turns it on
-
Double click · open
~/Sites/folderdragging a file over the Status Item does the same thing
-
MiddleClick · switch server state
Switch server state using Spotlight Search
or just open LocalSwitch when it's already running
⌘Space · type ls · hit Enter
