diff --git a/README.en.md b/README.en.md index 911759a..cc09e58 100644 --- a/README.en.md +++ b/README.en.md @@ -1,184 +1,212 @@ -# Codex Dream Skin +

Codex Dream Skin

- 中文 · English + Themes, image wallpapers, and live wallpapers for the Codex desktop app.
+ Keep the native sidebar, tasks, project picker, and composer. Never patch the official app package.

-> This repository is an enhanced derivative of [Fei-Away/Codex-Dream-Skin](https://github.com/Fei-Away/Codex-Dream-Skin) and preserves its full upstream history. Its current focus is compatibility with recent Windows Codex DOM, sidebar, and system-tray behavior. -

- Give Codex a face that breathes.
- External themes for the Codex desktop app · Local CDP inject · No official package mutation + 中文 · English

- One image, one mood · Code with atmosphere + Latest release + Total downloads + CI + MIT License

- Unofficial. Does not modify .app / app.asar / WindowsApps. + Codex Dream Skin themes and live wallpapers

-## Sponsors -

- - Passion8 - + Download Windows EXE + · + Install on macOS + · + View showcase + · + Report an issue

-

- Smarter Connections · Passionate Creation
- Connect AI · Power Creation -

+> Unofficial and not affiliated with OpenAI. Codex Dream Skin injects themes through loopback-only `127.0.0.1` CDP. It does not modify WindowsApps, `.app`, `app.asar`, or the official code signature. -

- Thanks to passion8.cc for sponsoring this project.
- Full-power AI gateway: official models, no silent downgrades, no wrapper shells.
- One-line setup for Codex / Claude Code / Grok. -

+## Why use it -

- - Theme install and API config stay separate — this project never rewrites your provider settings. - -

+- **The native UI stays interactive** — This is not a fake screenshot over the window. Sidebar, chat, tasks, and composer continue to work. +- **Live wallpapers inside Codex** — Windows supports muted, looping local MP4/WebM backgrounds. It does not change your desktop wallpaper. +- **One Windows manager** — Browse, search, preview, and switch wallpapers; control reveal; pause the skin; or restore the stock appearance. +- **Turn images into themes** — Import PNG, JPEG, or WebP artwork and keep full-window composition readable. +- **Reversible and auditable** — No official binary patching. Stop injection and return to the stock Codex appearance at any time. +- **Windows and macOS** — Windows ships a self-contained EXE; macOS ships a menu-bar Studio and installation scripts. -## Tested featured preset: Arina Hashimoto +## Windows: start in 30 seconds -“Arina Hashimoto / 桥本有菜” has been verified on the real Codex home screen in -both light and dark appearances. The user-provided source PNG is `1672 × 941`; -the preset's `2560 × 1440` JPEG is a standardized derived export that preserves -the source's near-16:9 composition and does not add source detail. The sidebar, -cards, project picker, and composer -shown below are native Codex controls. +1. Download [`CodexDreamSkinManager.exe`](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe). +2. Run it and select a PNG, JPEG, WebP, MP4, or WebM from your wallpaper library. +3. Click **应用到 Codex**. Use **启动 / 重新应用** if Codex needs the skin reapplied. -

- Arina Hashimoto theme tested in light appearance
- Light · real injected screenshot; unsent input hidden during capture (preview only) -

+The manager is a self-contained single-file app with the tested Dream Skin engine and Node.js runtime embedded. End users do not need the .NET SDK, Node.js, or manual PowerShell commands. -

- Arina Hashimoto theme tested in dark appearance
- Dark · real injected screenshot; unsent input hidden during capture (preview only) -

+> Releases are currently unsigned, so Windows may show an unknown-publisher prompt. Download only from this repository's [Releases](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases) page and verify the companion `.sha256` file. + +### Wallpaper reveal + +The right-side slider controls the relationship between the theme veil and the wallpaper: + +- `100%` shows the original image/video with the page-wide veil reduced to zero. +- Lower values increase text-area and theme treatment visibility for busy backgrounds or task pages. + +## macOS installation + +Open [`macos/`](./macos/) and double-click: -Install from the repo and switch in one command on macOS: +```text +Install Codex Dream Skin.command +``` + +Or run: ```bash cd macos -./scripts/install-dream-skin-macos.sh --no-launch -~/.codex/codex-dream-skin-studio/scripts/switch-theme-macos.sh \ - --id preset-romantic-rose +./scripts/install-dream-skin-macos.sh +``` + +Use the menu-bar Studio to import, save, and switch image themes. See [`macos/README.md`](./macos/README.md) for the full guide. + +## Feature matrix + +| Feature | Windows | macOS | +|---|:---:|:---:| +| PNG / JPEG / WebP image themes | ✅ | ✅ | +| MP4 / WebM live wallpapers | ✅ | — | +| Graphical theme manager | ✅ Standalone EXE | ✅ Menu-bar Studio | +| Wallpaper search and preview | ✅ | ✅ | +| Save and switch themes | ✅ | ✅ | +| Wallpaper reveal control | ✅ | — | +| Pause injection / restore stock appearance | ✅ | ✅ | +| Modifies official app files | **Never** | **Never** | + +## Real results + +| Windows / shared theme | macOS dark theme | +|---|---| +| ![Codex Dream Skin red-white sci-fi theme](docs/images/screenshot-demo-art.png) | ![Codex Dream Skin macOS dark theme](docs/images/screenshot-macos-home.png) | + +See [`docs/showcase.en.md`](./docs/showcase.en.md) for more real screenshots, the character preset, and eight concept directions. + +## How it works + +```text +Local wallpaper / theme config + ↓ +Dream Skin local theme store + ↓ +127.0.0.1 loopback CDP + ↓ +Independent background layer in the Codex renderer + ↓ +Native sidebar, tasks, and composer stay interactive ``` -Windows has a persistent local theme store and system-tray controls, and seeds -the same Arina Hashimoto preset. For the first repo-based setup: +Windows videos are transferred to the renderer in chunks and assembled into a Blob URL. Players and blobs are released when switching, pausing, or cleaning up. Video pauses automatically while the page is hidden. + +## Security boundaries + +- CDP binds only to `127.0.0.1`; it is not exposed to your LAN. +- The project does not modify WindowsApps, `.app`, `app.asar`, or official signatures. +- It does not read or rewrite API keys, base URLs, model providers, or Codex conversation content. +- Avoid running untrusted local programs while a debugging port is active; a malicious local process may attempt to access it. +- Official Codex updates can change the DOM. If a theme stops applying, try **启动 / 重新应用** and check [Issues](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/issues). + +## Run from source and build + +### Windows script entry points ```powershell -powershell -ExecutionPolicy Bypass -File .\windows\scripts\install-dream-skin.ps1 -powershell -ExecutionPolicy Bypass -File .\windows\scripts\start-dream-skin.ps1 +powershell.exe -ExecutionPolicy Bypass -File .\windows\scripts\install-dream-skin.ps1 +powershell.exe -ExecutionPolicy Bypass -File .\windows\scripts\start-dream-skin.ps1 ``` -After launch, switch directly through **已保存主题 → 桥本有菜**; no cross-folder -manual import is required. The enhanced **更换背景图或视频** action accepts -PNG/JPEG/WebP artwork and muted looping MP4/WebM video, which can then be saved -for one-click switching. +### Build the single-file EXE -> The downloadable user source is [`docs/images/presets/romantic-rose-source.png`](./docs/images/presets/romantic-rose-source.png) (`1672 × 941`); the macOS one-click preset uses the normalized derived [`background.jpg`](./macos/presets/preset-romantic-rose/background.jpg) (`2560 × 1440`). Do not import either screenshot above: they contain real UI and are previews only. The background is a user-provided AI-generated example, not an official OpenAI/Codex visual or endorsement; confirm likeness and asset rights before redistributing it. +Requires the .NET 8 SDK and Node.js 22+: -## Concept gallery (not importable backgrounds) +```powershell +powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\windows\app\build-manager.ps1 +``` -These eight images communicate achievable visual directions, but they are -interface mockups rather than usable theme backgrounds. Generate a UI-free -`2560 × 1440` image with the copy-ready [reference prompt guide](./docs/reference-background-prompt-guide.en.md) -before importing a similar look. See the [concept prompt breakdown](./docs/background-generation-prompts.md) -for the eight individual styles. +Output is written to `windows/dist/`. The build runs the Windows regression suite, publishes a self-contained `win-x64` EXE, and executes a post-publish self-test. -

- Pink Custom
- Pink Custom -

+### Tests -

- God of Wealth
- God of Wealth -

+```powershell +powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\windows\tests\run-tests.ps1 +``` -

- Red-White Sci-Fi
- Red-White Sci-Fi -

+```bash +bash macos/tests/run-tests.sh +``` -

- Clear Custom
- Clear Custom -

+## FAQ -

- Inspiration
- Inspiration -

+
+Is this a Wallpaper Engine replacement? -

- Purple Night
- Purple Night -

+No. It controls only the theme background inside Codex. The Windows manager can import ordinary MP4/WebM files, but it does not render Wallpaper Engine Scene, Web, or packaged projects. +
-

- Cyan Virtual Singer
- Cyan Virtual Singer -

+
+Why can an official Codex update break a theme? -

- Stage Black-Gold
- Stage Black-Gold -

+Dream Skin depends on the Codex renderer DOM and local CDP. Official updates can move those structures. **启动 / 重新应用** often fixes it; compatibility patches are published in this repository. +
-## What it does +
+Can I return to completely stock Codex? -- **Real UI** — Sidebar, cards, project picker, and input stay native. Not a fake full-window screenshot. -- **Continuous wallpaper** — One 16:9 image spans the full window; adaptive focus, safe-area, and route treatment keep native content readable. -- **Swappable art** — Drop in a UI-free image you like and it becomes your theme. -- **Saved themes** — Switch local themes from the macOS menu bar or Windows system tray. -- **Restorable** — One-click restore to the stock look. -- **Safer path** — Local-loopback CDP inject only. No official binary or signature changes. +Yes. The Windows manager provides **恢复官方外观**, and the macOS Studio includes uninstall/restore actions. No official application package is patched. +
-## Quick start +
+Are wallpaper files uploaded? -Platform scripts are ready — different plumbing, same goal: theme Codex. +No. Wallpapers and themes stay local, and injection uses only a loopback connection on your machine. +
-| Platform | Dir | Entry | -|------|------|------| -| Apple Silicon / Intel Mac | [`macos/`](./macos/) | Double-click `Install Codex Dream Skin.command` | -| Windows | [`windows/`](./windows/) | `scripts/install-dream-skin.ps1` → `start-dream-skin.ps1` | +## Documentation -More detail: +- [Windows guide](./windows/README.en.md) +- [macOS guide](./macos/README.md) +- [Platform and path map](./docs/platforms.md) +- [Showcase](./docs/showcase.en.md) +- [Reference image-generation prompts](./docs/reference-background-prompt-guide.en.md) +- [Concept prompt breakdown](./docs/background-generation-prompts.md) +- [Project notes](./docs/PROJECT.md) -- Mac: [`macos/README.md`](./macos/README.md) -- Windows: [`windows/SKILL.md`](./windows/SKILL.md) -- Paths: [`docs/platforms.md`](./docs/platforms.md) -- Copy-ready reference prompt guide: [`docs/reference-background-prompt-guide.en.md`](./docs/reference-background-prompt-guide.en.md) -- Eight concept prompt breakdowns: [`docs/background-generation-prompts.md`](./docs/background-generation-prompts.md) -- Project notes: [`docs/PROJECT.md`](./docs/PROJECT.md) +## Sponsor + +

+ + Passion8 + +

-## Feedback & contributions +Thanks to [passion8.cc](https://passion8.cc/register?aff=TuPe) for sponsoring this project. Theme installation and API configuration remain separate; this project never rewrites model-provider settings. -- **Issues:** Use the [issue templates](./.github/ISSUE_TEMPLATE/) (bug / feature). Blank issues are disabled. Please try Verify / Restore self-checks before filing bugs. -- **PRs:** Follow the [PR template](./.github/pull_request_template.md) — describe the change and tick the self-checks you actually ran (e.g. `macos/tests/run-tests.sh`, verify / restore). +## Feedback and contributions -## Safety +- Use the [Bug / Feature issue templates](./.github/ISSUE_TEMPLATE/). +- PRs should include the platform, reproduction or goal, validation command, and restore test. +- Contribution guide: [中文](./.github/CONTRIBUTING.md) · [English](./.github/CONTRIBUTING.en.md) -- CDP binds `127.0.0.1` only — avoid untrusted local processes while the theme runs. -- Does not touch the official install directory or code signature. -- **Never** rewrites API Key / Base URL; relay and theme stay separate. +This repository is an enhanced derivative of [Fei-Away/Codex-Dream-Skin](https://github.com/Fei-Away/Codex-Dream-Skin) and preserves the full upstream history. -## License +## License and trademark notice -- See [`macos/LICENSE`](./macos/LICENSE) (MIT) and [`macos/NOTICE.md`](./macos/NOTICE.md) -- Unofficial; Codex and related rights belong to their owners. -- People / IP material in bundled presets and previews is illustrative only — clear likeness, asset, and trademark rights before commercial redistribution. +[MIT License](./LICENSE). Not affiliated with OpenAI. Codex and related trademarks belong to their respective owners. Character/IP assets in presets and previews are examples only; confirm likeness, asset, and trademark rights before redistribution. --- -Star it, pick a look, and make Codex yours for today. +If Dream Skin makes Codex feel more like your own workspace, consider leaving a **Star** and sharing a screenshot of your theme. diff --git a/README.md b/README.md index 2435ad5..292dab8 100644 --- a/README.md +++ b/README.md @@ -1,171 +1,212 @@ -# Codex Dream Skin +

Codex Dream Skin

- 中文 · English + 给 Codex 桌面端换上主题、静态壁纸和动态壁纸。
+ 保留原生侧栏、任务、项目选择器与输入框,不修改官方安装包。

-> 本仓库是 [Fei-Away/Codex-Dream-Skin](https://github.com/Fei-Away/Codex-Dream-Skin) 的增强派生版本,保留完整上游历史;当前重点维护新版 Windows Codex 的 DOM、边栏与系统托盘兼容性。 -

- 给 Codex 桌面端换一张会呼吸的脸。
- 外部主题 / 换肤工具 · 本机 CDP 注入 · 不改官方安装包 + 中文 · English

- 一张图,一种心情 · 写代码,也要有氛围感 + 最新版本 + 累计下载 + CI + MIT License

- 非 OpenAI 官方产品。不修改 .app / app.asar / WindowsApps。 + Codex Dream Skin:Codex 桌面主题与动态壁纸

-## 赞助商 -

- - Passion8 - + 下载 Windows EXE + · + macOS 安装 + · + 查看效果展厅 + · + 反馈问题

-

- 更智能的连接 · 更热爱的创造
- 热爱驱动 · 无限可能 · Connect AI · Power Creation -

+> 非 OpenAI 官方产品。Codex Dream Skin 通过仅绑定 `127.0.0.1` 的本机 CDP 注入主题,不修改 WindowsApps、`.app`、`app.asar` 或官方代码签名。 -

- 感谢 passion8.cc 赞助本项目。
- 满血 AI 中转:官方模型直连,无降智、无套壳;一行配置接入 Codex / Claude Code / Grok。 -

+## 为什么用它 -

- - 换肤与 API 配置互相独立,本项目不会自动改写你的模型供应商设置。 - -

+- **原生 UI 保持可用**:不是把一张假界面贴满窗口;侧栏、聊天、任务和输入框仍可正常交互。 +- **Codex 内部动态壁纸**:Windows 支持本地 MP4/WebM 静音循环,不是修改桌面壁纸。 +- **一键式 Windows 管理器**:浏览、搜索、预览和切换壁纸,调整透出度,暂停或恢复官方外观。 +- **图片变主题**:导入喜欢的 PNG、JPEG 或 WebP,自动适配全窗背景与内容可读性。 +- **可恢复、可审计**:不改官方二进制;随时停止注入并恢复 Codex 官方外观。 +- **Windows + macOS**:Windows 提供自包含 EXE,macOS 提供菜单栏 Studio 与安装脚本。 -## 实测精选预设:桥本有菜 +## Windows:30 秒开始 -下面这套「桥本有菜 / Arina Hashimoto」已经在真实 Codex 首页分别验证浅色和暗色外观。用户提供的源 PNG 为 `1672 × 941`,主题包在保持源图近 16:9 构图的前提下派生导出 `2560 × 1440` JPEG,并不代表增加了源图细节。截图中的侧栏、卡片、项目选择和输入框都是 Codex 原生控件。 +1. 下载 [`CodexDreamSkinManager.exe`](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe)。 +2. 双击运行,在壁纸库选择 PNG、JPEG、WebP、MP4 或 WebM。 +3. 点击「应用到 Codex」。需要时点击「启动 / 重新应用」。 -

- 桥本有菜主题浅色实机效果
- 浅色 · 真实注入截图(未发送输入已在截图时遮蔽,仅预览) -

+管理器是自包含的单文件程序,内置经过测试的 Dream Skin 引擎与 Node.js 运行时;最终用户不需要安装 .NET SDK、Node.js 或手动执行 PowerShell。 -

- 桥本有菜主题暗色实机效果
- 暗色 · 真实注入截图(未发送输入已在截图时遮蔽,仅预览) -

+> 当前发布版尚未进行代码签名,Windows 可能显示“未知发布者”。请只从本仓库的 [Releases](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases) 下载,并使用同页 `.sha256` 文件核对。 + +### 壁纸透出 + +右侧滑杆控制主题蒙层与壁纸的关系: + +- `100%`:显示原始壁纸/视频画面,整页主题蒙层降为零。 +- 较低数值:提高文字区与主题蒙层可见度,适合任务页或高对比背景。 + +## macOS 安装 + +在仓库的 [`macos/`](./macos/) 目录双击: + +```text +Install Codex Dream Skin.command +``` -从仓库安装并一键切换(macOS): +也可在终端执行: ```bash cd macos -./scripts/install-dream-skin-macos.sh --no-launch -~/.codex/codex-dream-skin-studio/scripts/switch-theme-macos.sh \ - --id preset-romantic-rose +./scripts/install-dream-skin-macos.sh ``` -Windows 使用本地主题仓库与系统托盘,并会预置同一套「桥本有菜」。首次从仓库使用: +安装后通过菜单栏 Studio 导入、保存和切换图片主题。完整说明见 [`macos/README.md`](./macos/README.md)。 + +## 功能对照 + +| 功能 | Windows | macOS | +|---|:---:|:---:| +| PNG / JPEG / WebP 图片主题 | ✅ | ✅ | +| MP4 / WebM 动态壁纸 | ✅ | — | +| 图形化主题管理 | ✅ 独立 EXE | ✅ 菜单栏 Studio | +| 壁纸库搜索与预览 | ✅ | ✅ | +| 保存与切换主题 | ✅ | ✅ | +| 壁纸透出度 | ✅ | — | +| 暂停注入 / 恢复官方外观 | ✅ | ✅ | +| 修改官方应用文件 | **不会** | **不会** | + +## 真实效果 + +| Windows / 通用主题 | macOS 暗色主题 | +|---|---| +| ![Codex Dream Skin 红白科幻主题](docs/images/screenshot-demo-art.png) | ![Codex Dream Skin macOS 暗色主题](docs/images/screenshot-macos-home.png) | + +更多实机截图、人物预设与八种概念方向见 [`docs/showcase.md`](./docs/showcase.md)。 + +## 工作原理 + +```text +本地壁纸 / 主题配置 + ↓ +Codex Dream Skin 本地主题仓库 + ↓ +127.0.0.1 回环 CDP + ↓ +Codex renderer 中的独立背景层 + ↓ +原生侧栏、任务与输入框继续交互 +``` + +Windows 视频会分块传入 renderer 并组装为 Blob URL;切换、暂停或清理时会释放播放器与 Blob。页面隐藏后自动暂停视频,避免无意义播放。 + +## 安全边界 + +- CDP 只绑定 `127.0.0.1`,不会对局域网开放调试端口。 +- 不修改 WindowsApps、`.app`、`app.asar` 或官方签名。 +- 不读取或改写 API Key、Base URL、模型供应商或 Codex 聊天内容。 +- 主题运行期间不要运行来路不明的本机程序;本机恶意进程可能尝试访问调试端口。 +- Codex 官方更新可能改变 DOM。若主题失效,请先使用管理器「启动 / 重新应用」,再查看 [Issues](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/issues)。 + +## 从源码运行与构建 + +### Windows 脚本入口 ```powershell -powershell -ExecutionPolicy Bypass -File .\windows\scripts\install-dream-skin.ps1 -powershell -ExecutionPolicy Bypass -File .\windows\scripts\start-dream-skin.ps1 +powershell.exe -ExecutionPolicy Bypass -File .\windows\scripts\install-dream-skin.ps1 +powershell.exe -ExecutionPolicy Bypass -File .\windows\scripts\start-dream-skin.ps1 ``` -启动后可直接从「已保存主题 → 桥本有菜」切换;不需要跨目录手动导入。增强版托盘里的「更换背景图或视频」支持 PNG/JPEG/WebP 与静音循环的 MP4/WebM,保存后可继续一键切换。 +### 构建单文件 EXE -> 可下载的用户源图是 [`docs/images/presets/romantic-rose-source.png`](./docs/images/presets/romantic-rose-source.png)(`1672 × 941`);macOS 一键预设使用 [`macos/presets/preset-romantic-rose/background.jpg`](./macos/presets/preset-romantic-rose/background.jpg)(规范化派生 `2560 × 1440`)。上面两个效果图包含真实 UI,**只作预览,绝不能当背景导入**。背景为用户提供的 AI 生成示例,不代表 OpenAI/Codex 官方视觉或背书;公开再分发前请确认人物与素材权利。 +需要 .NET 8 SDK 和 Node.js 22+: -## 概念效果图(不可直接导入) +```powershell +powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\windows\app\build-manager.ps1 +``` -下面八张图用于表达可实现的视觉方向,但它们是带界面的概念效果图,不是可直接使用的主题背景。需要同类效果时,先按[参考生图提示词](./docs/reference-background-prompt-guide.md)生成无 UI 的 `2560 × 1440` 素材;八种风格的详细拆解见[概念图提示词](./docs/background-generation-prompts.md)。 +输出位于 `windows/dist/`。构建会运行 Windows 回归测试、发布自包含 `win-x64` EXE,并执行发布后自检。 -

- 粉系定制
- 粉系定制 -

+### 测试 -

- 财神打工
- 财神打工版 -

+```powershell +powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\windows\tests\run-tests.ps1 +``` -

- 红白科幻
- 红白科幻 -

+```bash +bash macos/tests/run-tests.sh +``` -

- 清透定制
- 清透定制 -

+## 常见问题 -

- 灵感小宇宙
- 灵感小宇宙 -

+
+这是 Wallpaper Engine 的替代品吗? -

- 紫夜限定
- 紫夜限定 -

+不是。它只控制 Codex 应用内部的主题背景。Windows 管理器可以导入普通 MP4/WebM,但不渲染 Wallpaper Engine 的 Scene、Web 或打包项目。 +
-

- 青蓝虚拟歌姬
- 青蓝虚拟歌姬 -

+
+为什么 Codex 更新后主题可能失效? -

- 舞台黑金
- 舞台黑金 -

+Dream Skin 依赖 Codex 的 renderer DOM 和本机 CDP。官方更新可能调整结构;通常点击「启动 / 重新应用」即可恢复,兼容性修复会持续发布在本仓库。 +
-## 它能做什么 +
+能否恢复完全原生的 Codex? -- **真·可交互**:侧栏、建议卡、项目选择、输入框都是原生控件,不是整窗假截图贴上去 -- **真背景层**:一张 16:9 纯壁纸连续铺满整窗,首页突出氛围,任务页自动降低干扰 -- **可换图**:换一张喜欢的纯背景,自适应焦点、安全区和配色后变成你的主题 -- **可播视频**:Windows 增强版支持本地 MP4/WebM 静音循环动态壁纸,页面隐藏时自动暂停 -- **可存主题**:macOS 菜单栏与 Windows 系统托盘都能保存/切换本地主题 -- **可恢复**:一键还原官方外观 -- **相对安全**:本机回环 CDP 注入,不改官方二进制与签名 +可以。Windows 管理器提供「恢复官方外观」,macOS Studio 也提供卸载/恢复入口。项目不会修改官方应用包。 +
-## 快速开始 +
+壁纸文件会上传吗? -仓库内按平台放了现成脚本(实现细节不同,效果都是「主题化 Codex」): +不会。壁纸与主题保存在本机,注入只通过本机回环连接完成。 +
-| 平台 | 目录 | 入口 | -|------|------|------| -| Apple Silicon / Intel Mac | [`macos/`](./macos/) | 双击 `Install Codex Dream Skin.command` | -| Windows | [`windows/`](./windows/) | `scripts/install-dream-skin.ps1` → `start-dream-skin.ps1` | +## 文档 -更细的说明: +- [Windows 使用说明](./windows/README.md) +- [macOS 使用说明](./macos/README.md) +- [平台与路径对照](./docs/platforms.md) +- [效果展厅](./docs/showcase.md) +- [参考生图提示词](./docs/reference-background-prompt-guide.md) +- [概念图提示词](./docs/background-generation-prompts.md) +- [项目记录](./docs/PROJECT.md) -- Mac:[`macos/README.md`](./macos/README.md) -- Windows:[`windows/SKILL.md`](./windows/SKILL.md) -- 路径对照:[`docs/platforms.md`](./docs/platforms.md) -- 可直接复制的参考生图模板:[`docs/reference-background-prompt-guide.md`](./docs/reference-background-prompt-guide.md) -- 八种概念方向详细提示词:[`docs/background-generation-prompts.md`](./docs/background-generation-prompts.md) -- 项目记录:[`docs/PROJECT.md`](./docs/PROJECT.md) +## 赞助商 -## 反馈与贡献 +

+ + Passion8 + +

-- **Issue:** 请用 [Issue 模板](./.github/ISSUE_TEMPLATE/)(Bug / 功能);已关闭空白 Issue。提交前建议先跑 Verify / Restore 自检。 -- **PR:** 请按 [PR 模板](./.github/pull_request_template.md) 写清改动,并勾选对应自测(如 `macos/tests/run-tests.sh`、verify / restore)。 +感谢 [passion8.cc](https://passion8.cc/register?aff=TuPe) 赞助本项目。换肤与 API 配置互相独立,本项目不会自动改写模型供应商设置。 -## 安全边界 +## 反馈与贡献 + +- 使用 [Bug / 功能 Issue 模板](./.github/ISSUE_TEMPLATE/) 提交问题。 +- PR 请说明平台、复现或目标、验证命令与恢复测试。 +- 贡献指南:[中文](./.github/CONTRIBUTING.md) · [English](./.github/CONTRIBUTING.en.md) -- CDP 只绑 `127.0.0.1`,主题运行期间勿跑来路不明的本机程序 -- 不修改官方安装目录与代码签名 -- **不会**自动改写 API Key / Base URL;中转与换肤分开 +本仓库是 [Fei-Away/Codex-Dream-Skin](https://github.com/Fei-Away/Codex-Dream-Skin) 的增强派生版本,并保留完整上游历史。 ## 许可与声明 -- 见 [`macos/LICENSE`](./macos/LICENSE)(MIT)与 [`macos/NOTICE.md`](./macos/NOTICE.md) -- 非 OpenAI 官方产品;Codex 及相关权利归其权利人 -- 随仓库预设及效果图中的人物 / IP 素材仅作主题示意;商用或公开再分发请自行确认肖像、素材与商标权利 +[MIT License](./LICENSE)。非 OpenAI 官方产品;Codex 及相关商标归其权利人。随仓库预设与效果图中的人物/IP 素材仅作主题示意,公开再分发前请自行确认肖像、素材和商标权利。 --- -Star 一下,然后挑一张图,把你的 Codex 变成今天想要的样子。 +如果 Dream Skin 让你的 Codex 更像自己的工作空间,欢迎点一个 **Star**,也欢迎分享你的主题截图。 diff --git a/docs/images/social-preview.png b/docs/images/social-preview.png new file mode 100644 index 0000000..117eeeb Binary files /dev/null and b/docs/images/social-preview.png differ diff --git a/docs/images/social-preview.svg b/docs/images/social-preview.svg new file mode 100644 index 0000000..011a0a9 --- /dev/null +++ b/docs/images/social-preview.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CODEX DREAM SKIN + + + + Live wallpapers & themes + for Codex desktop. + + + + Keep the native UI. Change the atmosphere. + + + + + + WINDOWS EXE + + + + MACOS + + + + LOCAL CDP + + + + + + + + + + + + + + Open source · Reversible · No official app package modification + + diff --git a/docs/promo-copy.md b/docs/promo-copy.md index 40451d8..c9386fb 100644 --- a/docs/promo-copy.md +++ b/docs/promo-copy.md @@ -1,73 +1,89 @@ # 宣传文案(可直接发) -仓库:https://github.com/Fei-Away/Codex-Dream-Skin +仓库:https://github.com/CCDawn/Codex-Dream-Skin-Enhanced + +Windows 下载:https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe --- -## 短版(朋友圈 / 群公告) +## 一句话 -Codex 也能「换皮肤」了。 +给 Codex 桌面端加上可交互的主题、静态壁纸和动态壁纸:原生 UI 保持可用,不修改官方安装包,还能一键恢复。 -不是整窗假截图,侧栏、卡片、输入框都还是真控件。 -一张图一套主题:千玺、热巴、Miku、KUN、ENFP……你想要的样子自己配。 +## 短版(群公告 / 朋友圈) -本机注入,不改官方安装包,还能一键恢复。 +Codex 现在可以直接换主题和动态壁纸了。 -开源地址: -https://github.com/Fei-Away/Codex-Dream-Skin +- Windows 有完整单文件 EXE,下载即用 +- 支持 PNG / JPEG / WebP / MP4 / WebM +- 原生侧栏、任务和输入框继续交互 +- 本机注入,不修改 WindowsApps / app.asar +- 随时暂停或恢复官方外观 -感谢 Passion8 赞助:https://passion8.cc/register?aff=TuPe +开源地址: ---- +https://github.com/CCDawn/Codex-Dream-Skin-Enhanced + +Windows 直接下载: + +https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe ## 中版(公众号 / 即刻 / 小红书) -标题可选: +### 标题可选 -1. 我给 Codex 做了个皮肤商店:从人民的 AI 到初音未来 -2. 写代码也能有爱豆同款桌面 -3. Codex Dream Skin:不拆包,也能把官方界面变成你的 +1. 我做了一个 Codex 动态壁纸管理器,单文件 EXE 下载即用 +2. 不改官方安装包,也能给 Codex 换主题和视频背景 +3. Codex Dream Skin:让写代码的窗口真正属于你 -正文: +### 正文 -还在用默认灰白 Codex?有点可惜。 +默认 Codex 很干净,但不一定像你的工作空间。 -**Codex Dream Skin** 是一套给 Codex 桌面端用的外部主题方案: -用本机 CDP 把样式和横幅「贴」上去,**不修改官方 `.app` / `app.asar`**,侧栏、建议卡、项目选择、输入框都是原生可点。 +**Codex Dream Skin** 是一个开源的 Codex 桌面主题与动态壁纸工具。它不是把假截图盖在窗口上:侧栏、任务、项目选择器和输入框仍然是原生控件,可以正常点击和输入。 -你看到的热巴紫夜、千玺清透、Miku 蓝粉、KUN 黑金、ENFP 小宇宙……都是同一套能力换图 + 换色的结果。 +Windows 版本现在提供完整图形化管理器: -开源仓库(含效果图与安装脚本): -https://github.com/Fei-Away/Codex-Dream-Skin +- 浏览和搜索本地壁纸库 +- 预览图片与 MP4/WebM 视频 +- 一键应用到 Codex +- 调整壁纸透出度 +- 暂停主题或恢复官方外观 -想稳定接模型的话,可以走赞助方 Passion8(与换肤分开配置): -https://passion8.cc/register?aff=TuPe +程序通过只绑定 `127.0.0.1` 的本机 CDP 工作,不修改 WindowsApps、`.app`、`app.asar` 或官方代码签名。Windows 发布版是自包含单文件 EXE,不需要另外安装 Node.js 或 .NET SDK。 ---- +项目主页: -## 长版钩子(发帖置顶) +https://github.com/CCDawn/Codex-Dream-Skin-Enhanced -> 写代码的桌面,也可以有自己的皮肤。 +Windows 下载: -- 真交互,不是 P 一张假 UI -- 可换图、可恢复 -- Mac / Windows 脚本都在仓库里 -- 效果图直接看 README Gallery +https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe -👉 https://github.com/Fei-Away/Codex-Dream-Skin +## 英文短版 ---- +**Codex Dream Skin** adds interactive themes and live wallpapers to the Codex desktop app. -## 一句话 slogan +- Self-contained Windows manager +- PNG, JPEG, WebP, MP4, and WebM +- Native sidebar, tasks, and composer stay interactive +- Loopback-only local CDP +- No official app package modification +- One-click restore -- 给 Codex 换一张会呼吸的脸 -- 一张图,一种心情 -- 写代码,也要有氛围感 -- 不拆包,也能全员爱豆版 Codex +GitHub: https://github.com/CCDawn/Codex-Dream-Skin-Enhanced ---- +Windows: https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe + +## 标签建议 + +```text +#Codex #OpenAI #DesktopCustomization #LiveWallpaper #Windows #macOS #OpenSource #DeveloperTools +``` -## 注意(发的时候自己把关) +## 发布注意 -效果图含公众人物 / IP 形象时,**仅作主题示意**。 -二次商用或大规模传播前,请确认肖像与商标授权,避免纠纷。 +- 优先配真实 Codex 效果截图或仓库的 `docs/images/social-preview.png`。 +- 人物/IP 主题只作为 Showcase 示例;大范围传播前确认肖像、素材与商标权利。 +- 不要描述为 OpenAI 官方功能或官方主题商店。 +- 赞助链接与主题安装互相独立,不要让用户误以为必须配置第三方模型服务。 diff --git a/docs/showcase.en.md b/docs/showcase.en.md new file mode 100644 index 0000000..7581a32 --- /dev/null +++ b/docs/showcase.en.md @@ -0,0 +1,71 @@ +# Codex Dream Skin Showcase + +[Project home](../README.en.md) · [中文](./showcase.md) + +This gallery collects tested themes and concept directions. The sidebar, cards, project picker, and composer in real screenshots remain native Codex controls. Concept images contain UI and cannot be imported as wallpapers. + +## Real injected themes + +### Dream Skin red-white sci-fi + +

+ Codex Dream Skin red-white sci-fi theme +

+ +### Windows immersive theme + +

+ Codex Dream Skin Windows immersive theme +

+ +### macOS dark theme + +

+ Codex Dream Skin macOS dark theme +

+ +## Tested character preset: Arina Hashimoto + +The “Arina Hashimoto / 桥本有菜” preset has been tested on the real Codex home screen in both light and dark appearances. The user-provided source PNG is `1672 × 941`; the preset's `2560 × 1440` JPEG is a standardized derivative that preserves the near-16:9 composition and does not add source detail. + +

+ Arina Hashimoto light theme
+ Light · real injected screenshot +

+ +

+ Arina Hashimoto dark theme
+ Dark · real injected screenshot +

+ +On Windows, switch through **已保存主题 → 桥本有菜** after installation. On macOS: + +```bash +cd macos +./scripts/install-dream-skin-macos.sh --no-launch +~/.codex/codex-dream-skin-studio/scripts/switch-theme-macos.sh \ + --id preset-romantic-rose +``` + +The user source is [`images/presets/romantic-rose-source.png`](./images/presets/romantic-rose-source.png); the macOS preset uses [`../macos/presets/preset-romantic-rose/background.jpg`](../macos/presets/preset-romantic-rose/background.jpg). + +> The screenshots above contain real UI and are previews only. The character background is a user-provided AI-generated example, not an official OpenAI/Codex visual or endorsement. Confirm likeness and asset rights before redistribution. + +## Eight concept directions + +Generate a UI-free `2560 × 1440` asset with the [reference prompt guide](./reference-background-prompt-guide.en.md). See the [concept prompt breakdown](./background-generation-prompts.md) for all eight directions. + +| | | +|---|---| +| ![Pink Custom](images/gallery/skin-01.jpg) | ![God of Wealth](images/gallery/skin-02.jpg) | +| Pink Custom | God of Wealth | +| ![Red-White Sci-Fi](images/gallery/skin-03.jpg) | ![Clear Custom](images/gallery/skin-04.jpg) | +| Red-White Sci-Fi | Clear Custom | +| ![Inspiration](images/gallery/skin-05.jpg) | ![Purple Night](images/gallery/skin-06.jpg) | +| Inspiration | Purple Night | +| ![Cyan Virtual Singer](images/gallery/skin-07.jpg) | ![Stage Black-Gold](images/gallery/skin-08.jpg) | +| Cyan Virtual Singer | Stage Black-Gold | + +--- + +[Download Windows EXE](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe) · [Project home](../README.en.md) diff --git a/docs/showcase.md b/docs/showcase.md new file mode 100644 index 0000000..b90016c --- /dev/null +++ b/docs/showcase.md @@ -0,0 +1,71 @@ +# Codex Dream Skin 效果展厅 + +[返回项目首页](../README.md) · [English](./showcase.en.md) + +这里收录经过实机验证的主题与概念视觉方向。截图中的侧栏、卡片、项目选择器和输入框均为 Codex 原生控件;概念图包含 UI,不能直接作为背景导入。 + +## 真实注入效果 + +### Dream Skin 红白科幻 + +

+ Codex Dream Skin 红白科幻真实注入效果 +

+ +### Windows 沉浸式主题 + +

+ Codex Dream Skin Windows 沉浸式主题 +

+ +### macOS 暗色主题 + +

+ Codex Dream Skin macOS 暗色主题 +

+ +## 实测人物预设:桥本有菜 + +「桥本有菜 / Arina Hashimoto」已在真实 Codex 首页分别验证浅色和暗色外观。用户提供的源 PNG 为 `1672 × 941`,主题包在保持近 16:9 构图的前提下派生导出 `2560 × 1440` JPEG,并不代表增加了源图细节。 + +

+ 桥本有菜主题浅色实机效果
+ 浅色 · 真实注入截图 +

+ +

+ 桥本有菜主题暗色实机效果
+ 暗色 · 真实注入截图 +

+ +Windows 安装后可从「已保存主题 → 桥本有菜」切换。macOS 可执行: + +```bash +cd macos +./scripts/install-dream-skin-macos.sh --no-launch +~/.codex/codex-dream-skin-studio/scripts/switch-theme-macos.sh \ + --id preset-romantic-rose +``` + +可下载的用户源图是 [`images/presets/romantic-rose-source.png`](./images/presets/romantic-rose-source.png);macOS 预设使用 [`../macos/presets/preset-romantic-rose/background.jpg`](../macos/presets/preset-romantic-rose/background.jpg)。 + +> 上面的效果图包含真实 UI,只能用于预览,不能当作背景导入。人物背景为用户提供的 AI 生成示例,不代表 OpenAI/Codex 官方视觉或背书;公开再分发前请自行确认肖像与素材权利。 + +## 八种概念方向 + +使用[参考生图提示词](./reference-background-prompt-guide.md)生成无 UI 的 `2560 × 1440` 素材;完整提示词拆解见[概念图提示词](./background-generation-prompts.md)。 + +| | | +|---|---| +| ![粉系定制](images/gallery/skin-01.jpg) | ![财神打工](images/gallery/skin-02.jpg) | +| 粉系定制 | 财神打工 | +| ![红白科幻](images/gallery/skin-03.jpg) | ![清透定制](images/gallery/skin-04.jpg) | +| 红白科幻 | 清透定制 | +| ![灵感小宇宙](images/gallery/skin-05.jpg) | ![紫夜限定](images/gallery/skin-06.jpg) | +| 灵感小宇宙 | 紫夜限定 | +| ![青蓝虚拟歌姬](images/gallery/skin-07.jpg) | ![舞台黑金](images/gallery/skin-08.jpg) | +| 青蓝虚拟歌姬 | 舞台黑金 | + +--- + +[下载 Windows EXE](https://github.com/CCDawn/Codex-Dream-Skin-Enhanced/releases/latest/download/CodexDreamSkinManager.exe) · [返回项目首页](../README.md)