Skip to content

Trello ​

Trello is a collaboration tool that organizes your projects into boards. Protocol Launcher allows you to generate deep links to create boards and cards, and navigate to specific content in Trello.

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 Trello ​

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

const url = open()

Create Board ​

On-Demand
ts
import { createBoard } from 'protocol-launcher/trello'

const url = createBoard({
  name: 'My New Board',
  organization: 'My Organization',
  permission: 'private',
  xSuccess: 'myapp://success',
  xError: 'myapp://failure',
})

Create Card ​

On-Demand
ts
import { createCard } from 'protocol-launcher/trello'

const url = createCard({
  shortlink: '81QRDHnt',
  name: 'MyCardName',
  description: 'MyCardDescription',
  listId: '526e7338ffa7dfb94d0084a7',
})

Show Board ​

On-Demand
ts
import { showBoard } from 'protocol-launcher/trello'

const url = showBoard({
  shortlink: '81QRDHnt',
  xSource: 'MyTestApp',
})

Show Card ​

On-Demand
ts
import { showCard } from 'protocol-launcher/trello'

const url = showCard({
  id: '526e7338ffa7dfb94d0084a6',
  xSource: 'MyTestApp',
})