# Ploi for Raycast

URL: https://www.raycast.com/Cannonball/ploi

> View and manage your ploi.io servers and sites

- Install: raycast://extensions/Cannonball/ploi
- Author: [Ybwwfa Xjfwq](https://www.raycast.com/Cannonball)
- Installs: 108
- Categories: Developer Tools
- Updated: 2022-06-09
- Source: https://github.com/raycast/extensions/tree/b18a94844197c795ab86cdb4f34d3bfdd6ea917e/extensions/ploi/

## Commands

- **Manage Servers and Sites**: Search and manage your Ploi servers or sites

## README

### Ploi Raycast

A Raycast plugin for managing your servers & sites by [Ploi](https://ploi.io/).

![Banner](https://github.com/raycast/extensions/raw/b18a94844197c795ab86cdb4f34d3bfdd6ea917e/extensions/ploi//screenshots/banner.png)

#### Usage

You will need an API key from Ploi to use this extension.
When logged in, [visit this page](https://ploi.io/profile/api-keys) to create a fresh API key.

Make sure to tick the required permissions and copy the token, next you can enter that token inside Raycast to make it work.

![Banner](https://github.com/raycast/extensions/raw/b18a94844197c795ab86cdb4f34d3bfdd6ea917e/extensions/ploi//screenshots/installation.png)

#### Features from Ploi API

- View site details
- View deployment status
- Trigger deploy script
- Restart services (NGINX, MySQL, Supervisor)
- Restart server
- Flush FastCGI cache
- Refresh server OPcache

#### Non-Ploi API Features

- Open terminal session
- Copy IP address
- Open site or server in ploi.io

#### Development

1. Clone repository

```
$ git clone https://github.com/ploi-deploy/ploi-raycast.git
```

2. Install dependencies

```
$ npm install
```

3. Run development

```
# Development
$ npm run dev
```

#### Production

Making sure production building works and compiles with Raycast:

```
$ prettier --write .
$ prettier --check .
$ npm run build

// Or

$ prettier --write . && prettier --check . && npm run build
```

#### Links

- **Website** - https://ploi.io
- **API Documentation** - https://developers.ploi.io

#### Contributors

- [Dennis Smink](https://github.com/Cannonb4ll)
- [Robin Rosiers](https://github.com/RosiersRobin) (Initial creator)
- [Kevin Batdorf](https://github.com/KevinBatdorf) (Inspiration 💙)
