A database plugin for Obsidian. It stores structured JSON in custom .nyason files and takes over displaying, editing, querying, and saving.
Supports seven saved view types: Table, Gallery, Timeline, Calendar, Chat, Grouped Board, and Charts.

text: plain textnumber: numericcheckbox: booleandate: datedatetime: date and timeselect: single-select optionmultiselect: multi-select optionslink: linkimage: imageformula: runtime-derived column that does not persist its own cell valueaction: button-behavior column that does not persist its own cell value and can run scriptsreference: reference column that matches records in this or another database by conditions; results are derived at runtime and not stored in row valuesEvery column has a required, schema-unique code, used as the stable reference for Markdown nyadb, XLSX/TSV/JSON exchange, the Plugin API, and Formula.
nyadb Queriesnyadb uses JSON structured queries. A database can be referenced by @id:, @path:, or its exact name, and columns are referenced by code.editMode explicitly enabled, limited writeback is available for cells, detail fields, options, and source rows.Minimal query:
{
"from": "@path:Tasks.nyason"
}
1.11.4 or newer; desktop and mobile are supported.main.js, manifest.json, and styles.css into .obsidian/plugins/obsidian-nya-database/ in your vault, then enable the plugin in Obsidian.The plugin exposes an internal Obsidian JavaScript API (version 0.3) through plugin.api. It is disabled by default; row writes, field configuration, view writes, and metadata changes use separate permissions, with an optional Obsidian secret storage token.
const api = app.plugins.plugins['obsidian-nya-database'].api.createAPI({
token: 'Your API Token',
});
When no secret storage ID is configured, the token may be omitted:
const api = app.plugins.plugins['obsidian-nya-database'].api.createAPI();