Canonical Technical Definition

A software architecture paradigm where applications prioritize reading, writing, and persisting data directly to the user's local hardware before any network operations.

Local-first software represents a fundamental shift in personal and professional computing. Coined by Martin Kleppmann, Adam Wiggins, Peter van Hardenberg, and Mark McGranaghan in their seminal 2019 research paper Local-first software: You own your data, in spite of the cloud, this paradigm bridges the responsiveness and ownership of classic desktop applications with the collaborative benefits of modern networks.

In a traditional cloud application (such as Google Docs, Notion, or Slack), the remote server is the primary authority. If the network connection drops, latency spikes, or the vendor shuts down, users lose access to their work. In local-first software, your device’s local filesystem or embedded database is the primary system of record. Network activity is strictly secondary, asynchronous, or entirely optional.

The seven foundational ideals

The local-first philosophy outlines seven core tenets designed to return agency to computer users:

  1. No spinners: Read and write operations complete in sub-millisecond local RAM and disk cycles, bypassing round-trip network latency.
  2. Your work is not trapped on one device: Data can be backed up or transferred across personal devices without vendor gateways.
  3. The network is optional: Every core feature—searching, editing, reading, linking, and organizing—functions perfectly while disconnected.
  4. Seamless collaboration: When sharing is required, conflict-free replicated data types (CRDTs) or peer-to-peer protocols resolve divergence gracefully.
  5. Software longevity: Documents created today remain readable decades from now, even if the application developer dissolves.
  6. User data ownership: Files reside in user-accessible storage locations using open, standardized data formats.
  7. Security and privacy by default: Because information does not traverse centralized vendor servers, remote surveillance and data breaches are architecturally prevented.

Architectural comparison: Cloud SaaS vs Local-First

The trade-offs between traditional cloud-hosted software and local-first architecture are profound:

Architectural DimensionTraditional Cloud SaaSLocal-First Architecture
Primary System of RecordRemote PostgreSQL/MongoDBLocal Mac NVMe / SSD disk
Offline LatencyBlocked or degraded functionalitySub-millisecond instant execution
Data FormatProprietary JSON / relational blobsStandard UTF-8 plain text / Markdown
Vendor Dissolution RiskComplete loss of customer dataPermanent local data retention
Privacy VulnerabilityExposed to cloud subpoenas / leaksAir-gapped on local hardware

Local-first computing in Oyma on macOS

Oyma adheres rigorously to local-first principles. When you install Oyma on macOS, it asks you to select a folder on your Mac—such as ~/Documents/Notes or an existing Obsidian vault.

From that moment forward:

  • Notes are written directly as standard .md files on your disk.
  • Meeting recordings are captured via ScreenCaptureKit and transcribed on-device via Whisper.
  • Search indexing utilizes an embedded SQLite FTS5 index located inside the application cache.
  • The application makes zero telemetry calls and requires no user account or login token.

You retain complete custody of your intellectual output forever.

Frequently asked questions about Local-First Software

How does local-first software differ from offline-capable web apps?

Offline-capable web applications treat the local browser cache as a temporary staging buffer for a central server database. Local-first software treats the local disk as the primary system of record, operating indefinitely without an internet connection.

What are the core seven ideals of local-first software?

Defined by Martin Kleppmann and Ink & Switch in 2019, the ideals are: zero spin-wait latency, multi-device access, offline availability, longevity, user data ownership, privacy, and full user control.

How does Oyma implement local-first architecture on macOS?

Oyma stores every note as an unencrypted UTF-8 CommonMark file in a directory you choose on your Mac. All audio transcription and search indexing execute locally on Apple Silicon without background network transmission.