Codex Daybook

by isink
5
4
3
2
1
Score: 50/100

Description

Saves new local Codex Desktop main tasks as notes and links them into your daily track once sync is running.

Reviews

No reviews yet.

Stats

2
stars
86
downloads
0
forks
12
days
9
days
9
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
33
commits

Latest Version

10 days ago

Changelog

Codex Daybook 0.5.10

Windows fix: works with Codex Desktop installed from the Microsoft Store.

  • 0.5.9 could find the codex.exe inside the Microsoft Store package, but Windows refuses to let another app start an executable inside a Store package, so login and connection checks failed. On Windows the plugin now uses the Codex command-line tool installed with npm (npm install -g @openai/codex), which reads the same conversation data as the desktop app.
  • A Codex path saved by an earlier Scan that points into the Store package is ignored automatically. If only the Store version is installed, Scan and login now say to install the command-line tool instead of showing a generic "Could not start login".
  • No changes to sync behavior, defaults or settings format. macOS is unaffected.

Validation: 115 automated tests passed, the dependency audit found no known vulnerabilities, and a clean rebuild from the source ZIP matched the release artifacts byte-for-byte. On a real Windows machine, starting the Store package's codex.exe from Obsidian failed with EPERM, while the npm CLI's codex.exe (codex-cli 0.146.0) started, initialized and listed the desktop app's conversations. Login, connection check and sync through the plugin on Windows are still to be confirmed; Windows hardware validation remains pending. The Community listing has not been manually reviewed by Obsidian staff.

README file from

Github

Codex Daybook 0.5.10

Obsidian 桌面插件,将本机 Codex Desktop 完成的对话保存为 Markdown 笔记。可选开启每日轨迹,按创建日加入 Dataview 每日轨迹。不是 ChatGPT 历史同步器:只处理本机 Codex Desktop 主任务,且只有开始同步之后新建的任务才会被采集。

已进入 Obsidian 社区插件目录,源码见 isink/Codex-Daybook,采用 MIT 许可证。当前条目尚未经过 Obsidian 员工人工审核;Windows 实机验收仍待完成。

English guide · 隐私说明

安装

需要 Obsidian 1.13.7 及以上版本、本机安装的 Codex Desktop;只有开启每日轨迹功能时才需要 Dataview 插件。

Windows 上从 Microsoft Store 安装的 Codex Desktop 不允许其他程序启动它自带的 Codex,需另外安装 Codex 命令行工具:npm install -g @openai/codex。它和桌面版读取同一份对话数据。

  1. 解压安装 ZIP,将其中 codex-daily-sync 文件夹放入库的 .obsidian/plugins/。
  2. 在 Obsidian 的社区插件设置中启用 Codex Daybook(若计划使用每日轨迹,也一并启用 Dataview)。
  3. 设置面板分两个标签页:基础设置(笔记目录、附件目录、Codex 可执行文件——默认自动检测,也可一键扫描——时区、检查间隔)和每日轨迹,默认关闭;一键开启即可显示每日目录与模板,均已有可用默认值。
  4. 确认允许库外访问,点击“登录 Codex”完成 ChatGPT 登录(使用 Codex 官方浏览器授权,密码和登录令牌不经过插件、不写入库),再点击“检查连接”验证接口。没有可验证的主任务时,请先在 Codex 完成一个测试任务。
  5. 检查通过后点击“开始同步”,此时固定同步起点;只有此后新建的 Codex 主任务会被采集。

若 Codex 可执行文件自动检测失败,可手动选择;请只选择可信的 Codex 程序,它将以你的权限运行。界面支持简体中文与 English,可在设置的“语言”中切换,只影响界面文字,不影响已同步的笔记内容。

同步范围

只导出已完成轮次的用户消息、正式答复和正式计划;工具调用、推理过程、系统消息,以及进行中或失败的轮次不会被导出。用户附带及 Codex 图像工具生成的本地 PNG/JPEG/GIF/WebP 图片会复制进库内并按内容去重;远程图片不会下载。每个任务固定自己的目录、时区和创建日,之后改设置不影响旧笔记。已同步且无变化的对话不会重写笔记;对话内容以外的个人文字和自定义属性会保留。删除或归档源对话不会自动删除本地笔记、图片或每日链接。

开发

npm ci
npm run package

本项目不是 OpenAI 或 Obsidian 官方插件。