An open API service indexing awesome lists of open source software.

https://github.com/exah/alfred-hotel

💁 🏩 Alfred 3+ workflow that lets you start, stop and open Hotel apps
https://github.com/exah/alfred-hotel

alfred alfred-workflow alfred3-workflow alfy macos nodejs npm-package

Last synced: 4 months ago
JSON representation

💁 🏩 Alfred 3+ workflow that lets you start, stop and open Hotel apps

Awesome Lists containing this project

README

          

# alfred-hotel

[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

> [Alfred 3+](https://www.alfredapp.com/) workflow that lets you start, stop and open [Hotel](https://github.com/typicode/hotel) apps

![alfred hotel workflow screenshot in action](screenshot.png)

## Requirements

- [Node.js](https://nodejs.org) >= 6.4
- [Hotel](https://github.com/typicode/hotel) >= 0.8
- [Alfred with Powerpack](https://www.alfredapp.com/powerpack/) >= 3

## Install

```shell
$ npm install -g alfred-hotel
```

## Usage

In Alfred, type `hotel` to list all [Hotel](https://github.com/typicode/hotel) apps, press Space to search through list.

With selected app you can:

- Enter to start and open app in default browser (http://example.dev)
- Alt + Enter to open app without local domain (http://127.0.0.1:50409)
- Command + Enter to start/stop selected app
- Fn + Enter to restart selected app
- Command + C to copy app url
- Ctrl + Enter to open app folder
- Shift 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`](https://github.com/typicode/hotel#configurations-logs-and-self-signed-ssl-certificate).

## Related

- [alfy](https://github.com/sindresorhus/alfy) - Create Alfred workflows with ease
- [hotel](https://github.com/typicode/hotel) - A simple process manager for developers

## License

MIT © [John Grishin](http://johngrish.in)