Create Kaleido Desktop, a cinematic Plex client for Windows

Tauri 2 shell with a React/TypeScript interface and libmpv playback composed
beneath the web view (DirectComposition on Windows). Shared code with per-OS
platform modules and configs so macOS and Linux can follow.

- Plex sign-in (browser, plex.tv/link or manual), server selection, Plex Home
- Home, Movies and TV Shows (Discover, Library, Collections), search, people
- Title pages with logos, ratings, cast, extras, seasons and episodes
- Direct play with Plex conversion fallback, tracks, markers, autoplay
- Metadata editing, artwork, fix match, refresh, analyze and deletion
- Resumable offline downloads
- App settings and Plex server administration with a live dashboard
- Signed updater feed and Forgejo CI

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-10-30 16:26:37 -07:00
commit 00d72e70f4
121 changed files with 25315 additions and 0 deletions

44
src/screens/Splash.tsx Normal file
View file

@ -0,0 +1,44 @@
import { useEffect, useState } from 'react';
import { useSettings } from '../app/settings';
const FACETS = [
{ fill: '#C3E8D3', d: 'M33,4 L55.5,17 L42.5,24.5 L33,19 Z' },
{ fill: '#71B9B0', d: 'M56.5,19 L56.5,45 L43.5,37.5 L43.5,26.5 Z' },
{ fill: '#3D7C7B', d: 'M55.5,47 L33,60 L33,45 L42.5,39.5 Z' },
{ fill: '#D0A977', d: 'M31,60 L8.5,47 L21.5,39.5 L31,45 Z' },
{ fill: '#E9D8AE', d: 'M7.5,45 L7.5,19 L20.5,26.5 L20.5,37.5 Z' },
{ fill: '#EEF2DD', d: 'M8.5,17 L31,4 L31,19 L21.5,24.5 Z' },
];
/**
* The cold-start aperture: the six facets twist open around the dark center,
* hold until startup data is ready, then the view flies through the aperture.
*/
export function Splash({ ready, onDone }: { ready: boolean; onDone: () => void }) {
const reduced = useSettings((s) => s.reducedMotion);
const [phase, setPhase] = useState<'opening' | 'held' | 'leaving'>('opening');
useEffect(() => {
const t = setTimeout(() => setPhase('held'), reduced ? 0 : 1100);
return () => clearTimeout(t);
}, [reduced]);
useEffect(() => {
if (phase === 'held' && ready) setPhase('leaving');
}, [phase, ready]);
useEffect(() => {
if (phase !== 'leaving') return;
const t = setTimeout(onDone, reduced ? 0 : 620);
return () => clearTimeout(t);
}, [phase]);
return (
<div className={`splash ${phase}`} data-tauri-drag-region>
<div className="splash-mark">
<svg viewBox="0 0 64 64" width="92" height="92" aria-hidden="true">
{FACETS.map((f, i) => (
<path key={i} d={f.d} fill={f.fill} style={{ ['--i' as string]: i }} />
))}
</svg>
<span className="splash-word">KALEIDO</span>
</div>
</div>
);
}