Skip to content

Show the narrated Rust demo on /docent - #9

Merged
mehfuzh merged 13 commits into
mainfrom
docent-rust-demo
Nov 8, 2026
Merged

mehfuzh merged 13 commits into
mainfrom
docent-rust-demo

Conversation

@mehfuzh

@mehfuzh mehfuzh commented Nov 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Replaces the looping terminal clip on /docent with the narrated install → /models → Rust hello world walkthrough (MiniMax M3), 1:33.
  • Re-encoded for the web (1200px, 24fps, 5.7 MB, faststart). Plays on request with sound, preload="metadata", with a poster frame.
  • "What it does" moves below the video as its own section.

Test plan

  • npm run typecheck, npm run build
  • Checked /docent locally in Chrome

🤖 Generated with Claude Code

Replaces the looping terminal clip with the install-to-running-Rust
walkthrough (MiniMax M3), played on request with sound and a poster frame.
Three steps in three columns (the shared grid is four wide) and room
above the footer, with the heading styled like the section above.
A hero variant of DocentInstall: no card around the card, platform tabs
centred over one wider command bar, and a quiet copy button with an
icon so the command reads first. The homepage keeps the card.
The hero copy button is just the copy icon (a tick once copied). The
install tab now reads navigator.userAgentData.platform first, then the
legacy fields, to land Windows visitors on the PowerShell line.
Outside main it missed the page's footer styling and rendered as a
narrow centred strip instead of the full-width footer.
- /docent steps show what you type at each one: the install line,
  cd + docent (and /models), and an example ask.
- The install box drops the card-in-card look everywhere: tabs over one
  command bar and an icon-only copy button; the hero variant centres it.
- Header: Coding (/docent) replaces Partners, which moves to the footer.
The shell is detected, so each visitor sees only their install line.
Detection moves into useInstallShell, which the /docent install step
also uses so Windows visitors see the PowerShell line there too.
Small text links under the install line instead of buttons, so the
install command is the one call to action.
It still plays on request with controls; unmute for the narration.
- How it works: the five stages of a prompt (reads the project, streams
  diffs, checks and fixes the build, waits for your OK on commands,
  backgrounds long runs).
- Works with your stack: language, language server and build check for
  Rust, Go, TypeScript/JavaScript, Python, C/C++ and shell.
- Open models: local (Metal/Vulkan) and larger cloud open models, and
  the supported platforms.
- More than code: documents, web search, MCP, scripting, with links
  into the coding, CLI, documents and MCP docs.
- FAQ with FAQPage structured data.

All claims are taken from the docent README and the coding docs.
Five columns were cramped; each stage is now a row with its number and
title on the left and the detail beside it, stacking on phones.
@mehfuzh
mehfuzh merged commit 3756fe9 into main Nov 8, 2026
1 check passed
@mehfuzh
mehfuzh deleted the docent-rust-demo branch November 8, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant