home / kengdb / otherNoteTb

otherNoteTb: 1490

This data as json

id source method user_id
1490 standard_notes # Standard Notes 搬家接口方法 ## 推荐方式:导出解密备份 Standard Notes 数据加密,API 需要加密密钥,不适合直接接入。最稳妥方式: ### 导出步骤 1. 打开 Standard Notes → Account → Data Backups(数据备份)。 2. 点击 "Download Decrypted Backup"(下载解密备份)。 3. 得到一个 `.txt` 或 `.zip` 文件,内含 JSON 格式的笔记列表。 4. 在 keng "笔记搬家" 页面上传该备份文件。 ## 文件格式(JSON) ```json { "items": [ { "uuid": "xxx", "content_type": "Note", "content": { "title": "笔记标题", "text": "笔记正文(Markdown 或纯文本)", "tags": [] }, "deleted": false } ] } ``` ## 搬家流程 1. 解析 JSON,过滤 `content_type="Note"` 且 `deleted=false` 的条目。 2. `content.title` 作为标题(如无,取正文首行),`content.text` 作为 content。 3. 写入 keng;comment 写 `source=standard_notes; source_id={uuid}`。 1
Powered by Datasette · Queries took 11.373ms