Repository navigation
Somnia v12.2.0-alpha.5
Pre-release
Pre-release
Somnia v12.2.0-alpha.5
Private alpha. Windows and Linux installers (macOS build intentionally skipped for alpha).
Live preview in the code studio
- Linked resources load from disk: stylesheets, scripts, images, fonts, audio and video referenced by the page are read from the project folder, even when the file is not open in Somnia. This includes CSS
@importandurl(),srcset, and root-relative paths such as/img/a.png. - File links work: links to other local pages navigate inside the live view, with back and forward history and
#anchorscrolling. Externalhttp(s)links open in the system browser. - Live reload: the preview tracks the files the current page depends on. Editing a stylesheet swaps it in place without a reload and keeps the scroll position. Unrelated edits no longer rebuild the preview. Changed images and fonts on disk are picked up while the preview is visible.
- ES modules: relative
importchains intype="module"scripts now run in the preview. Import cycles show a clear notice. - Safer path handling: percent-encoded paths work, links that escape the project root are rejected, and UTF-16 and Windows-1252 files decode correctly.
- Resources that cannot be loaded (missing, too large, outside the project) are listed in a banner.
Project menu
- Save all files and Close all files work across all studios. Close all asks before discarding unsaved changes and closes nothing if a save fails.
Known limits
- Import cycles between ES modules are not supported.
- Disk changes to text files that are not open do not trigger an automatic reload yet.
- Media studios save as a copy with a native dialog per file.
Internal
- Studio shell concept document added under
docs/concepts/studio-shell.md.
Installers and SHA256SUMS below. Built from the green CI run on the tagged commit.