Skip to content

Bear ​

Bear is a beautiful, flexible writing app for crafting notes and prose. Bear works on iPhone, iPad, and Mac, offering everything you need to write, edit, and organize your ideas. With its powerful tag management system, markdown support, and seamless synchronization across devices, Bear is perfect for everything from quick notes to in-depth articles. Protocol Launcher allows you to generate deep links to open notes, create content, search, and manage tags in Bear.

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

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

const url = open()

Open Note ​

On-Demand
ts
import { openNote } from 'protocol-launcher/bear'

const url = openNote({
  title: 'Shopping',
})

Create Note ​

On-Demand
ts
import { create } from 'protocol-launcher/bear'

const url = create({
  title: 'Shopping',
  text: 'Milk',
  tags: 'home,groceries',
})

Add Text to Note ​

On-Demand
ts
import { addText } from 'protocol-launcher/bear'

const url = addText({
  text: 'new line',
  id: '4EDAF0D1',
  mode: 'append',
})
On-Demand
ts
import { search } from 'protocol-launcher/bear'

const url = search({
  term: 'nemo',
  tag: 'movies',
})

Open Tag ​

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

const url = openTag({
  tag: 'work',
})

Rename Tag ​

On-Demand
ts
import { renameTag } from 'protocol-launcher/bear'

const url = renameTag({
  tag: 'old-tag',
  newTag: 'new-tag',
})

Delete Tag ​

On-Demand
ts
import { deleteTag } from 'protocol-launcher/bear'

const url = deleteTag({
  tag: 'obsolete-tag',
})

Show Todos ​

On-Demand
ts
import { todo } from 'protocol-launcher/bear'

const url = todo({
  search: 'home',
})

Show Today's Notes ​

On-Demand
ts
import { today } from 'protocol-launcher/bear'

const url = today()

Show Locked Notes ​

On-Demand
ts
import { locked } from 'protocol-launcher/bear'

const url = locked()

Show Untagged Notes ​

On-Demand
ts
import { untagged } from 'protocol-launcher/bear'

const url = untagged()

Show Trash ​

On-Demand
ts
import { trash } from 'protocol-launcher/bear'

const url = trash()

Show Archive ​

On-Demand
ts
import { archive } from 'protocol-launcher/bear'

const url = archive()

Grab URL ​

On-Demand
ts
import { grabUrl } from 'protocol-launcher/bear'

const url = grabUrl({
  url: 'https://bear.app',
})

Get All Tags ​

On-Demand
ts
import { tags } from 'protocol-launcher/bear'

const url = tags({
  token: '123456-123456-123456',
})