Skip to content

Agenda

Agenda is a note-taking app designed for creatives and professionals who want to organize their ideas by date. Protocol Launcher allows you to generate deep links to create and manage notes, projects, and categories in Agenda.

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.

Create Note

On-Demand
ts
import { createNote } from 'protocol-launcher/agenda'

const url = createNote({
  title: 'Meeting Notes',
  text: 'Discussion about project roadmap',
  projectTitle: 'Work',
  onTheAgenda: true,
  date: '2024-01-15',
})

Create Project

On-Demand
ts
import { createProject } from 'protocol-launcher/agenda'

const url = createProject({
  title: 'New Project',
  categoryTitle: 'Work',
  select: true,
  sortOrder: 'newest-first',
})

Create Category

On-Demand
ts
import { createCategory } from 'protocol-launcher/agenda'

const url = createCategory({
  title: 'New Category',
})

Open Note

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

const url = openNote({
  title: 'Meeting With Peta',
  projectTitle: 'Work',
})

Open Project

On-Demand
ts
import { openProject } from 'protocol-launcher/agenda'

const url = openProject({
  title: 'Work Project',
})

Open Overview

On-Demand
ts
import { openOverview } from 'protocol-launcher/agenda'

const url = openOverview({
  title: 'This Week',
})
On-Demand
ts
import { openSearch } from 'protocol-launcher/agenda'

const url = openSearch({
  query: '#Important',
})

Append to Note

On-Demand
ts
import { appendToNote } from 'protocol-launcher/agenda'

const url = appendToNote({
  title: 'Some Note',
  text: 'More Text',
  onTheAgenda: true,
})

Replace Note

On-Demand
ts
import { replaceNote } from 'protocol-launcher/agenda'

const url = replaceNote({
  title: 'Some Note',
  text: 'New Content',
})

Get Identifier

On-Demand
ts
import { getIdentifier } from 'protocol-launcher/agenda'

const url = getIdentifier({
  projectTitle: 'Welcome',
  title: 'Things to Try',
})

Get Selection

On-Demand
ts
import { getSelection } from 'protocol-launcher/agenda'

const url = getSelection()

Get Selected Note

On-Demand
ts
import { getSelectedNote } from 'protocol-launcher/agenda'

const url = getSelectedNote()

Get Selected Project

On-Demand
ts
import { getSelectedProject } from 'protocol-launcher/agenda'

const url = getSelectedProject()

Today

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

const url = today()

On the Agenda

On-Demand
ts
import { onTheAgenda } from 'protocol-launcher/agenda'

const url = onTheAgenda()