The website for S²OUTH - the Student's Sub-Orbital Unified Telemetry Handler, a project by WüSpace.
S²OUTH is a modern, reliable telemetry system that provides live telemetry - sensor data and high-precision pose estimation - for the full duration of a suborbital spaceshot flight, plus a secondary high-bandwidth RF link for live HD video. The site presents the project, its flight-proven South Cube predecessor, the N₂ORTH rocket it is being developed for, and the project's supporters.
- SvelteKit with Svelte 5 (runes mode)
- TypeScript
- Bun as package manager and runtime
svelte-adapter-bun- the production build runs as a Bun HTTP server@sveltejs/enhanced-img- images are optimized at build time (AVIF/WebP + responsive variants)- Nix (flake) for a reproducible dev shell and the production container image
A Nix flake provides the toolchain (Bun, svelte-check,
language servers). With direnv the environment loads
automatically via .envrc; otherwise enter it manually:
nix developThe dev shell also sets LD_LIBRARY_PATH so that sharp (used by
enhanced-img to optimize images) can load its native module on NixOS.
Then install dependencies and start the dev server:
bun install
bun run dev # or: bun run dev -- --openType-check the project:
bun run checkImages live in src/lib/assets/ and are referenced directly by path on the
<enhanced:img> element, e.g.:
<enhanced:img src="$lib/assets/pictures/home/FullAssembly.jpg" alt="…" />@sveltejs/enhanced-img generates the optimized AVIF/WebP and responsive
variants at build time, so commit only a single reasonably-sized source per
image - there's no need to add huge originals. Oversized sources blow up both
the dev-server transform time and the build (sharp re-encodes every variant).
Before committing a new photo, downscale it and bake in its rotation. Cap the images at ~2560px:
# other images
mogrify -auto-orient -strip -resize '2560x2560>'-auto-orientrotates the pixels to match the photo's EXIF orientation - run it before-strip. Stripping the EXIF orientation flag without rotating first leaves phone photos sideways.-stripremoves metadata;-resize 'NxN>'only ever shrinks (never upscales).
bun run build # outputs the Bun server to build/
bun run start # runs build/index.js (listens on $PORT, default 3000)Deployment is container-based. The app is packaged into an OCI image with Nix:
nix build .#container
podman load --input resultOn every push to main, the
publish_container.yml workflow builds this
image and pushes it to the GitHub Container Registry
(ghcr.io/wuespace/south-website), tagged with both latest and the commit SHA.
The container runs the Bun server on $PORT (default 3000).
Forthermore on version tags the current state of the repo is stabilized, and the
latest container receives the tags stable as well as the version.
Additionally (as long as this website remains static) stabilizing will publish the website to gh pages.