humoumou21 downloadsManage API and database schemas with editable grids, JSON/DDL import, inline references, spreadsheet workflows, and a reversible one-command demo onboarding flow.
Schema Studio 用于维护接口字段和数据库字段。底层仍然是普通 Markdown + YAML Frontmatter + Wikilink,Fileclass 提供属性定义,Schema Tools 负责 JSON/DDL 导入、字段管理和精准引用。
Download main.js, manifest.json, and styles.css from the matching GitHub release. Place them in <vault>/.obsidian/plugins/api-db-schema-tools/, reload Obsidian, and enable API Database Schema Tools under Settings → Community plugins. Fileclass is optional but provides the property definitions used by the schema views.
Open the command palette and run 打开 Schema Studio to browse and edit schema fields. Use 安装 / 打开体验样例 for a reversible demo, then use 退出体验样例并恢复插件配置 when finished. JSON and DDL import actions are available from the corresponding schema views.
一键安装的体验样例现在以中文内容为主:
buyer.user_id、orders.user_id、Request/Response 等协议/数据库技术标识仍保留,避免样例失真。第一次安装插件后,可以通过命令面板(Ctrl/Cmd+P)运行:
API Database Schema Tools: 安装 / 打开体验样例
安装前会显示完整影响范围,包括:
_SchemaTools-Demo/ 目录,所有样例文件都放在这个目录内。_SchemaTools-Demo/_fileclasses/。样例覆盖:
[[@ 分层引用。体验结束后运行:
API Database Schema Tools: 退出体验样例并恢复插件配置
该命令只恢复插件配置,不自动删除 _SchemaTools-Demo/,避免误删你在样例中做的修改。
如果
_SchemaTools-Demo/已存在,安装命令不会覆盖其中任何文件,只提供“打开现有样例”。
字段表上方提供:排序 / 筛选 / 属性 / 搜索 / 新建。
true ↔ false。~~旧值~~ → 新值,顶部一次保存。支持矩形区域 TSV 复制粘贴,也支持带 Fileclass 属性名表头的按列名映射。
__schema / _schema 元信息自动路由。schema_orphaned,不直接删除 Markdown 文件。输入:
[[@
进入接口 / 数据库逐层联想;普通 [[ 仍由 Obsidian 原生 Wikilink 处理。
API Database Schema Tools 不发起网络请求、不包含遥测、不要求账户或付费服务。它会枚举 Vault 中的 Markdown 文件路径,以发现配置目录下的接口、数据库和字段记录,并只读取与当前 Schema Tools 配置路径匹配的内容;写入仅通过 Obsidian API 修改 Vault 内的 Markdown、YAML Frontmatter 和用户主动选择导入的内容。体验样例安装会先展示并备份将要修改的插件配置,且不会覆盖或删除已有文件。项目采用 MIT License。