Skip to main content

Configuration

Complete configuration reference for Kindling.

Configuration File

Location: ~/.kindling/config.json

{
"version": "1.0",
"dataDir": "~/.kindling",
"defaultCapsule": "default",
"storage": {
"type": "sqlite"
},
"search": {
"defaultLimit": 20,
"highlightMatches": true
},
"adapters": {},
"aliases": {}
}

Core Settings

dataDir

Directory for Kindling data.

{ "dataDir": "~/.kindling" }

Or use environment:

export KINDLING_DATA_DIR=/path/to/data

defaultCapsule

Default capsule for operations.

{ "defaultCapsule": "my-project" }

version

Config schema version.

{ "version": "1.0" }

Storage Settings

sqlite (default)

{
"storage": {
"type": "sqlite",
"options": {
"journalMode": "wal",
"synchronous": "normal"
}
}
}

json

{
"storage": {
"type": "json",
"options": {
"pretty": true
}
}
}

Search Settings

{
"search": {
"defaultLimit": 20,
"highlightMatches": true,
"fuzzyMatch": false,
"caseSensitive": false
}
}
OptionTypeDefaultDescription
defaultLimitnumber20Default result limit
highlightMatchesbooleantrueHighlight matches
fuzzyMatchbooleanfalseEnable fuzzy matching
caseSensitivebooleanfalseCase-sensitive search

Adapter Settings

Per-adapter configuration:

{
"adapters": {
"opencode": {
"enabled": true,
"capsule": "coding-sessions",
"capture": {
"decisions": true,
"discoveries": true
}
},
"pocketflow": {
"enabled": true,
"defaultCapsule": "workflows"
}
}
}

Aliases

Command shortcuts:

{
"aliases": {
"/m": "memory",
"/ma": "memory add",
"/ms": "memory search",
"obs": "observe",
"s": "search"
}
}

Display Settings

{
"display": {
"dateFormat": "relative",
"colors": true,
"maxContentLength": 200,
"showTags": true,
"showSource": true
}
}
OptionValuesDescription
dateFormatrelative, iso, localTimestamp format
colorsbooleanANSI colors
maxContentLengthnumberTruncate content
showTagsbooleanDisplay tags
showSourcebooleanDisplay source

Export Settings

{
"export": {
"defaultFormat": "markdown",
"includeMetadata": true,
"dateFormat": "iso"
}
}

Environment Variables

VariableDescription
KINDLING_DATA_DIRData directory
KINDLING_CONFIGConfig file path
KINDLING_DEFAULT_CAPSULEDefault capsule
KINDLING_NO_COLORDisable colors
KINDLING_VERBOSEVerbose output

Project-Local Config

Create .kindling/config.json in project root:

{
"defaultCapsule": "project-local",
"storage": {
"type": "sqlite",
"path": ".kindling/observations.db"
}
}

This overrides global settings for the project.

Config Validation

Validate configuration:

kindling config validate

Reset to defaults:

kindling config reset

Back to: Kindling Overview →