Skip to content

Latest commit

 

History

History
143 lines (99 loc) · 5.38 KB

File metadata and controls

143 lines (99 loc) · 5.38 KB

ReTheme

ReTheme

A safe, updateable, community-driven theme engine for the ChatGPT desktop app.
Tauri 2 + Rust · macOS and Windows · English and 简体中文

Website · Download · Theme Development · Feedback

简体中文 | English

ReTheme dark and light interface preview


ReTheme separates the stable logical slots used by theme authors from version-specific ChatGPT adaptation. A theme declares colors, CSS, images, and localized copy, while signed compatibility data can update independently when ChatGPT changes.

Theme Preview

A theme can consistently cover ChatGPT backgrounds, home banners, suggestion cards, the composer, sidebar, menus, icons, settings, and conversations while preserving native interactions and responsive layout.

Qitian · Dark Mythic Style

Qitian dark mythic theme preview

Berry · Light Journal Style

Berry light journal theme preview

Highlights

Capability Description
Theme runtime Covers home, conversations, composer, sidebar, menus, settings, cards, and decoration slots
Community themes Downloads through retheme:// deep links and installs only after platform signature verification
Local development Loads an unpacked theme directory directly for fast authoring and iteration
Safe restore Restores the official ChatGPT interface when a theme stops, ReTheme exits, or an update installs
Remote compatibility Selects signed adaptation data by ChatGPT version so old and new releases can coexist
Desktop experience Tray behavior, single instance, bilingual UI, light/dark appearance, and signed auto-updates

No community theme ships inside this repository or the desktop installer. Themes are published to the community and downloaded on demand.

Download

Get the latest build from GitHub Releases:

  • macOS Apple Silicon (aarch64)
  • macOS Intel (x86_64)
  • Windows x64 bilingual installer (English / Simplified Chinese)

ReTheme detects the installed ChatGPT app on first launch. Closing the main window hides it to the tray; use “Quit ReTheme” from the tray menu to terminate it completely.

Build a Theme

A development theme is an unpacked directory. You do not need to clone ReTheme source, install Rust or Cargo, decrypt .ctheme, or hold a platform key. Choose either workflow below.

Manual workflow

The Theme Development Guide is the single manual reference for fields, slots, localization, appearances, Banner assets, and QA. Create a minimal theme with:

pnpm dlx @duxweb/retheme-theme-skill create ./my-theme

Edit manifest.json, styles/, and assets/, then validate the directory with the same checker used by the desktop app and server:

pnpm dlx @duxweb/retheme-theme-skill validate ./my-theme

Validate the final source ZIP as well:

pnpm dlx @duxweb/retheme-theme-skill validate ./my-theme.zip

Choose “Load local theme” in ReTheme for real-app testing. For community publication, upload a source ZIP whose root directly contains manifest.json; the platform reviews it and creates the .ctheme package.

Use the AI Skill

Install the complete Skill with one command:

pnpm dlx @duxweb/retheme-theme-skill install

The package contains the full protocol, slots, QA, Banner prompts, starter template, and a compiled validator for the current platform. No repository checkout is needed. Restart Codex and describe the task directly:

Use the retheme-theme-development Skill to create a bilingual light/dark theme in /path/to/my-theme. Validate it, but do not package it as .ctheme.

The AI must treat the shared validator as authoritative. It must not weaken the protocol for a theme, target private ChatGPT class names, or change native layout behavior.

Development

Install Node.js 22, pnpm 10, Rust stable, and the platform requirements for Tauri.

pnpm install
cp src-tauri/config/api.example.toml src-tauri/config/api.toml
cp src-tauri/config/security.example.toml src-tauri/config/security.toml
pnpm tauri dev

Run the checks:

pnpm test
pnpm build
cargo test --manifest-path src-tauri/Cargo.toml
cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings

Configuration templates contain no production secrets. Maintainers should read the release guide and security model.

Links