π Landing Page Β Β·Β π¦ Install Β Β·Β β‘ Quick Start Β Β·Β β¨ Features Β Β·Β ποΈ Architecture Β Β·Β π οΈ Troubleshooting
iconmorph turns real folders and shortcuts into characters, pixel friends, GIF frames and your own images. The icon is written through the operating system's own custom-icon mechanism, so you can close iconmorph completely and the icon stays. Nothing runs in the background for static icons.
|
Six ways to morph an item: Character, Image, Decorate, Shape, GIF frame and Original folder. Pick a mode with the mouse or press |
Zoom, pan, drag to move / scale / rotate, snapping and guides, undo/redo and a contextual inspector that shows only what the current morph needs. |
My shelf (your emoji, uploads and pins) plus 12 collections: Kawaii, Pixel Friends, Woodland, Space, Retro Gaming, Botanical, Ocean, Fantasy, Technology, Productivity, Minimalist and Seasonal. |
|
Slider, side-by-side or toggle comparison against the plain folder, the applied icon or a pinned design, plus a native-size filmstrip (16β64 px at 1:1) with a loupe. |
A full-window simulation of your desktop with your real item names and wallpaper. Press |
One look for many folders, with a character suggested from each folder's name. Batch apply with progress and cancel. |
|
Every original is kept. Step back through an item's earlier designs, restore several at once, or take desktop snapshots to return to. |
Warm Studio, Sakura, Botanical, Coastal, Nordic, Midnight, Monochrome or System, plus Chameleon accents that adapt to the selected character. |
Play a whole GIF on a desktop icon with the small iconmorph Live helper. It has a tray icon, exits by itself, and never changes your files. |
Also: ICO / ICNS / PNG export, a command palette (Ctrl K), keyboard shortcuts throughout, and reduced-motion / reduced-effects awareness.
| Morph | Result |
|---|---|
| Character | The folder graphic disappears; the character is the icon. Double-click still opens the folder |
| Image | Your PNG, SVG, JPEG, WebP or photo as the icon (kept in Personal, referenced in place) |
| Decorate | The folder shape with the character on its front |
| Shape | Character on a squircle, rounded square, circle, hexagon or capsule tile |
| GIF frame | Scrub a GIF and pick a frame for the still icon. On Windows, optionally animate the whole GIF on the desktop |
| Original folder | A restyled folder: classic, rounded or minimal; flat, gradient or glass; dots, stripes, grid or grain |
Home |
Desktop Theatre |
Explore |
Time Capsule |
Themes |
Studio in Midnight |
iconmorph is a thin Tauri 2 shell around a Rust engine. The React UI never draws icons itself: every preview comes from the same engine path that writes the real icon, so what you see is what gets applied.
flowchart TB
subgraph UI["π₯οΈ React + TypeScript UI Β· src/"]
direction LR
H["Home"] ~~~ E["Explore"] ~~~ S["Studio"] ~~~ T["Theatre"] ~~~ TH["Themes"] ~~~ TC["Time Capsule"]
end
subgraph SHELL["π¦ src-tauri Β· thin command layer"]
IPC["Typed IPC commands<br/>capability-gated"]
LV["Live helper<br/>iconmorph --live Β· Windows Β· opt-in"]
end
subgraph CORE["βοΈ iconmorph-core Β· Rust engine"]
EN["Engine<br/>orchestrator + journal"]
IO["image_io<br/>safe decode Β· SVG Β· GIF"]
CP["compose<br/>modes Β· shapes Β· effects"]
EC["encode<br/>ICO Β· ICNS Β· PNG Β· SHA-256"]
ST[("store<br/>SQLite Β· backups Β· history")]
PF["platform adapters"]
end
subgraph OS["πͺππ§ Native OS metadata"]
WIN["Windows<br/>desktop.ini Β· .lnk Β· .url"]
MAC["macOS<br/>NSWorkspace setIcon"]
KDE["KDE<br/>.directory"]
GIO["GNOME and friends<br/>gio metadata::custom-icon"]
end
UI -->|"invoke Β· spawn_blocking"| IPC
IPC --> EN
EN --> IO --> CP --> EC
EN <--> ST
EN --> PF
PF --> WIN
PF --> MAC
PF --> KDE
PF --> GIO
IPC -.->|"opt-in"| LV
classDef ui fill:#F7F5EF,stroke:#B7C9B2,color:#293B32
classDef shell fill:#E3C1D6,stroke:#9b7a8d,color:#293B32
classDef core fill:#B7C9B2,stroke:#5c7a62,color:#293B32
classDef os fill:#E8A68C,stroke:#a8654a,color:#293B32
class H,E,S,T,TH,TC ui
class IPC,LV shell
class EN,IO,CP,EC,ST,PF core
class WIN,MAC,KDE,GIO os
Applying an icon follows Validate β Generate β Backup β Apply β Verify β Commit. The original metadata is saved before the first change. Failures roll back, and a crash mid-change is undone the next time iconmorph starts.
sequenceDiagram
autonumber
actor U as You
participant UI as React UI
participant EN as Engine
participant DB as SQLite store
participant AD as Platform adapter
participant OS as Operating system
U->>UI: Press Apply
UI->>EN: apply(target, spec)
EN->>AD: classify(target)
AD-->>EN: supported?
EN->>EN: compose 1024 px master, encode, hash
EN->>AD: read_state(target)
EN->>DB: save original (first time) + journal "pending"
EN->>AD: apply(target, icon file)
AD->>OS: write native icon metadata
EN->>AD: verify(target)
AD->>OS: re-read metadata
alt verified
EN->>DB: commit + history "success"
EN-->>UI: done
else failed
EN->>AD: restore(pre-state)
EN->>DB: journal "rolled_back"
EN-->>UI: error with a clear message
end
Note over EN,DB: On startup, any journal row still pending is rolled back
Adding a desktop environment means adding one adapter. No image code is duplicated.
classDiagram
class PlatformAdapter {
<<trait>>
+id() str
+capabilities() Capabilities
+desktop_dir() PathBuf
+classify(path) Classification
+read_state(target) Value
+apply(target, icon_file)
+restore(target, state)
+verify(target, icon_file) bool
}
class WindowsAdapter {
desktop_ini
lnk_shortcuts
url_shortcuts
}
class MacAdapter {
NSWorkspace_setIcon
}
class KdeAdapter {
directory_file
desktop_launchers
}
class GioAdapter {
custom_icon_metadata
desktop_launchers
}
PlatformAdapter <|.. WindowsAdapter
PlatformAdapter <|.. MacAdapter
PlatformAdapter <|.. KdeAdapter
PlatformAdapter <|.. GioAdapter
Read more in docs/ARCHITECTURE.md.
| Layer | Technology | Why it is here |
|---|---|---|
| Desktop shell | Small native app with a typed, capability-gated IPC | |
| Engine | image Β· resvg Β· ico Β· icns |
Safe image decoding, SVG rendering, ICO / ICNS / PNG encoding |
| Storage | rusqlite (bundled) |
Backups, operation journal, history, snapshots, settings |
| Windows APIs | windows crate |
Shell API for desktop.ini, IShellLinkW for .lnk, desktop host for Live GIFs |
| macOS APIs | objc2 Β· objc2-app-kit |
NSWorkspace setIcon:forFile: |
| UI | Typed front end | |
| Build | Dev server on port 1420 and production bundle | |
| Styling | culori |
OKLCH themes and Chameleon accents |
| Components | Radix UI Β· lucide-react Β· motion Β· @tanstack/react-virtual |
Accessible dialogs, sliders, switches; virtualised character grid |
| State and validation | zustand Β· zod |
App and Studio state; settings and IPC validation |
| Testing | Rust tests Β· |
Engine on real temp folders, IPC contract, native adapter tests in CI, UI tests |
| Quality | ESLint Β· rustfmt Β· clippy -D warnings |
Lint and format gates |
| CI/CD | Checks on Linux, Windows and macOS; releases for 6 targets; landing page deploy | |
| Landing page | React Β· Vite Β· Tailwind Β· GitHub Pages | loganthp.github.io/IconMorph |
IconMorph/
βββ crates/iconmorph-core/ # Rust engine
β βββ src/ # compose Β· encode Β· image_io Β· store Β· live Β· engine
β β βββ platform/ # windows Β· macos Β· linux Β· desktop_entry Β· url_shortcut Β· windows_live
β βββ tests/ # engine (real temp folders) Β· ipc_contract Β· windows_native Β· macos_native
β βββ examples/ # render_samples Β· make_app_icons Β· bench_engine
βββ src-tauri/ # Thin Tauri 2 shell: IPC commands, capabilities, bundling
βββ src/ # React + TypeScript UI
β βββ features/ # home Β· explore Β· icon-studio Β· desktop-theatre Β· theme-studio Β· time-capsule
β βββ lib/ # typed IPC Β· specs Β· collections Β· chameleon (OKLCH) Β· session
β βββ stores/ # zustand stores
β βββ test/ # Vitest suites
βββ landing/ # Landing page (React + Vite), deployed to GitHub Pages
βββ public/collections/ # Pixel Friends + Minimalist artwork (original, CC0)
βββ assets/ # Brand mark, bundled characters, manifests, README artwork
βββ docs/ # ARCHITECTURE Β· PLATFORMS Β· TESTING Β· screenshots
βββ benchmarks/ # Memory and CPU profiling scripts and results
βββ scripts/ # typecheck-native.sh Β· gen-collections.py
βββ .github/workflows/ # ci.yml Β· release.yml Β· pages.yml
Download an installer from Releases. Packaged builds need no Node.js, Rust or developer tools.
| OS | Installer | First launch |
|---|---|---|
| πͺ Windows | .msi or -setup.exe (x64 and ARM64) |
Builds are unsigned, so SmartScreen may warn: choose More info β Run anyway. WebView2 is installed automatically if missing |
| π macOS | .dmg (Apple Silicon and Intel) |
Unsigned builds need right-click β Open the first time |
| π§ Linux | .AppImage, .deb or .rpm (x64 and ARM64) |
GIO desktops need the gio tool (libglib2.0-bin / glib2), which most distributions ship |
Verify downloads against SHA256SUMS.txt from the release.
Prefer building it yourself? Jump to Quick Start.
| Tool | Version | Get it |
|---|---|---|
| Node.js | 22 LTS recommended (20.19+ works) | nodejs.org |
| Rust | stable, 1.89 or newer | rustup.rs |
| Git | any recent version | git-scm.com |
| Tauri 2 system libraries | see below | Tauri prerequisites |
πͺ Windows
- Install Microsoft C++ Build Tools and tick Desktop development with C++.
- WebView2 ships with Windows 11. On Windows 10 it is installed on demand.
- Install Rust with
rustup, choosing the default MSVC toolchain.
winget install OpenJS.NodeJS.LTS
winget install Rustlang.Rustup
rustup update stableπ macOS
xcode-select --install
brew install node
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update stableπ§ Linux (Debian / Ubuntu)
sudo apt update
sudo apt install -y libwebkit2gtk-4.1-dev build-essential libxdo-dev libssl-dev \
libayatana-appindicator3-dev librsvg2-dev libglib2.0-bin
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update stableInstall Node.js 22 from nodejs.org or with nvm.
Check everything is in place:
node --version # v22.x (or 20.19+)
npm --version
rustc --version # 1.89 or newer
cargo --versiongit clone https://github.com/LoganthP/IconMorph.git
cd IconMorphnpm installRust crates are fetched automatically the first time you run or build the app.
npm run tauri devThis starts the Vite dev server on http://localhost:1420 and opens the desktop window with hot reload. The first run compiles the Rust crates, which can take several minutes. Later runs are fast.
π‘ Run
npm run devon its own only to work on the UI in a browser. Icons can be applied only inside the Tauri window, because the browser has no access to the Rust engine.
npm run tauri buildThe installers land in target/release/bundle/. The raw binary is at target/release/iconmorph (iconmorph.exe on Windows).
npm run tauri build -- --bundles deb # Linux: only the .deb
npm run tauri build -- --bundles nsis # Windows: only the setup.exe
npm run tauri build -- --bundles dmg # macOS: only the .dmg- Make a test folder with a file inside.
- Open iconmorph and go to Explore, then click your folder.
- Pick a character from the shelf, for example π±.
- In the Morph Wheel choose Character and press Apply.
- Check your desktop or file manager. Close iconmorph: the icon stays.
- Reopen iconmorph, then Time Capsule β Restore to get the original back.
cd landing
npm install
npm run dev # http://localhost:5173
npm run build # production build in landing/distPushes to main that touch landing/ redeploy the page to GitHub Pages through .github/workflows/pages.yml.
# Front end
npm run lint
npm run typecheck
npm run test
# Rust engine
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
# Type-check the Windows and macOS adapters from Linux
./scripts/typecheck-native.sh| Command | What it does |
|---|---|
npm run tauri dev |
Run the desktop app with hot reload |
npm run tauri build |
Build installers for the current OS |
npm run dev |
Vite dev server only (UI in a browser) |
npm run build |
Type-check and build the web bundle |
npm run lint |
ESLint over src/ |
npm run typecheck |
tsc --noEmit |
npm run test |
Vitest |
cargo test --workspace |
All Rust tests |
cargo run -p iconmorph-core --example render_samples -- assets/characters/cat.svg out.png |
Render every mode to a contact sheet |
cargo run -p iconmorph-core --example make_app_icons |
Regenerate iconmorph's own app icons with the engine |
cargo run -p iconmorph-core --example bench_engine |
Run the engine benchmark |
python3 scripts/gen-collections.py |
Regenerate the Pixel Friends and Minimalist SVGs and manifest |
This is an honest matrix. Verified means the full apply β verify β restore cycle was run on that mechanism by automated tests and through the real UI. Built, not yet run means the code compiles against the real OS bindings and has native integration tests that run on that OS in CI, but it has not yet been exercised on real hardware by the maintainers.
| Windows 10 / 11 | macOS 11+ | Linux Β· KDE Plasma | Linux Β· GNOME, Cinnamon, MATE, XFCE, Budgie | |
|---|---|---|---|---|
| Mechanism | desktop.ini via SHGetSetFolderCustomSettings; .lnk via IShellLinkW; .url via its IconFile key |
NSWorkspace setIcon:forFile: |
Folder .directory file |
GIO metadata::custom-icon (gvfs) |
| Folders | π‘ Built, not yet run | π‘ Built, not yet run | β Verified | π‘ Built, not yet run on a real session |
| Shortcuts | π‘ .lnk and .url (Steam, Epic, web apps) |
π‘ Aliases | β
.desktop Verified |
β
.desktop Verified |
| Plain files | β Not possible (Windows limitation) | π‘ Built, not yet run | β Not possible (Dolphin limitation) | π‘ Built, not yet run |
| Icon written | Multi-size ICO (16β256) | ICNS (16β1024, @2x) | PNG 512 | PNG 512 |
| Live GIF on desktop | π‘ Opt-in, built, not yet run | β Still frame | β Still frame | β Still frame |
The app shows this information for the machine it is running on (the platform chip in the top bar and the chips on Home) and disables whatever is not supported there. Platform details are in docs/PLATFORMS.md.
- No tray icon, no autostart, no background service, no polling for static icons. Closing the window ends the process, and its WebView helpers exit within one second.
- Generated icons are stored once, by content hash, in the per-user data folder (never a temp folder), because the OS keeps reading them after iconmorph exits.
- Every change is Validate β Generate β Backup β Apply β Verify β Commit, and a crash mid-change is rolled back on the next start.
- Imported images, SVGs and GIFs are sniffed by magic bytes, size-limited and decoded with allocation limits. SVG external references are never resolved.
Measured numbers for a release build are in benchmarks/README.md.
The app itself never stays running. The one exception is opt-in: if you turn on Animate on the desktop for a GIF design (Windows), the separate iconmorph Live helper runs while something is animating. It shows a notification-area icon (Pause / Open / Stop), never changes files, and quits by itself when nothing is left to animate. Start with Windows is off unless you tick it.
| OS | Data folder |
|---|---|
| Windows | %APPDATA%\IconMorph\IconMorph\data |
| macOS | ~/Library/Application Support/dev.IconMorph.IconMorph |
| Linux | $XDG_DATA_HOME/iconmorph (usually ~/.local/share/iconmorph) |
Uninstalling the app does not delete this folder, so applied icons keep working. To remove everything, use Time Capsule β Restore all, then Remove unused icons, then delete the folder.
β npm run tauri dev fails with a Rust or linker error
Check rustc --version is 1.89 or newer and run rustup update stable. On Windows, make sure Desktop development with C++ is installed. On Linux, install the packages from the prerequisites above.
β Port 1420 is already in use
The dev server uses a fixed port (strictPort). Stop whatever is using port 1420 and run the command again.
β³ The first build takes a long time
That is normal. The first build compiles every Rust dependency, including the SQLite and image libraries. Later builds reuse the cache.
π‘οΈ Windows SmartScreen or macOS Gatekeeper blocks the installer
Builds are unsigned. On Windows choose More info β Run anyway. On macOS right-click the app and choose Open.
π§ Linux: the icon does not change on GNOME / XFCE
GIO desktops need the gio tool (libglib2.0-bin) and the gvfs metadata daemon of a normal desktop session. Launchers (.desktop) may need Allow Launching again after editing.
πͺ A Windows shortcut says it can't be customized
Shortcuts installed for all users live in C:\Users\Public\Desktop and need administrator rights to change. iconmorph marks them and explains this. Plain programs (.exe, .jar) cannot hold their own icon without being modified, so customize their shortcut instead.
ποΈ The animated GIF doesn't play on my desktop
Animation works on Windows only, for items on the desktop itself (not inside Explorer folder windows). Check that Animate on the desktop was ticked before you pressed Apply and that the iconmorph Live icon is in the notification area. Elsewhere the GIF's chosen frame is the icon.
- On Linux WebKitGTK, View Transitions are turned off because they crash the web process (WebKitGTK 2.52). Workspaces cross-fade instead.
- Studio's Layers popover lists the fixed character / folder stack. Free multi-layer editing is on the roadmap.
- A GIF with transparent areas shows the still frame behind those areas.
- Windows and macOS builds compile against the real APIs and have native tests in CI, but have not been run on real hardware by the maintainers yet. Help is welcome: see the manual test checklist.
- Verify Windows and macOS on real hardware, then flip the matrix entries to Verified
- Show the item's real native icon in Explore and as "Before" in Studio
-
.iconpackimport / export - Save, duplicate, export and import Themes
- Text overlays and multi-layer editing in Studio
- CLI:
iconmorph apply <path> --emoji π± --mode full - Context-menu entry in Explorer, Finder and Nautilus
- WinGet, Scoop, Homebrew and AUR packages
Full list in ROADMAP.md. Release notes are in CHANGELOG.md.
Issues and pull requests are welcome. Good first areas: platform adapters, icon collections, translations and editor tools.
- Fork the repo and create a branch.
- Run the checks before opening a pull request.
- Read CONTRIBUTING.md, SECURITY.md and the Code of Conduct.
Testing on a real Windows, macOS or Linux machine is one of the most useful contributions. Follow docs/TESTING.md and report the result in an issue.
The character library draws emoji with your system's colour-emoji font (Segoe UI Emoji, Apple Color Emoji, Noto Color Emoji) at the moment you pick one, so iconmorph redistributes no third-party emoji artwork. Bundled artwork under assets/ and public/collections/ is original and listed in assets/manifests/assets.json, and each shelf item shows its source and licence. Do not add copyrighted anime, film or game characters. You can import your own images.
Code is released under the MIT License. See THIRD_PARTY_LICENSES.md for dependencies.