Repository navigation
v0.2.0
The first full release of Skathi: desktop apps from Vue 3 and Svelte 5 components, rendered on the GPU without a browser.
bun create skathi my-appDocumentation: skathi.land
Highlights
bun create skathi. A new app in one command: pick theshowcase,minimalorsveltetemplate, the platforms and the package manager.- Svelte 5. Svelte apps alongside Vue, from their own template, with hot reload. An app that doesn't use Vue's renderer, router or Pinia no longer carries them in its bundle.
- Shader effects grew up. Effects can shade an element's own content, keep history between frames, take images as parameters, and cross-fade into a different effect. A new devtools panel edits them live.
- New web APIs: Pointer Lock, View Transitions, smooth scrolling,
Element.animate()on more properties. - More CSS: masks,
text-shadow, modern colour functions,order,object-position, andCSS.supports()/@supportsthat tell the truth.
Effects (--shading)
[SkContent]effects shade the element's own painting (images and text included);[SkHistory]effects read their previous frame, for trails, feedback and multi-pass looks.- Image textures as parameters:
--shading: glass(url(assets/normals.png), 10px, 1). - 32 parameter floats per effect; the pointer position filled in by the host, and an effect clock that shares its zero with
performance.now(), so a page can hand an effect a start time. - Backdrop helpers in the
skSlang module. - A transition on
--shadingcross-fades between two different effects, not only between parameters of one. - The showcase has a Shaders page: shatter, ripples, snow and fireflies over the whole window, liquid glass, nebula, orbit, dissolve, halftone, colour grade and patterned glass.
Devtools
- An Effects panel: the effects on the page, with controls generated from each effect's schema, applied live.
effectsin the devtools CLI lists--shadingschemas and sets live overrides.
Web platform
- Pointer Lock (
requestPointerLock,pointerLockElement,movementX/Y). Escape always releases it. On Linux, X11 only. - View Transitions:
document.startViewTransition()for same-document transitions in the main window, withview-transition-nameand the::view-transition-*pseudo-elements. - Smooth scrolling:
scroll-behavior: smooth, andbehavior: "smooth"inscrollTo,scrollByandscrollIntoView. Element.animate()and@keyframesanimateborder-widthandoverflow.getComputedStyle()answers padding, margin and border-width longhands.cloneNode/importNodefixes; listeners added to<body>before mount are kept.- Many DOM and browser APIs moved from the JavaScript runtime into native code (History, element geometry and scrolling, viewport metrics, the
CSSnamespace,document.defaultView,<head>members). Apps load less JavaScript at startup.
CSS
- Masks:
mask,mask-image(images and gradients),mask-mode,mask-position,mask-size,mask-repeat,mask-composite. Unprefixed only;-webkit-mask-*is not read.mask-clip/mask-originsupportborder-box. text-shadow.oklch(),oklab(),lab(),lch(),hwb(),color()andcolor-mix()anywhere a colour is accepted.orderfor flex and grid items;object-positionfor images, video, canvas and Lottie (transitionable);containandwill-changeare accepted.CSS.supports()and@supportsanswer from one catalog of what the engine actually applies. The CSS reference lists every property as supported, partial, planned or not supported.- Isolated layers now work on Linux and macOS too:
clip-path, colour-matrix filters and text backgrounds render the same on every platform.
Hot reload
import.meta.hotfor app modules, includingaccept(deps, cb)andacceptExports.- One dev bundle per npm package, even when the app imports several of its entry points.
Fixes
- Gradients on Linux (wgpu) and glyph edges on macOS (Metal) now match Windows; Oklab gradients use the exact sRGB curve.
- Whitespace-only text outside inline content no longer renders.
- Launching an app while its previous instance is still closing waits for it instead of failing.
sk checkno longer reports code that the production bundle drops anyway.
Behaviour changes
document.activeElementis<body>when nothing has focus, as in browsers.- Adding the same listener twice to the same target is a no-op, as in browsers.
- Opening a link in an app embedded without a desktop host rejects with
ENOSYSinstead of doing nothing.
Building from source
- ThorVG links from a pinned prebuilt archive instead of being compiled; WebGPU comes from redjs with a single wgpu revision; leaner gpui and Windows dependencies; faster relinks of
sk-appin development.
Full Changelog: v0.1.0-beta.4...v0.2.0