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
ts
import { open } from 'protocol-launcher/cubox'
const url = open()Add Link
ts
import { addLink } from 'protocol-launcher/cubox'
const url = addLink({
url: 'https://example.com/article',
})Add Memo
ts
import { addMemo } from 'protocol-launcher/cubox'
const url = addMemo({
memo: 'Remember to buy groceries',
})Open Folder
ts
import { openFolder } from 'protocol-launcher/cubox'
const url = openFolder({
name: 'Reading List',
})Open Inbox
ts
import { openInbox } from 'protocol-launcher/cubox'
const url = openInbox()Open Smart Folder
ts
import { openSmartFolder } from 'protocol-launcher/cubox'
const url = openSmartFolder({
name: 'Recent Articles',
})Open Starred
ts
import { openStarred } from 'protocol-launcher/cubox'
const url = openStarred()Open Tag
ts
import { openTag } from 'protocol-launcher/cubox'
const url = openTag({
name: 'important',
})Search
ts
import { search } from 'protocol-launcher/cubox'
const url = search({
query: 'typescript',
type: 'card',
})