Kaixxrua/excel-codex-bridge

防降智插件 交流群:966195257

Open original source ↗

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

简体中文 | English 用你自己电脑上已有的 ChatGPT 登录来跑 Codex CLI 和 Codex 桌面版:双击或一条命令,本地桥接和 Codex 一起启动,退出时桥接自动关闭。 默认优先用 Codex 自己的登录(codex login),这样不必安装 Excel;后端不接受它时自动回退到 Excel 加载项缓存的那份会话,需要时会替你打开 Excel 的 ChatGPT 面板登录。见登录方式。 不监听本机以外的地址,会话只在内存里,只发往 OpenAI。 已经存在的 ChatGPT 登录——优先是 Codex 自己的(codex login 写在 /.codex/auth.json), 其次是 Excel 加载项缓存在 WebView2 里的那份会话(bpsauthtokens)。用 Excel 那份时,需要登录会在 面板里完成(本工具会自动打开面板)。取哪一份、怎么回退见登录方式。 不含提示词和 token。 以及任何带 Origin 头的浏览器请求。serve 拒绝绑定 0.0.0.0。 写进提示词,模型通过后端原生的 runofficejs 回传调用,桥接再还原成 Codex 的工具调用。 互不依赖的调用(比如同时读几个文件、跑几条命令)模型会一次发出,Codex 同时执行;改文件仍按顺序来。 那样把图片传到 OpenAI 再引用,见图片。 同一个登录会话,见生图。 /.codex/config.toml 保持原样。只有桌面版模式会改它, 窗口关闭即按原样恢复,并留有备份。 桥接需要一份本机已有的 ChatGPT 登录。可用两处,默认按顺序自动选: 用这份时不必安装 Excel,任意系统都行。 自动改用这份;需要登录会自动打开 Excel 面板。 用 --login 或环境变量 EXCELBRIDGELOGIN 指定: 后端返回 401、403。被 401、403 拒绝后会先用 Excel 会话重试一次,之后一直用 Excel,直到 auth.json 发生变化(例如你重新 codex login)才会再试 Codex。 (Codex 那份重新 codex login;Excel 那份 excel-codex login)。 所以没有 Excel 的机器(比如服务器)也能推。注意:这条命令会把你选中的那份登录发往你指定的服务器—— 这是你显式运行同步命令后才发生的凭据外发,只发给你自己信任的机器。 此想法来自 MIKUbiu/bps-local,本项目是它的一个独立实现, 详见致谢与许可。 方式一:免安装版(推荐) excel-codex-bridge--windows-x64.zip,解压到任意目录,例如 D:\tools\excel-codex-bridge。 要在某个项目里用,就在项目目录打开终端运行 D:\tools\excel-codex-bridge\excel-codex.exe, 或者把解压目录加进 PATH,之后直接输入 excel-codex。 exe 没有代码签名,首次运行时 SmartScreen 可能拦一下,点"更多信息 → 仍要运行"即可。 第一次运行时还没有登录,程序会自动打开 Excel 并弹出 ChatGPT 面板,在面板里登录即可, 登录完 Excel 会自动关掉,Codex 随即启动。详见自动登录。 方式二:从源码运行 把本仓库 clone 到任意目录,在项目目录运行其中的 excel-codex.cmd(或者双击它)。 首次运行会在仓库目录建 .venv 并安装依赖,之后秒开。 常用写法(-- 之后的参数原样交给 Codex): 启动器自己的选项:--login 、--model、--proxy、--timezone 、 --image-model…

Kaixxrua/excel-codex-bridge on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-09-30T12:56:15.909Z

Inside the original README — Document outline
  1. excel-codex-bridge
  2. 工作原理
  3. 前提
  4. 登录方式
  5. 快速开始(Windows)
  6. 模型
  7. 代理
  8. 自动登录(Windows)
  9. 在 Codex 桌面版 / IDE 插件中使用
  10. 恢复官方 Codex 配置
  11. 会话互通
  12. 桥接自己名下的对话

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: Unlicense. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

防降智插件 交流群:966195257

Repository facts

Owner
Kaixxrua
Primary language
Python
Stars
197
Forks
30
Open issues + pull requests
2
License
Unlicense
Archived
No
Default branch
main
Created
2026-09-24T15:09:11.000Z
Last push
2026-09-30T10:03:44.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-30T12:05:16.119Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

public-apis/public-apis

EbookFoundation/free-programming-books

donnemartin/system-design-primer

vinta/awesome-python

practical-tutorials/project-based-learning

NousResearch/hermes-agent