Skip to content

Soulver

Soulver is a natural language notepad calculator app for the Mac, iPad & iPhone. Protocol Launcher allows you to generate deep links to create documents, evaluate expressions, and append lines in Soulver.

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 Soulver

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

const url = open()

Create Document

Create a new document and evaluate an expression in Soulver.

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

const url = create({
  expression: '$3k earnings / 5 people',
})

Calculate to Clipboard

Evaluate an expression and copy the result to clipboard.

On-Demand
ts
import { calculate } from 'protocol-launcher/soulver'

const url = calculate({
  expression: 'lunch was $55 + 25% tip',
  toClipboard: true,
})

Append Line

Append an expression to a specific sheet in Soulver.

On-Demand
ts
import { appendLine } from 'protocol-launcher/soulver'

const url = appendLine({
  id: '3BBFDEB9-E705-4AC1-846D-433446BA0C60',
  expression: '$500 in EUR',
})

Open Sheet

Open a specific sheet in Soulver.

On-Demand
ts
import { openSheet } from 'protocol-launcher/soulver'

const url = openSheet({
  id: '3BBFDEB9-E705-4AC1-846D-433446BA0C60',
})