Skip to content

Pushcut

Pushcut is an automation app. Protocol Launcher allows you to generate official Pushcut URL scheme links for opening Pushcut and its documented views.

Pushcut's official URL scheme starts with pushcut://. The documented open form is pushcut://open/ followed by one of these view names: notifications, triggers, widgets, server, account, runServer, monitorServer, or notificationsLog.

Usage

There are two ways to use this library:

  • On-Demand import from subpaths enables tree-shaking and keeps bundles small.
  • Full Import from the root package is convenient but includes all app modules.

Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.

Select Installation Method

On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.

Open Pushcut

On-Demand
ts
import { open } from 'protocol-launcher/pushcut'

const url = open()

Open View

On-Demand
ts
import { openView } from 'protocol-launcher/pushcut'

const url = openView({
  view: 'notifications',
})

Open Notifications

On-Demand
ts
import { openNotifications } from 'protocol-launcher/pushcut'

const url = openNotifications()

Open Triggers

On-Demand
ts
import { openTriggers } from 'protocol-launcher/pushcut'

const url = openTriggers()

Open Widgets

On-Demand
ts
import { openWidgets } from 'protocol-launcher/pushcut'

const url = openWidgets()

Open Server

On-Demand
ts
import { openServer } from 'protocol-launcher/pushcut'

const url = openServer()

Open Account

On-Demand
ts
import { openAccount } from 'protocol-launcher/pushcut'

const url = openAccount()

Run Server

On-Demand
ts
import { runServer } from 'protocol-launcher/pushcut'

const url = runServer()

Monitor Server

On-Demand
ts
import { monitorServer } from 'protocol-launcher/pushcut'

const url = monitorServer()

Open Notifications Log

On-Demand
ts
import { openNotificationsLog } from 'protocol-launcher/pushcut'

const url = openNotificationsLog()

References