Skip to content

Cubox

Cubox is a next-generation AI-powered read-it-later assistant that helps you save, organize, and truly understand what you read. Protocol Launcher allows you to generate deep links to add content and navigate within Cubox.

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 App

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

const url = open()
On-Demand
ts
import { addLink } from 'protocol-launcher/cubox'

const url = addLink({
  url: 'https://example.com/article',
})

Add Memo

On-Demand
ts
import { addMemo } from 'protocol-launcher/cubox'

const url = addMemo({
  memo: 'Remember to buy groceries',
})

Open Folder

On-Demand
ts
import { openFolder } from 'protocol-launcher/cubox'

const url = openFolder({
  name: 'Reading List',
})

Open Inbox

On-Demand
ts
import { openInbox } from 'protocol-launcher/cubox'

const url = openInbox()

Open Smart Folder

On-Demand
ts
import { openSmartFolder } from 'protocol-launcher/cubox'

const url = openSmartFolder({
  name: 'Recent Articles',
})

Open Starred

On-Demand
ts
import { openStarred } from 'protocol-launcher/cubox'

const url = openStarred()

Open Tag

On-Demand
ts
import { openTag } from 'protocol-launcher/cubox'

const url = openTag({
  name: 'important',
})
On-Demand
ts
import { search } from 'protocol-launcher/cubox'

const url = search({
  query: 'typescript',
  type: 'card',
})