Skip to content

Core API

The @mindwtr/core package holds the shared data model, store logic, quick-add parsing, sync merge behavior, and translations used across Mindwtr apps.

Main areas

AreaPurpose
TypesTasks, projects, sections, areas, people, attachments, recurrence, and app data.
StoreZustand-based task store and actions.
Storage adapterPlatform-specific persistence boundary.
Quick-add parserParses capture syntax such as context, tag, project, due date, and notes.
SyncSnapshot merge and sync-cycle helpers.
i18nTranslation keys and locale data.

Design rule

Shared behavior belongs in core. Desktop and mobile should not reimplement visibility predicates, recurrence logic, merge semantics, or parser behavior independently.

Quick-add syntax

SyntaxMeaning
@contextAdd context.
#tagAdd tag.
+ProjectAssign or create project.
/due:dateSet due date.
/nextMove to Next Actions.
/note:textAdd note text.

See also

Mindwtr is free, open source, and local-first.