A Zola static site for https://terraphim.ai. No root Cargo.toml or package.json — the crates/ directory holds app config, not buildable Rust crates.
zola build— outputs topublic/(gitignored). Should complete in ~40ms.zola serve— local dev server../scripts/update-release.sh— fetches the latest GitHub release viaghand updates version strings acrossconfig.toml, content, and theme files. Run beforezola buildwhen a new release drops.
- Target: Cloudflare Pages.
- Config:
wrangler.toml(pages_build_output_dir = "public"). - Command:
wrangler pages deploy public/ - Credentials live in
.env.1password— never commit.
config.tomlhas two version fields:extra.version— dev version (shown in nav badge).extra.release_version— stable version (used in download URLs and JS platform detection).
scripts/update-release.shonly mutatesrelease_version.
- Active theme:
WarpDrive(defined inconfig.toml). - Theme files:
themes/WarpDrive/templates/,themes/WarpDrive/static/,themes/WarpDrive/sass/. - Local template overrides go in
templates/(currently has a few macros and old backups). - Homepage is
themes/WarpDrive/templates/index.html(large, ~36 KB); base layout isbase.html.
- Old
DeepThoughttheme still exists inthemes/DeepThought/. templates/*.deepthought-bakare leftover backups and safe to delete.public/is gitignored but may contain stale build output locally.
content/_index.md— homepage frontmatter.content/capabilities/— feature pages linked from homepage waypoint cards.content/docs/— installation, quickstart.content/posts/— blog posts (no longer in nav, accessible via/posts/).content/releases.md— release notes.
- The WarpDrive theme uses an OKLCH colour system. Accent colour is amber (
oklch(0.72 0.16 70)). CSS variable names still say--warp-bluebut values are amber. - Platform detection JS reads
data-versionfrom the install section and constructs GitHub asset URLs — keeprelease_versionin sync with actual GitHub releases.
- The Terraphim side runs the real
terraphim_rolegraphcrate compiled to WASM —static/explainers/graph-embeddings/wasm/(wasm-packwebtarget).engine.jsis only a JSON adapter; never reimplement algorithm logic in JS. - Wrapper crate source:
scripts/explainer/rolegraph-wasm/(canonical home:crates/terraphim_rolegraph/wasm/in terraphim-core). Rebuild:./scripts/explainer/build-wasm.sh /path/to/terraphim-core. terraphim_rolegraph's Cargo.toml target-gatestokio = "full"and automata'stokio-runtime/remote-loadingto non-wasm targets — required for wasm32.- Conformance:
node scripts/explainer/check.jsdiffs the nodejs wasm build (scripts/explainer/wasm-node/) againstscripts/explainer/goldens.jsonfromscripts/explainer/oracle.py— regenerate goldens after corpus changes. - The crate matches
Document::to_string()=title + body; titles that contain thesaurus terms contribute nodes/edges (self-loops are normal).