# Wayline

> Wayline sends and receives files and text with nearby devices that run LocalSend. Enable wayline, then use ed invoke. Every payload is a JSON object. transfers.

- Canonical URL: https://getedith.pro/docs/cli/wayline
- Updated: 2026-12-02

Wayline sends and receives files and text with nearby devices that run LocalSend. Enable `wayline`, then use [ed invoke](https://getedith.pro/docs/cli/invoke). Every payload is a JSON object. Devices are named by the `id` (the certificate fingerprint) in `snapshot.devices`, and transfers by the `id` in `snapshot.transfers`.

```sh
ed invoke wayline wayline.read
ed invoke wayline wayline.receive --json '{"on":true}'
ed invoke wayline wayline.send --json '{"device":"<fingerprint>","text":"Hello"}'
ed invoke wayline wayline.accept --json '{"id":"<transfer id>","saveToShelf":true}'
```

## Operations

Every operation returns the state unless noted: `snapshot` (`identity`, `devices` newest first, `transfers` newest first, `receiving`, `limit` in bytes, `folder`, `issue`), `settings` (`alias`, `minutes`, `limitMB`), `receiveUntil`, `pinned`, `listening`, `discovering` and `port`. Dates are ISO 8601.

| Operation | Payload | Result |
| --- | --- | --- |
| `wayline.read` | `{}` | The state |
| `wayline.receive` | `on`, optional `pinned` | Starts or stops receiving. Without `pinned: true` it turns off after `settings.minutes` |
| `wayline.discover` | `{}` | Announces this Mac and listens for devices for one minute |
| `wayline.add` | `address`, optional `port` | Registers with the device at that local address and adds it to `devices` |
| `wayline.send` | `device`, any of `paths` (absolute files or folders), `text`, `clipboard: true`, `shelf` (Shelf item IDs) | Starts a send. The other device has to accept it |
| `wayline.accept` | `id`, optional `saveToShelf` | Accepts a waiting incoming request |
| `wayline.decline` | `id` | Declines a waiting incoming request |
| `wayline.cancel` | `id` | Cancels a waiting or running transfer in either direction |
| `wayline.saveToShelf` | `id` | Adds the received files or text of a transfer to the Shelf |
| `wayline.text` | `id`, optional `item` | Returns `{"text": ...}` for a received message |
| `wayline.shelf` | `{}` | Returns the Shelf items (`id`, `name`, `path`) that can be sent |
| `wayline.forget` | `device` | Removes a device from `devices` |
| `wayline.history.clear` | `{}` | Clears finished transfers. Received files stay in `snapshot.folder` |
| `wayline.settings` | `settings` with `alias`, `minutes` (5, 10, 30 or 60) and `limitMB` (100, 1024, 4096 or 16384) | Saves the receive options |

A transfer has `id`, `device`, `fingerprint`, `address`, `incoming`, `createdAt`, `updatedAt`, `phase` (`waiting`, `transferring`, `completed`, `declined`, `cancelled`, `failed`), `items`, `message` and `saveToShelf`. Each item has `file` (the LocalSend file object), `bytes`, `phase`, `path` for a saved file, `text` for a received message and `shelved`.

`actions.catalog` lists `receive.start`, `receive.stop`, and `clipboard:<fingerprint>` and `shelf:<fingerprint>` for devices seen in the last 30 days, for Bifrost, Launchweave and Switchyard. Run one with `actions.perform` and `{"actionID":"receive.start"}`.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
