Repository navigation
0.1.0
Pre-releaseFull Changelog: https://github.com/CryingObsidian-CO/obsidian-layer-base/commits/0.1.0
Layer Base brings Airtable-style tables and boards to Obsidian. A .layer file
is a self-contained database — columns, records and views — that renders as a table
or a board, independent of the folder it sits in.
This is the first release.
Highlights
- Table view — edit in place, paste from a spreadsheet, drag and resize columns,
filter, sort, and total a column in the footer. - Board view — group by any column, drag cards between columns, choose what a card
shows; several boards per file. - 16 column types — text, long text, number, date, date and time, select,
multi-select, checkbox, relation, lookup, rollup, backlinks, auto number, formula,
note, note property. - Computed columns read each other — a formula, lookup or rollup can take a
relation's names, another column's total, or a note's frontmatter value. - Undo and redo for everything that changes data (view settings stay out of the
undo stack on purpose). - Optional MCP server — an assistant can read and edit tables through tool calls.
Desktop only.
Install
Not in the community catalog yet, so install it by hand:
- From this release, download
main.js,manifest.jsonandstyles.css. - Put them in
<Vault>/.obsidian/plugins/obsidian-layer-base/(create the folder if
it does not exist). - Restart Obsidian, then enable Layer Base in Settings → Community plugins.
mcp-server.cjs is only needed if you want the MCP server — Obsidian never loads it.
Requires Obsidian 1.13.0 or later. Works on desktop and mobile; the MCP server is
desktop only.
Notes
- Licensed under the GNU GPL v3.0 or later.
- Much of the code was written with heavy AI assistance, under human direction — see
the README for the full statement.
中文
Layer Base 多维表格给 Obsidian 带来 Airtable 式的表格与看板。一个 .layer 文件就是
一份自包含的数据库——字段定义、记录和多个视图——既可以当表格用,也可以当看板用,与仓库
的目录结构无关。这是首个版本。
能做什么
- 表格视图 — 就地编辑、从电子表格粘贴、拖动列、调整行高列宽、筛选排序。
- 看板视图 — 任意列分组、拖动卡片换列、选卡片显示哪些列,一个文件可放多个看板。
- 16 种字段类型 — 文本、长文本、数字、日期、日期时间、单选、多选、勾选、关联、
查找、反向关联、汇总、公式、自增编号、笔记、笔记属性。 - 派生列能互相读 — 公式、查找、汇总都能取到关联行的名字、别的列的合计、笔记
frontmatter 里的值。 - 撤销与重做 — 覆盖所有改数据的操作;视图设置(列宽、筛选、排序、合计、隐藏列)
刻意不进撤销栈。 - 可选的 MCP 服务器 — 让 AI 通过结构化调用读写表格,仅桌面端。
安装
插件还没进社区目录,需要手动装:
- 在本页下载
main.js、manifest.json、styles.css。 - 放进
<仓库>/.obsidian/plugins/obsidian-layer-base/(目录不存在就新建)。 - 重启 Obsidian,在 设置 → 第三方插件 里启用 Layer Base。
要用 AI 接入才需要另外下载 mcp-server.cjs,Obsidian 不会加载它。需要 Obsidian
1.13.0 或更高;桌面端和移动端都能用,MCP 服务器仅桌面端。
说明
- 许可:GNU GPL v3.0 或更高版本。
- 本插件的大量代码在人工指导下、由 AI 大量辅助编写,详见 README。
Full Changelog: https://github.com/CryingObsidian-CO/obsidian-layer-base/commits/0.1.0