Galaxy Shell landing page
Public URL: https://galaxy-shell.fssoftware.workers.dev
The landing uses Eleventy 3.1.8. Portuguese is served at / and English at /en/.
The language link keeps the current section anchor. There is no language auto-redirect.
Edit these sources, then rebuild:
site/src/index.njk: the shared layout and planet markup.site/content/pt.jsonandsite/content/en.json: matching text keys.site/src/_includes/site.css: styles and responsive typography.site/src/_includes/site.js: local illustration controls.site/src/_includes/features.njkandfeature-icons.njk: feature blocks, cards and SVG icons.docs/assets/dossier-black-hole.js: page lifecycle for the project's shader.
Eleventy generates both pages from one template and locale data. Missing text keys
fail the build. CSS, JavaScript and the shader are inlined so the generated pages
remain self-contained. docs/galaxy-shell.html and docs/galaxy-shell.en.html are
committed build outputs, not the editing source. No client translation framework,
desktop API, credentials, database or user data is included.
The landing head has canonical, hreflang, Open Graph and Twitter summary metadata and
an inline SVG icon (src/_data/favicon.js), also used by the documentation. No social
image exists yet, so link previews show text only.
Documentation sources
The documentation publishes every tracked *.md file outside openspec/, and from openspec/ only
the files named in site/doc-ids.json. That table maps a file to its site id, the id of the doc it
came from, so the public URL /docs/<id>/ (and /en/docs/<id>/) does not change when a doc moves.
A file from openspec/ takes the category of the doc it came from; an id ending in -pending
(the open part of a partly landed doc) takes the plans category. Other files under openspec/,
including every change in flight, are not published.
site/test-fixtures/doc-urls-2026-11-12.json lists the doc URLs of that date and
npm --prefix site test fails when one is gone; remove a URL from it only when its doc is removed
on purpose, in the same commit.
Build and preview
Prepare web-shell dependencies following the root AGENTS.md, then:
npm ci --prefix site
npm --prefix site run build
npm --prefix site run dev
The build bundles the shared wallpaper, runs Eleventy, updates the two documented
HTML outputs and bundles them into the Worker. Run npm --prefix site test after
building to verify locale routes, metadata, HTML, scripts and shader parity.
Generated files in site/dist, dependencies and local Wrangler state are ignored.
Do not publish the entire repository or the QA output directory.
Publish
cd site
npx wrangler whoami
npm run deploy
Wrangler uses your Cloudflare login or CLOUDFLARE_API_TOKEN from the environment.
Keep credentials outside Git. The account and Worker name are in wrangler.jsonc.
Production deploys automatically through .github/workflows/deploy-site.yml when
main receives changes to the landing, publication package, shader adapter and sources,
build script or web dependency manifests. Desktop-only changes outside those paths
are ignored. Other branches cannot publish production. The workflow also supports
manual dispatch on main from GitHub Actions.
The job uses Node 22, installs dependencies with the desktop install scripts disabled, refreshes the wallpaper bundle, publishes with Wrangler and checks that the public HTML matches the built page. Deployments run sequentially.
CLOUDFLARE_SITE_API_TOKEN is a GitHub Actions repository secret, with Workers Scripts
Write permission limited to this Cloudflare account. It is exposed only to the
publication step. Never commit its value. Rotate it in Cloudflare and update the
repository secret when needed. The runtime has no credentials or bindings.
Manual publication remains available with the commands above.
The Worker serves / and /en/, redirects /en to /en/ and
/galaxy-shell.html to /, supports GET/HEAD,
and returns 404 for unknown paths. To roll back, rebuild and publish the intended
previous commit in a dedicated worktree. This changes only the public landing,
not installed desktop sessions.
Initial publication uses the connected Cloudflare API with the same bundled module and configuration as Wrangler. No QA media is uploaded.
Stack visual
The stack uses four CSS planets for the main technologies: React, Electron, Rust/Smithay and OpenCode. Labelled moons sit on decorative orbits around each planet and show their supporting technologies. Node.js is a child of Electron, whose runtime launches the core in a separate process. Python supervision remains documented in the technical documentation rather than the landing stack. Galaxy Shell labels the center without a subtitle. Orbits and spheres are decorative; labels remain available without JavaScript. Mobile uses two columns with Galaxy Shell above them. The map comes after the features: a visitor reads what the product does before how it is built.
Feature presentation
The explanatory content is a continuous page, with three large feature blocks (canvas, AI assistant and interface changes) interspersed with compact cards. Workspace conversations use a wider card. There are no topic tabs or hidden panels. The previous section anchors remain valid. Architecture stays in the planet map.
The illustrations are built with HTML/CSS and decorative SVG icons. Controls adjust canvas zoom and horizontal position, switch workspace example messages, arrange illustrated windows, or preview and restore an interface change. They never call an AI provider, modify the desktop, or change project sources. Every large illustration has a localized caption identifying it as an illustration. Keyboard buttons, pressed states, live text updates, responsive layouts and reduced-motion preferences are supported. The black-hole shader is unchanged.
The source and documentation links lead both the hero and the closing section, in that order. The Ubuntu install control follows them, because it is still a mock with disabled package and store options: do not make it the first or the filled action until a package exists.
The hero links under the actions jump to feature sections. They are hidden at 900 px and below, where the page is short enough to read in order and the black hole should stay in the first screen.
Color theme
Both languages share a black theme with orange accents, matching the black hole artwork. Keep text and controls readable on dark surfaces; print styles remain light. The four stack planets retain their own colors to distinguish technologies. The site palette does not change the shared desktop wallpaper shader.
The landing passes an empty legibility-region list to the shared shader: its text readability comes from the spatial CSS mask, not the desktop's conservative unknown-region luminance cap. Do not omit this list or apply opacity to the whole canvas at smaller breakpoints, as that suppresses the white-hot disk highlights.
Above 900 px the artwork sits beside the text, sized from the viewport width and not from the hero height, so adding hero content cannot push the disk under the text. At 900 px and below it has its own band under the text.
Three states of the hero artwork, none of which changes the shared shader:
- Normal: the shader animates. Measured at 61 FPS with no freeze on a Radeon RX 550.
- Software rendering: a sustained run of slow frames keeps the last frame on screen,
and the canvas gets
data-frozen. Measured with SwiftShader, the page went from 1 to 3 FPS to 62 FPS once the queue drained. Without this, scrolling and input stall. - No WebGL or no JavaScript:
--black-hole-art, a static CSS version, shows through. It stays off during a normal load, so it never flashes before the shader.
Do not add scroll-behavior: smooth. With the shader in software rendering, an
in-page jump made no visible progress in 6 s, while an instant jump lands at once.
Product copy
Use direct technical descriptions in both locales: name the feature, its behavior and any relevant limitation. Avoid slogans, metaphors and unsupported guarantees. Describe CSS profile customization separately from source changes requiring a build. Workspace history does not imply that external applications restore after a restart.
Headings stand on their own without eyebrow labels. Keep the technology names, feature titles and explanatory descriptions; avoid repeating them in small labels.
Ubuntu installation preview
The footer includes an “Install on Ubuntu” disclosure with a “Coming soon” label in both locales. Opening it shows disabled .deb and app-store options. This is a visual mock only: no package, download URL, store listing or installation command is provided. The repository and source installation documentation remain linked. The disclosure uses native details/summary and works without JavaScript.
Documentation site
Docs are served at /docs/ (Portuguese) and /en/docs/ (English). These are
localized views of one document collection, not two separate inventories. The
header's PT/EN switch opens the same document in the selected language. Navigation,
categories, notices and search messages are localized, and links between documents
keep the selected language. Product-page documentation links use that locale too.
The source remains tracked repository Markdown: root READMEs, docs/**/*.md,
contributor instructions, task skills and this maintenance guide. Edit the original
source and push to main. Add new Markdown to Git before building. No copied content
tree or browser translation service is involved.
site/documentation.js groups translations by a stable document identity. A default
.md file or .en.md supplies English; .pt-BR.md supplies Brazilian Portuguese.
Only one source per language is allowed for an identity; duplicates fail the build.
The root README pair is the single overview document, at /docs/overview/ and
/en/docs/overview/. It appears once in each localized menu and search index, and
its language row from GitHub is omitted from the rendered article.
Translations are selected before rendering. If the chosen language has no source,
the page explicitly identifies the original language and keeps the article's real
lang attribute. It does not claim that the content has been translated. The
canonical link points to that original-language page; hreflang alternatives are
only emitted for real translations. Translated pages have their own canonical URL
and reciprocal language alternatives. The current overview translations are kept
aligned for model defaults, voice installation, shortcuts and build instructions.
Overview section IDs are shared across languages. Portuguese heading aliases
preserve old fragment links. The switch preserves common section fragments and
maps those aliases to shared IDs. Other documents preserve fragments when both
language views use the same source, and otherwise open the translated page at its
top rather than inventing an anchor mapping. Old /docs/readme/ URLs redirect to
the English overview and /docs/readme.pt-br/ to the Portuguese overview, preserving
query strings and browser fragments. Source-code and non-document links stay on
GitHub. Each article has an edit link and heading index.
site/doc-locales.js contains the documentation UI strings. The shared
site/src/documentation.njk and docs.css render both languages. Search loads the
selected locale's /docs/search-index.json or /en/docs/search-index.json on
demand, runs in the browser and sends no queries to a service. Each logical
document contributes exactly one result per index. Browsing and language links
work without JavaScript; client JavaScript adds search and fragment preservation.
Categories distinguish feature reference, development, decisions/plans, historical records, QA and contributor instructions. Their labels do not certify that every detail is current. Planning and historical records carry a notice. GitHub Discussions was disabled and empty at migration time; technical discussions recorded in Markdown are included, not private chat transcripts.
Markdown is rendered with markdown-it 14.3.3, with raw HTML disabled and image
references represented as text. codex:// links point to private chats and open for
nobody else, so the public page keeps only their text; the source Markdown is unchanged. QA images, videos, logs and files outside Git are
never copied into static assets. Only generated site/dist/public is uploaded
through Cloudflare Workers Static Assets, with the ASSETS binding. GET/HEAD
boundaries and landing language headers remain in the Worker. Documentation
source edits trigger the existing GitHub Actions deployment.
Verify with npm --prefix site run build, npm --prefix site test and
npx wrangler deploy --dry-run from site. Preview the real asset routing with
npm --prefix site run dev. Rollback publishes a previous commit with its Worker
and static assets together, without changing installed desktop sessions.
Implementation references: Eleventy JavaScript data files and Cloudflare static asset binding.
Theme documentation navigation
The documentation header has separate Docs and Themes entries. Themes opens
/docs/themes/catalog/ or /en/docs/themes/catalog/, with a dedicated sidebar.
Galaxy is the first visual theme documented there. Its sidebar separates
components, integration, and historical/QA records; the generic theme package
system and its Studio example sit in a separate Theme system group.
site/documentation.js classifies theme documents explicitly. Product navigation
excludes that category and links to the theme catalog instead. Galaxy contains
Nebula, Black Hole, the deep-space backdrop, crystal/wallpaper integration,
window-closing visuals and their focused validation records. Canvas layout and
its spherical projection remain product specifications. Search still covers the
single consolidated collection, and results open the correct documentation area.
Theme hub pages use the same PT/EN translation grouping as other docs. English-only technical records retain the translation notice. The withdrawn physical Black Hole experiment remains marked historical after moving into Galaxy navigation. This organization does not rename runtime identifiers, wallpaper setting values, or the existing Studio compositor package.
Nebula and the deep-space backdrop were extracted from
openspec/specs/hex-crystals-wallpaper/spec.md into docs/themes/galaxy/. The original headings
remain as compatibility links to the extracted specifications. Existing standalone
Black Hole and wallpaper URLs remain unchanged, now using the theme sidebar and
Galaxy breadcrumb. Edit each specification at its canonical Markdown source;
do not copy it back into the hub or integration document.
Landing typography and motion
The landing embeds Space Grotesk (headings and wordmark) and IBM Plex Sans
(body and controls) variable WOFF2 Latin/Latin Extended subsets. Sources and
SIL OFL licenses live in site/src/assets/fonts/; src/_data/fonts.js embeds
them so both generated HTML pages remain standalone and make no third-party
font requests. Documentation typography is unchanged.
Every section shares one content column through --gutter; do not give a section its
own max-width. The transparent header overlays the hero. Hero top padding reserves its height;
the shader draws behind the header and keeps its full-brightness integration.
The wordmark and headings share the display family, while body copy uses a
separate reading family and a less condensed rhythm.
Motion uses short hero entrance animations and one-time IntersectionObserver reveals for below-the-fold content. No scroll hijacking, recurring decorative loops, or new animation dependency. Content is visible without JavaScript and with reduced motion. Focus reveals a pending block immediately, a live change to reduced motion reveals all blocks, and print always shows the content.
Continuous sky
A single document-anchored star field covers the landing from header to footer.
src/_data/starfield.js embeds a deterministic SVG tile of small warm/cool stars
in both HTML outputs; it has no external requests or animation loop. The tile
scrolls with the document. Main section and footer backgrounds are transparent.
The original black-hole canvas remains inside the hero, appears once and scrolls
out of view. Its lower edge fades into the shared star field. No fixed background,
sticky scene, repeated black hole, or changes to the feature illustrations.
Universe buttons
components/UniverseButton.njk is the shared link/button component for hero and
footer actions and the two interactive demos. Small canvas/workspace controls and
the installation mock keep their existing behavior. The component has primary,
secondary and disabled states, with role-based visual tokens in action-theme.css.
Its clipped star field and nebula drift slowly; hover/focus speeds up that same
animation without resetting its position. A short staggered letter wave runs once
per hover/focus. Visible words wrap normally; the complete label is the accessible
name. Demo label changes go through setUniverseLabel to retain the effect and
accessible name after toggling. Links keep their real destinations.
Reduced motion leaves a static sky and disables letter/press motion. Disabled buttons do not animate. The contrast test covers text/surface token pairs, and a source guard prevents raw colors/dimensions in these new component styles. Existing unrelated styles are not migrated. The hero artwork offset is now -40 px on desktop (previously -80 px); the separate mobile artwork band is unchanged.
src/design-system.njk exercises these variants, long labels and a live toggle.
The build moves its HTML to site/dist/design-system.html, outside public assets;
the Worker returns 404 for /design-system/. For local review only, serve site/dist
on loopback and open /design-system.html; the landing is under /public/ there.
Production continues to serve the landing at / and /en/.
Animation rate reference: https://developer.mozilla.org/en-US/docs/Web/API/Animation/updatePlaybackRate