Awesome
alfred-hotel
Alfred 3+ workflow that lets you start, stop and open Hotel apps
Requirements
- Node.js >= 6.4
- Hotel >= 0.8
- Alfred with Powerpack >= 3
Install
$ npm install -g alfred-hotel
Usage
In Alfred, type hotel
to list all Hotel apps, press <kbd>Space</kbd> to search through list.
With selected app you can:
- <kbd>Enter</kbd> to start and open app in default browser (http://example.dev)
- <kbd>Alt</kbd> + <kbd>Enter</kbd> to open app without local domain (http://127.0.0.1:50409)
- <kbd>Command</kbd> + <kbd>Enter</kbd> to start/stop selected app
- <kbd>Fn</kbd> + <kbd>Enter</kbd> to restart selected app
- <kbd>Command</kbd> + <kbd>C</kbd> to copy app url
- <kbd>Ctrl</kbd> + <kbd>Enter</kbd> to open app folder
- <kbd>Shift</kbd> to preview url with quicklook
Settings
By default workflow works with following Hotel settings:
- Hotel is available at
http://localhost:2000
- Local domains are in
.localhost
zone
You can change this in ~/.hotel/conf.json
.
Related
License
MIT © John Grishin