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
ts
import { open } from 'protocol-launcher/pushcut'
const url = open()Open View
ts
import { openView } from 'protocol-launcher/pushcut'
const url = openView({
view: 'notifications',
})Open Notifications
ts
import { openNotifications } from 'protocol-launcher/pushcut'
const url = openNotifications()Open Triggers
ts
import { openTriggers } from 'protocol-launcher/pushcut'
const url = openTriggers()Open Widgets
ts
import { openWidgets } from 'protocol-launcher/pushcut'
const url = openWidgets()Open Server
ts
import { openServer } from 'protocol-launcher/pushcut'
const url = openServer()Open Account
ts
import { openAccount } from 'protocol-launcher/pushcut'
const url = openAccount()Run Server
ts
import { runServer } from 'protocol-launcher/pushcut'
const url = runServer()Monitor Server
ts
import { monitorServer } from 'protocol-launcher/pushcut'
const url = monitorServer()Open Notifications Log
ts
import { openNotificationsLog } from 'protocol-launcher/pushcut'
const url = openNotificationsLog()