Logo Variants App
repo: ~/Projects/logo-variants-app · 3 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /logo-variants3
- /icon3
- /imagemagick2
- /npm1
- /npx1
- /homebrew1
- /tauri1
- /main1
- /icons1
- /source1
- /index1
- /thesetdecorator1
- /server1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
18b51cd · 2026-05-12 · port to Tauri v2 — 698MB Electron → 3.8MB native
Drop-in replacement for the Electron wrapper using Tauri v2 + macOS
WKWebView. Bundle size 184× smaller (3.8 MB vs 698 MB) at the cost of
adding a Rust toolchain dependency (`brew install rust` + `cargo install
tauri-cli`).
Structure:
src-tauri/Cargo.toml Rust crate manifest, release profile is
size-optimized (panic=abort, lto, opt='s',
codegen-units=1, strip).
src-tauri/tauri.conf.json Window config — 1440×900, decorations on,
Overlay titlebar with hiddenTitle, URL =
http://127.0.0.1:9716/logo-variants.html.
src-tauri/src/main.rs Tiny entry point — Tauri builds the window
from config and runs the WKWebView. ~15 LOC.
src-tauri/icons/ 32×32, 128×128, 128×128@2x, 512×512 icons
rasterized from build/source.svg via
macOS `sips` (no rsvg/imagemagick needed).
web/index.html frontendDist placeholder. The actual page
loads from :9716 — this is just satisfying
tauri-build's pre-flight check.
The Electron files (main.js, package.json's electron deps) remain in
place as a fallback — `_electron-start-legacy` and `_electron-pack-legacy`
npm scripts can still build the 698 MB Electron bundle if Tauri's
WKWebView ever diverges from Chrome on this specific page.
Shipped: killed old Electron process, replaced ~/Desktop/Logo Showdown.app,
launched (PID 23727), verified the WKWebView loads :9716/logo-variants.html
cleanly.
First-time setup cost: ~3 min for `brew install rust` + `cargo install
tauri-cli` + initial Rust compilation of ~280 dependency crates. Future
builds: 27s for the release binary.
3df8a30 · 2026-05-12 · initial scaffold — Electron wrapper for TSD Logo Showdown viewer
Minimal native macOS desktop app for http://127.0.0.1:9716/logo-variants.html.
Borderless hiddenInset window + vibrancy + 1440×900 default. Offline-fallback
panel renders when TSD :9716 is down, with a Retry button and start-the-server
instructions.
External links open in the default browser, not in the app window.
Ship script: `npm run ship` builds the bundle and drops it on ~/Desktop/.
Bundle currently ships without a custom icon (default Electron mark) because
no SVG rasterizer (rsvg/imagemagick) was available locally; if Steve wants
the TSD wordmark on the icon later, install rsvg-convert or imagemagick,
rebuild the iconset under build/icon.iconset, run `iconutil -c icns
build/icon.iconset -o build/icon.icns`, and re-add the --icon flag in
package.json's pack script.
Built bundle: dist/Logo Showdown-darwin-arm64/Logo Showdown.app (698MB —
full Electron + Chromium runtime, normal for Electron). Shipped to
~/Desktop/Logo Showdown.app and launched successfully against the running
TSD server (which is currently up on :9716 serving from
~/Projects/thesetdecorator/server.js, PID 86735).
File tree
15 files tracked. Click any to browse the source at HEAD.
rendered in 0ms