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
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
ts
import { createProject } from 'protocol-launcher/agenda'
const url = createProject({
title: 'New Project',
categoryTitle: 'Work',
select: true,
sortOrder: 'newest-first',
})Create Category
ts
import { createCategory } from 'protocol-launcher/agenda'
const url = createCategory({
title: 'New Category',
})Open Note
ts
import { openNote } from 'protocol-launcher/agenda'
const url = openNote({
title: 'Meeting With Peta',
projectTitle: 'Work',
})Open Project
ts
import { openProject } from 'protocol-launcher/agenda'
const url = openProject({
title: 'Work Project',
})Open Overview
ts
import { openOverview } from 'protocol-launcher/agenda'
const url = openOverview({
title: 'This Week',
})Open Search
ts
import { openSearch } from 'protocol-launcher/agenda'
const url = openSearch({
query: '#Important',
})Append to Note
ts
import { appendToNote } from 'protocol-launcher/agenda'
const url = appendToNote({
title: 'Some Note',
text: 'More Text',
onTheAgenda: true,
})Replace Note
ts
import { replaceNote } from 'protocol-launcher/agenda'
const url = replaceNote({
title: 'Some Note',
text: 'New Content',
})Get Identifier
ts
import { getIdentifier } from 'protocol-launcher/agenda'
const url = getIdentifier({
projectTitle: 'Welcome',
title: 'Things to Try',
})Get Selection
ts
import { getSelection } from 'protocol-launcher/agenda'
const url = getSelection()Get Selected Note
ts
import { getSelectedNote } from 'protocol-launcher/agenda'
const url = getSelectedNote()Get Selected Project
ts
import { getSelectedProject } from 'protocol-launcher/agenda'
const url = getSelectedProject()Today
ts
import { today } from 'protocol-launcher/agenda'
const url = today()On the Agenda
ts
import { onTheAgenda } from 'protocol-launcher/agenda'
const url = onTheAgenda()