# Boxd for Raycast

URL: https://www.raycast.com/NabhagMotivaras/boxd

> Manage boxd machines, right at your fingertips.

- Install: raycast://extensions/NabhagMotivaras/boxd
- Author: [Nabhag Motivaras](https://www.raycast.com/NabhagMotivaras)
- Installs: 0
- Platforms: Windows, macOS
- Categories: Developer Tools
- Updated: 2026-12-03
- Source: https://github.com/raycast/extensions/tree/4d2616c1e33f975231a2029eb9d939679614f697/extensions/boxd/

## Commands

- **List Machines**: Browse, access, and manage your boxd machines.
- **Create Machine**: Create a boxd machine.

## README

### boxd for Raycast

Manage boxd machines from Raycast — browse, create, control lifecycle, open desktop or console, and connect from your terminal.

#### Install

1. Install **boxd** from the Raycast Store.

<a href="https://www.raycast.com/NabhagMotivaras/boxd"><img src="https://www.raycast.com/NabhagMotivaras/boxd/install_button@2x.png" height="64" alt="Install Boxd on Raycast" style="height: 64px;" /></a>

2. Add your [API key](#setup).

#### Setup

| You need                    | For                       |
| --------------------------- | ------------------------- |
| **API key** (`bxd_…`)       | All commands              |
| **boxd CLI** on your `PATH` | **Open in Terminal** only |

**API key** — Raycast Settings → Extensions → **boxd** → **API Key**.

Create a key:

```sh
boxd auth keys create raycast
```

Or in the [boxd console](https://app.boxd.sh).

**CLI** — Install from [boxd.sh](https://boxd.sh), then:

```sh
boxd auth login
```

If the key or endpoint is wrong, commands show an error with a shortcut to open preferences.

#### Commands

| Command            | Description                               |
| ------------------ | ----------------------------------------- |
| **List Machines**  | Browse, access, and manage your machines. |
| **Create Machine** | Create a new machine.                     |

#### List Machines

Search by name, id, domain, URL, status, size, or region. Pick a region from the search bar to filter, or show all regions — your choice is remembered across commands until you change it.

Each row shows the machine name, **domain** as the subtitle, and accessories for **status**, **size** (vCPU and RAM), **region** (when set), and org visibility when the machine belongs to an organization — two people when **shared with org**, one person when **private to you**. Use **Copy URL** for the public URL.

Machines in `destroyed` status stay in the list for reference; they have **Access** and **Commands** only (no **Manage** section).

The action panel has **Access**, **Manage** (when actions apply), and **Commands**.

##### Access

| Action           | When                              | macOS | Windows  |
| ---------------- | --------------------------------- | ----- | -------- |
| Open in Console  | Always                            | —     | —        |
| Open Desktop     | Desktop URL available             | `⌘D`  | `Ctrl+D` |
| Open in Terminal | Running, suspended, or hibernated | `⌘T`  | `Ctrl+T` |
| Copy URL         | Public URL available              | `⌘U`  | `Ctrl+U` |
| Copy Name        | Always                            | `⌘N`  | `Ctrl+N` |

**Open Desktop** opens the machine desktop in your browser. **Open in Console** opens the machine page in the boxd web console.

##### Manage

Available actions depend on status:

| Status                          | Actions                        |
| ------------------------------- | ------------------------------ |
| Running                         | Pause, Hibernate, Stop, Reboot |
| Suspended                       | Resume, Stop                   |
| Hibernated                      | Wake                           |
| Stopped or failed               | Start                          |
| Pending, starting, or migrating | Stop                           |

**Delete** is available for any machine except one in `destroyed` status.

For machines in an organization (not `destroyed`), **Share with Org** or **Make Private** toggles who else in the org can see the machine.

| Action         | When                       | macOS | Windows        |
| -------------- | -------------------------- | ----- | -------------- |
| Share with Org | Private, in an org         | `⌘⇧O` | `Ctrl+Shift+O` |
| Make Private   | Shared with org, in an org | `⌘⇧O` | `Ctrl+Shift+O` |

Share with Org and Make Private share a shortcut; only one is shown per machine.

| Action    | When                                                | macOS | Windows        |
| --------- | --------------------------------------------------- | ----- | -------------- |
| Pause     | Running                                             | `⌘⇧P` | `Ctrl+Shift+P` |
| Resume    | Suspended                                           | `⌘⇧R` | `Ctrl+Shift+R` |
| Hibernate | Running                                             | `⌘⇧H` | `Ctrl+Shift+H` |
| Wake      | Hibernated                                          | `⌘⇧W` | `Ctrl+Shift+W` |
| Stop      | Running, suspended, pending, starting, or migrating | `⌘⇧X` | `Ctrl+Shift+X` |
| Start     | Stopped or failed                                   | `⌘⇧S` | `Ctrl+Shift+S` |
| Reboot    | Running                                             | `⌘⇧R` | `Ctrl+Shift+R` |
| Delete    | Not destroyed                                       | `⌘⇧D` | `Ctrl+Shift+D` |

**Delete** asks you to confirm first — it permanently destroys the machine and its disk.

Resume and Reboot share a shortcut; they are never offered on the same machine.

##### Commands

| Action         | macOS | Windows        |
| -------------- | ----- | -------------- |
| Create Machine | `⌘⇧N` | `Ctrl+Shift+N` |
| Refresh list   | `⌘R`  | `Ctrl+R`       |

**Create Machine** from the list opens the create form in place; after a successful create you return to the list with an updated machine list.

#### Open in Terminal

Runs the boxd CLI for the selected machine (ID and region when present):

```sh
boxd machine connect --region <region> <machine-id>
```

Suspended and hibernated machines resume or wake when the connection opens. Start a stopped machine before connecting.

| Platform | Opens                                                       |
| -------- | ----------------------------------------------------------- |
| macOS    | **Terminal**                                                |
| Windows  | **Windows Terminal** if installed, otherwise **PowerShell** |

If the CLI is missing or not authenticated, the terminal opens and shows the CLI error.

#### Create Machine

| Field        | Notes                                                                                   |
| ------------ | --------------------------------------------------------------------------------------- |
| **Name**     | Optional — boxd generates one if blank.                                                 |
| **Region**   | **Org default region** (from your org in the boxd console) or a specific region.        |
| **OS**       | Linux (default) or Windows.                                                             |
| **Size**     | **Org default size** or a preset: 1×4, 2×8, 4×16, or 8×32 GiB RAM (with matching vCPU). |
| **Isolated** | When enabled, the machine is only reachable on networks you assign.                     |

From the standalone **Create Machine** command, a successful create opens **List Machines** with the new machine.

#### Development

```sh
npm install
npm run dev
```

Run lint with `npm run lint` or `npm run fix-lint`.

#### Preferences

| Preference   | Required      | Default                | Purpose                                                                  |
| ------------ | ------------- | ---------------------- | ------------------------------------------------------------------------ |
| API Key      | Yes           | —                      | Authenticates with boxd.                                                 |
| API Base URL | Yes (default) | `https://boxd.sh:9443` | API endpoint. Console links use the matching `app.` host (port omitted). |

#### License

MIT — see [package.json](https://github.com/raycast/extensions/raw/4d2616c1e33f975231a2029eb9d939679614f697/extensions/boxd//package.json).
