The marketing + onboarding site for Libre — the interactive coding-course platform that turns any technical book into a course. A download-first landing site with a vintage 1960s sci-fi-paperback soul.
The site is built like a pulp paperback rack. The homepage is a scroll through
themed parallax scenes — a cosmic hero, a robot showcase, a looming kaiju, an
alien invasion, a violet time-warp — each with its own accent colour and a
scroll-driven foreground asset. Everything leans on the amber brand triad
(#f2a93b → #e0734d → #a85e1c) and the --libre-* design tokens.
All artwork lives in
public/— logos inpublic/logos/, app shots inpublic/screenshots/, and the parallax backdrops + moving assets inpublic/backgrounds/.
On every page load the hero picks one of nine themed brand marks at
random (src/lib/rotationLogo.ts → pickRotationLogo()), so the wordmark
cycles through the whole genre wardrobe. The nav keeps a fixed
nav-logo.png wordmark — a wide logotype reads
better at bar height.
groovy · slime · alien · atomic · noir · pulp · rocket · robot · time-warp
The homepage carousel (ScreenshotCarousel)
shows the Libre desktop app — a real editor, hidden-test grading, native
runtimes, and a local AI tutor.
![]() 📚 Library — every course, grouped into collections |
![]() 🧭 Paths — goal-oriented routes through the catalogue |
![]() 📝 Lessons — prose, a Monaco editor & hidden tests |
More shots in public/screenshots/: editor, challenges, themes.
src/
components/ Nav · Footer · LogoHero · ParallaxBg · ScrollAsset
ScreenshotCarousel · TipPopover · CodecademyComparison
spotlights/BookCarousel · icons/
data/ courses-manifest.json · courses · languages · docs
lib/ rotationLogo · markdown (shiki) · siteStats · useSeo
pages/ Home · Courses · CourseDetail · Languages · LanguageDetail
Download · Docs · Blog · About · SecurityAudit · Support · …
styles/ global.css · tokens.css
public/
logos/ 🎭 9 themed hero variants + the nav wordmark
screenshots/ 📸 desktop-app captures (library, paths, lessons, …)
backgrounds/ 🪐 parallax backdrops (bg-*.jpg) + moving assets (asset-*.png)
learn/ ⚠ the embedded web app — synced from kata, gitignored
scripts/ sync-learn.mjs · sync-starter-courses.mjs · prerender.mjs
deploy/ Caddyfile (production site block)
.github/ workflows/deploy.yml · assets/ (these README graphics)
| ⚡ Vite 8 + React 19 + TypeScript | same shape as mattssoftware |
| 🧭 react-router-dom v7 | client-side routing |
| 🎨 lucide-react | iconography (inline SVG for the GitHub mark) |
| 🎞 framer-motion | scroll-linked parallax + the logo/screenshot motion |
| 📝 markdown-it + shiki | docs/blog rendering, github-dark code fences |
| 🎚 @mattmattmattmatt/base | design-token CSS, linked file:../../Libs/base |
Don't copy primitives — link the
baselib the waymattssoftwaredoes.
npm install # 1. deps
# 2. (optional) sync the embedded /learn app + starter courses from your
# local kata checkout. Builds still work without it — /learn shows a
# stub and course previews say "preview unavailable".
npm run sync:learn
npm run sync:courses
npm run dev # 3. dev server
npm run build # 4. tsc + vite build (+ prerender) — verify it's clean
npm run previewThe site auto-detects the kata checkout at ../../Apps/kata (the typical
/Development/{Apps,Web} layout). Override via FISHBONES_SRC=/path/to/kata.
The browser build of Libre lives at libre.academy/learn —
the "Open in Browser" buttons across the site point there. It's a separate Vite
app from the kata repo (npm run build:web → dist-web/), copied verbatim into
public/learn/. The Caddyfile rewrites deep /learn/* paths back to
/learn/index.html so the embed's own router handles routing.
The catalog reads two sources:
src/data/courses-manifest.json— bundled into the JS; drives the catalog grid even when starter courses aren't synced. Mirrors kata'spublic/starter-courses/manifest.json.public/starter-courses/<id>.json— full course JSON, fetched on demand by the course detail page for the sample-lesson preview.
If the manifest in kata changes, copy the new file (it's a known catalog-clobber hazard — don't let a stale local copy overwrite it):
cp ../../Apps/kata/public/starter-courses/manifest.json src/data/courses-manifest.json.github/workflows/deploy.yml, on push to main:
- Checkout this repo +
InfamousVague/Fishbones+InfamousVague/base - Symlink base so the
file:dep resolves,npm cihere & in kata npm run sync:learn+npm run sync:coursesnpm run buildrsync dist/→ the VPS web root
The VPS sync needs a VPS_SSH_PASSWORD repo secret.
- Vultr VPS (
149.28.120.197) — Caddy serves the site from/var/www/fishbones-academy/, auto-issuing a Let's Encrypt cert. - DNS —
libre.academy(apex) +wwwpoint at the VPS A record.
MIT. The site, the desktop app, and the cloud-sync server are all open — see Fishbones on GitHub.



