Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Nya Database

nyablenyable14 downloads

A database plugin for Obsidian.

  • Overview
  • Scorecard
  • Updates2

中文
English

A database plugin for Obsidian. It stores structured JSON in custom .nyason files and takes over displaying, editing, querying, and saving.

Views

Supports seven saved view types: Table, Gallery, Timeline, Calendar, Chat, Grouped Board, and Charts.

Table Gallery Charts Timeline Markdown

Supported Column Types

  • text: plain text
  • number: numeric
  • checkbox: boolean
  • date: date
  • datetime: date and time
  • select: single-select option
  • multiselect: multi-select options
  • link: link
  • image: image
  • formula: runtime-derived column that does not persist its own cell value
  • action: button-behavior column that does not persist its own cell value and can run scripts
  • reference: reference column that matches records in this or another database by conditions; results are derived at runtime and not stored in row values

Every column has a required, schema-unique code, used as the stable reference for Markdown nyadb, XLSX/TSV/JSON exchange, the Plugin API, and Formula.

Markdown nyadb Queries

  • nyadb uses JSON structured queries. A database can be referenced by @id:, @path:, or its exact name, and columns are referenced by code.
  • Supports all seven layouts, locally saved view settings, Refresh, Save, filtering, and layout switching, read-only by default.
  • With editMode explicitly enabled, limited writeback is available for cells, detail fields, options, and source rows.

Minimal query:

{
  "from": "@path:Tasks.nyason"
}

Installation & Compatibility

  • Requires Obsidian 1.11.4 or newer; desktop and mobile are supported.
  • Manual install: put main.js, manifest.json, and styles.css into .obsidian/plugins/obsidian-nya-database/ in your vault, then enable the plugin in Obsidian.

API Usage

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();
HealthGood
ReviewRisks
About
Store structured JSON in .nyason files and manage displaying, querying, editing, and saving records in local databases. Use seven view types (Table, Gallery, Timeline, Calendar, Chat, Grouped Board, Charts), diverse column types (text, number, date/time, select, multiselect, link, image, formula, action, reference) and a JSON query API with optional editMode and opt-in JS API.
DataTablesCharts
Details
Current version
0.2.0
Last updated
2 months ago
Created
6 months ago
Updates
2 releases
Downloads
14
Compatible with
Obsidian 1.11.4+
Platforms
Desktop, Mobile
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
nyablenyable
github.com/nyable
GitHubnyable
  1. Community
  2. Plugins
  3. Data
  4. Nya Database

Related plugins

Tracker

Track occurrences and numbers in your notes.

CSV Table

Render CSV data as a table within your notes.

Datacore

An even faster reactive query engine for the data obsessed.

Notion Bases

Turn any folder into a database — table, kanban board, gallery, calendar, timeline and list views powered by frontmatter.

Sheet Plus

Create Excel-like spreadsheets and easily embed them in Markdown.

Mood Tracker

Track your moods & emotions easily. Visualize tracked history and browse the past entries.

DataLoom

Weave together data from diverse sources into different views. Inspired by Excel Spreadsheets and Notion.so.

Macros

Nutrition and food tracker for your notes. Log meals, calories, macros and micronutrients. Search foods by name or barcode via FatSecret, USDA & Open Food Facts. Chart your diet & weight loss.

PennyWallet

Track expenses, income, transfers, and credit card repayments as Markdown tables in your vault.

Health.md Visualizations

Render Apple Health data visualizations from JSON, CSV, or Markdown files, with custom date and time range filters.