Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artginzburg-archive/LocalSwitch
Menu bar interface for apachectl
https://github.com/artginzburg-archive/LocalSwitch
apache apache-httpd apachectl httpd macos swift
Last synced: 3 months ago
JSON representation
Menu bar interface for apachectl
- Host: GitHub
- URL: https://github.com/artginzburg-archive/LocalSwitch
- Owner: artginzburg-archive
- License: mit
- Archived: true
- Created: 2019-07-17T09:45:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T16:12:04.000Z (about 5 years ago)
- Last Synced: 2024-05-19T01:53:53.192Z (6 months ago)
- Topics: apache, apache-httpd, apachectl, httpd, macos, swift
- Language: Swift
- Homepage: https://git.io/localswitch
- Size: 19.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Mac-Menubar-Megalist - LocalSwitch
README
LocalSwitch
Menu bar interface for a local Apachehttpd
server.
LocalSwitch is an open source macOS interface for
apachectl
written in Swift.![preview](preview.png)
Download latest release  
### [Homebrew Cask](//brew.sh) (Recommended)
```powershell
brew cask install dafuqtor/tap/localswitch
```### Quick Installation
> This script just downloads LocalSwitch to the `Applications` folder. Additionaly, you **lose** auto-updates.
```powershell
curl -sL git.io/localswitchinst | sh
```
## Usage :mag:
Things shown in menu are obvious, but you need to know some more:
#### Status Item actions
- RMB click · visit `.local`
> if the server is off, turns it on- Double click · open `~/Sites/` folder
> dragging a file over the Status Item does the same thing
- [MiddleClick](//github.com/DaFuqtor/MiddleClick-Catalina) · switch server state
#### Spotlight action
Switch server state using [Spotlight Search](//support.apple.com/en-us/HT204014)
> or just open LocalSwitch when it's **already running**
⌘Space  ·  type
ls
 ·  hit Enter