Repository navigation
TeXDeck v0.3.0
One model button
The top bar now has a single model button. Its panel lists three ways to run the model, lets you switch between them, and lets you pick the model for each:
ChatGPT on your ChatGPT plan: click Connect, sign in, then pick one of the models your account offers.
Claude on your Claude plan (new): needs Claude Code installed on the same computer. If Claude Code is already signed in, Connect is all it takes; otherwise TeXDeck runs claude auth login, shows the sign-in link, and you paste the code back in. Choose Fable, Opus, Sonnet or Haiku. TeXDeck drives your own Claude Code in headless mode and never sees the credentials. Not available in the Docker image.
API key for any OpenAI-compatible vision model, now entered in the panel instead of a config file.
Simpler form
- Material comes first; the title is optional and taken from the document when left empty.
- New "Slide language" choice: same as the material (default), English or 中文.
- Author, institute and extra instructions sit under "More options".
- Generate stays disabled until a model is connected, with a button to connect one.
- On a finished deck, one box changes either "This page" or the "Whole deck"; the LaTeX source is hidden until you ask for it.
- If the model fails (signed out, quota, unavailable), the error offers "Change model" and "Try again".
中文说明
统一的模型按钮:顶栏只有一个模型按钮,面板里列出三种用法,可以随时切换,也可以分别选择模型。
ChatGPT 订阅:点 Connect 登录,再从账号可用的模型里选一个。
Claude 订阅(新增):同一台电脑上要装有 Claude Code。Claude Code 已经登录的话,点 Connect 就能用;没登录的话,TeXDeck 会启动 claude auth login 并显示登录链接,授权后把页面上的代码粘贴回来。模型可选 Fable、Opus、Sonnet、Haiku。TeXDeck 以无头模式驱动你本机的 Claude Code,接触不到凭据。Docker 镜像不支持。
API key:任意 OpenAI 兼容的视觉模型,现在直接在面板里填写,不用再改配置文件。
表单简化:材料放在最前面;标题可以留空,由模型从文档里取;新增"幻灯片语言"选项(跟随材料,默认 / English / 中文);作者、机构、附加要求收进 "More options"。没连接模型时 Generate 不可用,并提供连接按钮。生成后的修改合并为一个输入框,用 "This page / Whole deck" 切换范围,LaTeX 源码默认折叠。模型出错(未登录、额度用完、模型不可用)时,错误卡片直接提供 "Change model" 和 "Try again"。
Full Changelog: v0.2.0...v0.3.0