32 Commits
Author SHA1 Message Date
w3cjandClaude Opus 5.5 89f26c5771 docs(site): draw the diagrams at build time with pele, no Mermaid JS
The docs site's 18 mermaid blocks are now drawn as SVGs before Hugo
builds the site, by docs/render-diagrams.mjs with pele 1.13.0, and
inlined by a render hook, so no page loads Mermaid's 5.5 MB script.

- docs/render-diagrams.mjs: finds each mermaid block in docs/content,
  draws it with pele in Departure Mono at 14px (a measurer from the
  font's metrics), and writes <key>.svg and <key>.json (its size) to
  the git-ignored docs/.build/diagrams. pele draws edge labels,
  messages and notes at round(14 * 0.875) = 12px with no option, so the
  measurer gives that text its 14px width and the script rewrites
  font-size="12" to 14 on each small-text group (pele-edge-labels,
  -notes, -boxes, -frames); a guard fails on any such group without
  font-size="12", or small text outside them, and a self-check, run
  whenever there's something to draw, renders an edge label, a message
  and a note and fails unless pele measured them at 12 and wrote their
  group with font-size="12". It also fails on a diagram without
  accTitle and accDescr, or on an indented block. A newline after each
  </text>, outside any text element, lets the search index see labels
  as separate words; screenshots of all 18 are byte-identical with and
  without it. (Newlines between a label's tspans would move centered
  lines, so a label's own lines stay joined in the index.)
- Caching: a block's key is sha256(salt + "\n" + text)[:16], the salt
  being sha256("pele <version>\n" + the script's text)[:16], written to
  diagrams/salt. The script keeps every drawing already there, draws
  only missing ones (written to .tmp and renamed), prunes files no key
  names, and touches the folder. docs:diagrams has sources (the pages,
  the script, package.json, the lock) and outputs (the folder), so mise
  skips an unchanged run, and runs npm ci only when the lock's SHA-256
  differs from docs/node_modules/.devvm-lock-sha256. An unchanged run:
  0.45-0.75 s before, 0.02 s now (0.09 s forced); one diagram changed:
  0.09 s. CI's check job caches ~/.npm keyed on the lock; the Docs
  workflow, which publishes, keeps no cache.
- docs/package.json and package-lock.json pin pele 1.13.0
  (sha512-Ie8UKY9x00MsuR3jO6AzUwzK2Z6MIV3Tf4EDdITiuk8Uaz8K7g0R082WqsqNaSU8DdgkrRvZThzhit83mi/uiw==).
- docs/layouts/_markup/render-codeblock-mermaid.html: in place of
  Hextra's hook, reads the salt, computes the key from it and .Inner,
  inlines the SVG from assets/diagrams (hugo.yaml mounts .build/diagrams
  there), sets the wrapper's contain-intrinsic-block-size to the
  diagram's height and --devvm-diagram-width to its width, and errorf's
  when a drawing or the salt is missing. layouts/_partials/scripts/
  mermaid.html and params.mermaid go.
- custom.css: .devvm-diagram with content-visibility: auto, and pele's
  --pele-* variables from the palette (subgraphs, lifelines and notes in
  the border color). A diagram wider than the text reaches into the
  article's right padding (1.5rem, 3rem from 768px) as far as it needs,
  then into the left padding for the rest, so it never covers the table
  of contents; wider than both, it scrolls. From about 1010px no diagram
  scrolls, the four wide ones included (proxy checks 751px, agent store,
  VM states, SSH agent); at 900px five scroll. With the table of
  contents shown, the proxy checks take 48px on the right and 31px on
  the left.
- mise.toml: docs:diagrams, which docs and lint:docs depend on.
  docs.yml: the next and release jobs install node and draw the
  diagrams; the release job only when the tag has the script, so older
  tags still build.
- scripts/bump.sh: bump_pele, named only, replaces bump_mermaid: npm
  install --save-exact --ignore-scripts in docs, then mise run
  docs:diagrams, whose self-check catches a pele that changed how it
  draws small text. TestBumpCoversPins finds docs/package.json's
  dependencies (npm:NAME); bump.txtar tests --check and the install.
  The header and hextra's note say the mermaid render hook replaces
  Hextra's mermaid hook, so check it still has that name.
- Every diagram gets an accTitle and accDescr, which pele makes the
  SVG's title and desc (aria-labelledby, aria-describedby). Staying
  safe's columns are written in reading order, as pele lays subgraphs
  out from left to right. The proxy checks' description names every
  branch, and a hand-placed <br> keeps "CA)" off a line of its own.
- AGENTS.md: the one Node script; no other build script is JavaScript,
  and no other npm package is installed outside mise's tools.
  Contributing's docs, tools and
  maintaining pages describe the drawing, the caching, the margin, the
  task and the bump.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-15 19:36:28 -07:00
CJandClaude Opus 5.5 81f3feeecf docs: each page's social card shows its title and what it covers (#21)
## What this changes

Every page on devvm.dev and next.devvm.dev gets its own Open Graph card,
which Hugo draws when it builds the site. Each card is the brand card
(the pixel logo with the lock, black, the lime bar, devvm.dev) with the
page's section in lime capitals, its title, and a short explainer of
what the page covers.

> [!NOTE]
> The six preview cards in `docs/og-preview/` were for review only.
`chore(docs): drop the preview social cards` removes them again, so the
squashed commit doesn't have them, and the images below still show from
the commit that added them.

- **The template**, `docs/assets/images/og-template.png`, is
`docs/static/images/social-card.png` with the headline and tagline rows
filled with the background's exact black. The repo has no SVG or
generator for the card: it was a headless Chrome screenshot of the logo
SVG and text. The old card has only four colors (`#000000`, `#7fff00`,
`#eeeeee`, `#8f93a2`) and no antialiasing, so filling those rows leaves
no marks. The logo, `devvm.dev` and the bar match the card pixel for
pixel, and the template has those four colors and nothing else.
- **The drawing**, `docs/layouts/_partials/og-image.html`, uses
`images.Text` with Departure Mono at multiples of 11px (22px for the
section label, 66, 55 or 44px for the title, whichever fits it in two
lines, and 33px for the explainer). Every line starts on a whole pixel,
so the generated cards also have exactly the template's four colors and
no antialiasing: they are as crisp as the logo. `og-wrap.html` wraps
lines by length, because the font is monospaced. The block is centered
between the logo and devvm.dev. The section is the page's section title,
*Docs* on a section's own page, and none on the home, branding and
taxonomy pages.
- **The font:** Departure Mono **v1.500**, the release the site's woff2
comes from (checked: the woff2 in the release zip is byte-identical to
`docs/static/fonts/departure-mono/DepartureMono-Regular.woff2`, sha256
`5b4fed1d…`, and so is the LICENSE). That release ships an OTF, not a
TTF. Hugo's `images.Text` reads it fine, so
`docs/assets/fonts/departure-mono/` has `DepartureMono-Regular.otf`
(sha256
`4d53f663155cf8bf7ffc8e688776e719625f7bbb80a8d90073438b249261a2e0`) and
its OFL. Source: `gh release download v1.500 -R
rektdeckard/departure-mono`, `DepartureMono-1.500.zip`, sha256
`bf3e48059aeef4617ec585bdea81dcc3491c576b3e7a472f52faf40e09ee5c3a`.
- **The tags:** `custom/head-end.html` writes `og:image`,
`og:image:type`, `og:image:width`/`height`, `og:image:alt` and
`twitter:image:alt`. The alt text is `devvm docs: TITLE: EXPLAINER`.
`_partials/_funcs/get-page-images.html` replaces Hugo's own, which
Hugo's `twitter_cards.html` and `schema.html` call, so `twitter:card` is
`summary_large_image` and `twitter:image` and `itemprop=image` are the
same card. `params.images` is removed from `hugo.yaml`, so Hextra's
`opengraph.html` writes no second `og:image`. In the built site, every
one of the 115 HTML pages (the 404 included) has exactly one `og:image`,
and each card is different.
- **The explainer** is a new front matter key, `explainer`, not
`description`. `description` is the page's meta description,
`og:description`, the search snippet and its `llms.txt` line. Those want
a sentence or two, and only two pages have one. A 4–9 word card line
would be a weak search snippet. Every hand-written page has one. The CLI
pages get their command's `Short` from `internal/cli/docgen` (`mise run
cli-docs` rerun), and the reference's index gets a fixed one. The home
page also sets `cardTitle: One VM for every project` (the hero's
headline), because its title, `devvm`, would repeat the logo.
- **The guard:** `TestExplainers` in
`internal/cli/docgen/explainer_test.go` fails when any page under
`docs/content` has no `explainer`. It also fails when the explainer
takes more than two card lines of 48 characters (33px), or when the
title (or `cardTitle`) takes more than two lines of 36 characters
(44px). Those are the card's real limits, and they also cover the
longest `Short`s. It runs in `mise run test` and in `mise run
lint:docs`, next to `TestDocLinks`. `TestFrontMatter` and
`TestWrappedLines` cover its parsing.
- **Docs:** Contributing › Writing docs describes the cards, the key and
the test. The branding page says each page has its own card.
`social-card.png` stays as the brand asset.

### Numbers

| | Before (main) | After |
| --- | --- | --- |
| Built site (`hugo -s docs --minify`, apparent size) | 40,194 KB |
42,138 KB (+1.9 MB) |
| Cards | 1 static card | 115 PNGs, 14.9–16.6 KB each, 1.84 MB total |
| Build time, image cache cold (`--ignoreCache`) | ~1.0 s | 1.4–1.95 s |
| Build time, image cache warm | ~1.0 s | ~1.0 s |

The cards are smaller than the prototype's estimate (about 16 KB, not
22–34 KB), because they have only four colors.

next.devvm.dev: `hugo -s docs --minify --config hugo.yaml,next.yaml`
gives `og:image`, `twitter:image` and `itemprop=image` as
`https://next.devvm.dev/images/og-template_hu_….png` on every page.

### Examples

| Home | Short title |
| --- | --- |
|
![home](https://github.com/devvmhq/devvm/blob/f679f00e3536fa4ca224d12d3c33aff2b48b676a/docs/og-preview/home.png?raw=true)
|
![Installing](https://github.com/devvmhq/devvm/blob/f679f00e3536fa4ca224d12d3c33aff2b48b676a/docs/og-preview/getting-started-install.png?raw=true)
|
| **Longest title (two lines)** | **CLI page, longest explainer** |
| ![What devvm keeps on this
machine](https://github.com/devvmhq/devvm/blob/f679f00e3536fa4ca224d12d3c33aff2b48b676a/docs/og-preview/using-space.png?raw=true)
| ![devvm
limactl](https://github.com/devvmhq/devvm/blob/f679f00e3536fa4ca224d12d3c33aff2b48b676a/docs/og-preview/cli-devvm-limactl.png?raw=true)
|
| **Section index** | **How it works page** |
| ![Using
devvm](https://github.com/devvmhq/devvm/blob/f679f00e3536fa4ca224d12d3c33aff2b48b676a/docs/og-preview/using.png?raw=true)
| ![.git
protection](https://github.com/devvmhq/devvm/blob/f679f00e3536fa4ca224d12d3c33aff2b48b676a/docs/og-preview/internals-git-protection.png?raw=true)
|

### Every page's card

From a local `hugo -s docs --minify` build. "(none)" is a page whose
card has no section label or no explainer. The 404 page's card, titled
*404 Page not found*, isn't listed.

| Section | Page | Title | Explainer | Card |
| --- | --- | --- | --- | --- |
| (none) | `/branding/` | Branding | devvm's logo, icons, colors and
fonts | 15.6 KB |
| (none) | `/categories/` | Categories | (none) | 15.0 KB |
| Docs | `/docs/backends/` | Backends | The program that runs devvm's
VMs | 15.7 KB |
| Backends | `/docs/backends/lima/` | Lima | What Lima needs, and how
devvm uses it | 15.7 KB |
| CLI reference | `/docs/cli/devvm_adopt/` | devvm adopt | Give this
folder the VM made for an earlier folder or path | 16.3 KB |
| CLI reference | `/docs/cli/devvm_agent_import/` | devvm agent import |
Copy the agents' settings and logins from this machine into devvm's
store | 16.6 KB |
| CLI reference | `/docs/cli/devvm_agent_login/` | devvm agent login |
Log an agent in, in this folder's VM, and save the login in devvm's
store | 16.6 KB |
| CLI reference | `/docs/cli/devvm_agent_save/` | devvm agent save |
Copy the agents' settings from this folder's VM into devvm's store |
16.5 KB |
| CLI reference | `/docs/cli/devvm_agent/` | devvm agent | Fill devvm's
store of the agents' settings and logins that every VM gets | 16.6 KB |
| CLI reference | `/docs/cli/devvm_build/` | devvm build | Build an
image and the images under it, unless they're built | 16.4 KB |
| CLI reference | `/docs/cli/devvm_clone/` | devvm clone | Show or
change whether this folder's VM has its own clone of the repo | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_code/` | devvm code | Open this
folder's VM in VS Code over Remote-SSH | 15.9 KB |
| CLI reference | `/docs/cli/devvm_completion/` | devvm completion |
Print the shell completion script for bash, zsh or fish | 16.3 KB |
| CLI reference | `/docs/cli/devvm_desktop/` | devvm desktop | Open this
folder's VM's desktop in a VNC viewer | 16.0 KB |
| CLI reference | `/docs/cli/devvm_doctor/` | devvm doctor | Check what
devvm needs on this machine | 15.8 KB |
| CLI reference | `/docs/cli/devvm_gc/` | devvm gc | Delete stale
images, unused tools, old files and the Nix cache over its cap | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_git-protect/` | devvm git-protect |
Show or change .git protection for this folder's VM | 16.3 KB |
| CLI reference | `/docs/cli/devvm_group_join/` | devvm group join | Put
this folder's VM in a group of VMs | 15.9 KB |
| CLI reference | `/docs/cli/devvm_group_leave/` | devvm group leave |
Take this folder's VM out of its group | 16.0 KB |
| CLI reference | `/docs/cli/devvm_group/` | devvm group | Show the
group this folder's VM is in | 15.9 KB |
| CLI reference | `/docs/cli/devvm_history_export/` | devvm history
export | Save this folder's VM's agent history to a .tar.gz | 16.5 KB |
| CLI reference | `/docs/cli/devvm_history_import/` | devvm history
import | Put an export of agent history into this folder's VM | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_history/` | devvm history | List the
saved exports of agents' history | 16.0 KB |
| CLI reference | `/docs/cli/devvm_host/` | devvm host | Get this
folder's VM ready for ssh and editors, and show its host name | 16.4 KB
|
| CLI reference | `/docs/cli/devvm_images_rm/` | devvm images rm |
Delete images, by name or by key | 15.9 KB |
| CLI reference | `/docs/cli/devvm_images/` | devvm images | List the
images and the shared tools | 15.9 KB |
| CLI reference | `/docs/cli/devvm_layer_add/` | devvm layer add | Make
this folder's VM again with more layers, then open a shell in it | 16.6
KB |
| CLI reference | `/docs/cli/devvm_layer_new/` | devvm layer new | Start
a layer of your own | 15.8 KB |
| CLI reference | `/docs/cli/devvm_layer_rm/` | devvm layer rm | Make
this folder's VM again without some of its layers, then open a shell in
it | 16.6 KB |
| CLI reference | `/docs/cli/devvm_layer/` | devvm layer | Make image
layers of your own, or change this folder's VM's layers | 16.6 KB |
| CLI reference | `/docs/cli/devvm_limactl/` | devvm limactl | Run
Lima's limactl for debugging, which starts VMs unconfined, whatever
their tier | 16.6 KB |
| CLI reference | `/docs/cli/devvm_link_add/` | devvm link add | Link
this folder's VM to a port of another VM | 16.0 KB |
| CLI reference | `/docs/cli/devvm_link_publish/` | devvm link publish |
Show or add the ports this folder's VM offers to links | 16.3 KB |
| CLI reference | `/docs/cli/devvm_link_rm/` | devvm link rm | Remove
one of this folder's VM's links | 15.8 KB |
| CLI reference | `/docs/cli/devvm_link_unpublish/` | devvm link
unpublish | Stop offering ports of this folder's VM to links | 16.1 KB |
| CLI reference | `/docs/cli/devvm_link/` | devvm link | List this
folder's VM's links to your other VMs | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ls/` | devvm ls | List the project
VMs | 15.7 KB |
| CLI reference | `/docs/cli/devvm_network_allow/` | devvm network allow
| Allow hosts for this folder's VM | 15.9 KB |
| CLI reference | `/docs/cli/devvm_network_deny/` | devvm network deny |
Deny hosts for this folder's VM | 15.9 KB |
| CLI reference | `/docs/cli/devvm_network_log/` | devvm network log |
Show what this folder's VM connected to and what its proxy blocked |
16.5 KB |
| CLI reference | `/docs/cli/devvm_network_rm/` | devvm network rm |
Remove rules from this folder's VM | 15.8 KB |
| CLI reference | `/docs/cli/devvm_network/` | devvm network | Show or
change the network tier of this folder's VM | 16.2 KB |
| CLI reference | `/docs/cli/devvm_ports_add/` | devvm ports add |
Forward more ports from this folder's VM | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ports_rm/` | devvm ports rm | Stop
forwarding some ports from this folder's VM | 16.1 KB |
| CLI reference | `/docs/cli/devvm_ports/` | devvm ports | Show or
change which ports this folder's VM forwards | 16.3 KB |
| CLI reference | `/docs/cli/devvm_rebuild/` | devvm rebuild | Build an
image again, and delete the old one | 16.0 KB |
| CLI reference | `/docs/cli/devvm_restart/` | devvm restart | Restart
this folder's VM and open a shell in it | 16.0 KB |
| CLI reference | `/docs/cli/devvm_retention/` | devvm retention | Show
or change what devvm deletes on its own | 15.9 KB |
| CLI reference | `/docs/cli/devvm_rm/` | devvm rm | Delete this
folder's VM, or a VM whose folder is gone | 16.1 KB |
| CLI reference | `/docs/cli/devvm_secret_rm/` | devvm secret rm |
Delete a saved secret | 15.7 KB |
| CLI reference | `/docs/cli/devvm_secret_set/` | devvm secret set |
Save a secret on this machine | 15.8 KB |
| CLI reference | `/docs/cli/devvm_secret_unuse/` | devvm secret unuse |
Stop this folder's VM using a secret | 16.0 KB |
| CLI reference | `/docs/cli/devvm_secret_use/` | devvm secret use | Let
this folder's VM use a secret | 15.8 KB |
| CLI reference | `/docs/cli/devvm_secret/` | devvm secret | List the
secrets kept on this machine, for VMs to use | 16.2 KB |
| CLI reference | `/docs/cli/devvm_setup/` | devvm setup | Choose base's
features, and new VMs' size, network tier, coding agents and layers |
16.6 KB |
| CLI reference | `/docs/cli/devvm_size/` | devvm size | Show or change
this folder's VM's size | 15.9 KB |
| CLI reference | `/docs/cli/devvm_space/` | devvm space | Show what
devvm keeps on this machine and the space it takes | 16.3 KB |
| CLI reference | `/docs/cli/devvm_ssh-agent_add/` | devvm ssh-agent add
| Load a key into devvm's own SSH agent | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ssh-agent_rm/` | devvm ssh-agent rm |
Remove a key from devvm's own SSH agent | 16.0 KB |
| CLI reference | `/docs/cli/devvm_ssh-agent/` | devvm ssh-agent | Show
or change SSH agent forwarding for this folder's VM | 16.4 KB |
| CLI reference | `/docs/cli/devvm_stop/` | devvm stop | Stop this
folder's VM | 15.6 KB |
| CLI reference | `/docs/cli/devvm_tools_add/` | devvm tools add | Add
shared tools to this folder's VM, then open a shell in it | 16.3 KB |
| CLI reference | `/docs/cli/devvm_tools_rm/` | devvm tools rm | Take
shared tools out of this folder's VM, then open a shell in it | 16.3 KB
|
| CLI reference | `/docs/cli/devvm_tools_update/` | devvm tools update |
Move this folder's VM to the newest shared tools, then open a shell in
it | 16.5 KB |
| CLI reference | `/docs/cli/devvm_tools/` | devvm tools | Show or
choose this folder's VM's shared tools | 15.9 KB |
| CLI reference | `/docs/cli/devvm_update/` | devvm update | Bring this
folder's VM up to date, then open a shell in it | 16.3 KB |
| CLI reference | `/docs/cli/devvm_upgrade/` | devvm upgrade | Install
devvm's newest release | 15.8 KB |
| CLI reference | `/docs/cli/devvm/` | devvm | Open a shell in this
folder's VM, creating it first | 16.1 KB |
| Docs | `/docs/cli/` | CLI reference | Every devvm command, with its
arguments and flags | 16.1 KB |
| Docs | `/docs/contributing/` | Contributing | Build devvm, run its
tests and follow its rules | 15.8 KB |
| Contributing | `/docs/contributing/maintaining/` | Maintaining | Bump
pinned versions, release devvm and run the docs sites | 16.3 KB |
| Contributing | `/docs/contributing/testing/` | Testing on other hosts
| Run devvm's tests on Linux, x86_64 and other hosts | 16.3 KB |
| Getting started | `/docs/getting-started/commands/` | Everyday
commands | The commands you use most, in their groups | 16.0 KB |
| Getting started | `/docs/getting-started/first-vm/` | Your first VM |
Make a project's VM and start an agent in it | 16.0 KB |
| Docs | `/docs/getting-started/` | Getting started | From installing
devvm to your first VM | 15.9 KB |
| Getting started | `/docs/getting-started/install/` | Installing |
Install devvm and check what it needs | 15.8 KB |
| (none) | `/docs/` | Docs | The guides, in the order you'll need them |
15.6 KB |
| How it works | `/docs/internals/backends/` | Backends | What a backend
gives devvm, and how VMs are named | 16.1 KB |
| How it works | `/docs/internals/design/` | Design notes | Why devvm is
built this way, and what's open | 15.9 KB |
| How it works | `/docs/internals/desktop/` | The desktop | How devvm
desktop serves a VM's desktop | 15.9 KB |
| How it works | `/docs/internals/git-protection/` | .git protection |
What devvm locks in .git, and when | 15.9 KB |
| How it works | `/docs/internals/images/` | Images and caching | How
images and shared tools are built and cached | 16.2 KB |
| Docs | `/docs/internals/` | How it works | How devvm works, for
reviewers and contributors | 15.9 KB |
| How it works | `/docs/internals/install/` | Installing and updating |
What the install script and devvm doctor check | 16.1 KB |
| How it works | `/docs/internals/lima/` | Lima | How devvm sets up,
confines and clones Lima's VMs | 16.0 KB |
| How it works | `/docs/internals/network/` | Network tiers | How the
proxy confines VMs and keeps your secrets | 16.2 KB |
| How it works | `/docs/internals/overview/` | Overview | What devvm
does at each step of a VM's life | 15.8 KB |
| How it works | `/docs/internals/ports/` | Port forwarding | How devvm
forwards a VM's ports to this machine | 16.1 KB |
| How it works | `/docs/internals/security/` | Security model | What
devvm protects, how, and what it doesn't | 16.0 KB |
| Staying safe | `/docs/safety/attack-vectors/` | Attack vectors |
Common attacks, and what devvm does about each | 15.9 KB |
| Staying safe | `/docs/safety/git-protection/` | .git protection | Keep
code in the VM out of your .git | 16.0 KB |
| Docs | `/docs/safety/` | Staying safe | How devvm keeps untrusted code
off your machine | 16.0 KB |
| Staying safe | `/docs/safety/network/` | Network tiers | Choose what
each VM can reach on the network | 15.9 KB |
| Using devvm | `/docs/using/clone/` | Working on a clone | Give a VM
its own clone of the repo | 15.9 KB |
| Using devvm | `/docs/using/coding-agents/` | Coding agents | Run
Claude Code, Codex and opencode in a VM | 16.0 KB |
| Using devvm | `/docs/using/command-line/` | The command line | Help,
flags, questions, JSON output and completion | 16.3 KB |
| Using devvm | `/docs/using/customizing/` | Customizing images | Add
your own layers and choose base's features | 16.1 KB |
| Using devvm | `/docs/using/desktop/` | A VM's desktop | Add a desktop
to a VM and open it | 15.8 KB |
| Using devvm | `/docs/using/devcontainer/` | devcontainer.json | Set up
a VM from a project's devcontainer.json | 16.1 KB |
| Using devvm | `/docs/using/from/` | Starting from a container image |
Start base from a Debian, Ubuntu or Alpine image | 16.6 KB |
| Using devvm | `/docs/using/images/` | Images and tools | The images
VMs are made from, and their tools | 16.1 KB |
| Docs | `/docs/using/` | Using devvm | What you change in your VMs as
you work | 15.9 KB |
| Using devvm | `/docs/using/limits/` | Known limits | What devvm can't
do, and where | 15.7 KB |
| Using devvm | `/docs/using/links/` | Links between VMs | Let one VM
reach a service in another by name | 16.1 KB |
| Using devvm | `/docs/using/ports-size/` | Ports and size | Forward a
VM's ports and change its size | 15.9 KB |
| Using devvm | `/docs/using/settings/` | Settings and files | The files
you edit and the files devvm keeps | 16.2 KB |
| Using devvm | `/docs/using/space/` | What devvm keeps on this machine
| Each file devvm keeps, and how it's cleaned up | 16.5 KB |
| Using devvm | `/docs/using/ssh/` | SSH and editors | Reach VMs by name
from ssh and VS Code | 15.9 KB |
| Using devvm | `/docs/using/toolchains/` | Toolchains | The toolchains
VMs get, and the files that choose them | 16.2 KB |
| Using devvm | `/docs/using/troubleshooting/` | Troubleshooting | What
to do when something fails | 15.9 KB |
| Using devvm | `/docs/using/upgrading/` | Upgrading and uninstalling |
Upgrade devvm, or remove it and what it keeps | 16.5 KB |
| Using devvm | `/docs/using/vms/` | Managing VMs | Open, stop, delete
and list your VMs | 15.9 KB |
| (none) | `/` | One VM for every project | An isolated sandbox for you
or a coding agent | 16.1 KB |
| (none) | `/tags/` | Tags | (none) | 14.9 KB |

## How it was tested

- `mise run fmt && mise run lint && mise run test` passes on macOS.
`mise run lint:docs` passes: markdownlint, Vale, lychee, `TestDocLinks`,
`TestCommandLines`, `TestExplainers` and the `--panicOnWarning` build.
- I built devvm.dev and next.devvm.dev, checked that every HTML page has
exactly one `og:image`, and opened the cards for the home page, a short
title, the longest title, the longest CLI explainer, a section index, a
How it works page and the 404. I checked each card's color histogram:
four colors, so there's no antialiasing and no marks from the template.
- No e2e: the change is docs only.

## Checklist

- [x] The title is a Conventional Commit, `type(scope): summary`,
because it becomes the squashed commit's subject.
- [x] `mise run fmt && mise run lint && mise run test` passes.
- [x] New behaviour has tests, and every behaviour change updates its
page in `docs/content/docs/`.
- [x] A changed command follows the cli skill, and `mise run cli-docs`
is rerun when its help changed. (No command changed. `cli-docs` was
rerun for the generated explainers.)
- [x] Nothing here belongs in a private security advisory instead (see
SECURITY.md).

**Ready to merge:** the previews are removed and main (#25) is merged
in. The gate passes on macOS (2362 tests).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-11-07 15:17:55 -07:00
w3cjandClaude Opus 5.5 133b29be2c docs(home): step 2's terminal shows the new VM's summary and Customize it? [y/N]
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 07:55:44 -07:00
w3cjandClaude Opus 5.5 71a8caaf2e docs(home): quick start as three cards with animated terminals, and a Layers card
Quick start is now the install tabs, then three cards side by side from
1024px: go to your project, run devvm, start your agent. Each card has a
terminal that loops on its own: cd ~/some-project typed out, devvm typed
and claude checked in its list, and claude typed in the VM's shell. They
are SVG and CSS only, drawn in their end state for reduced motion.

- step-cd.svg, step-pick.svg, step-agent.svg; the type, caret,
  caret-blink, pick-list, pick-cursor, pick-check and key classes in
  custom.css; three-column cards' art at most twice its size
- What's supported's Backends card is now Layers (layers.svg: the image
  docker+nix as a stack, the built-in layers beside it); the Lima fact
  moves to the FAQ; backends.svg goes
- the hero's art is centered, and a gap sits above Quick start's cards
- install's unused step parameter goes, from the shortcode, its Markdown
  copy and install-tabs.html
- hugo.yaml: Hugo's module fetches use the environment's proxy
- Contributing describes the new cards, drawings and animations

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 15:52:31 -07:00
w3cjandClaude Opus 5.5 3da8ffa208 fix: Lima-only review: docs and messages describe Lima alone, doctor --json drops backend_source
- doctor --json: backend_source goes (it could only be built-in).
- AgentWhileRunning and the agent_on_risk_running and
  agent_devvm_risk_running messages go: nothing sets the field.
  Confinement.SSH, NoAgent and AgentFixed stay, as the generic
  emulation contract for ssh and agent-toggle.
- The unused experimental badge goes: its shortcode, Markdown version,
  partial, CSS, llms.txt filter and flask icon.
- Messages: space_backend_unknown, space_stray, gc_backend_skipped and
  gc_orphans_unknown start with "The lima backend" instead of a
  lowercase name; backend_lacks and backend_unreviewed point at doctor's
  features, not other backends; space_caches_note says Lima's caches;
  setup_in_config's description no longer names a backend key.
- Docs: "on every backend" and similar leftovers go (limits, devcontainer,
  images, ports, lima, design, the docs index); space's "Lima's caches";
  safety/network and security say every Lima VM can have network
  policy; images says a docker-layer VM keeps it; ports.md says devvm
  records every VM's ssh port; security's set-id paragraph says where a
  root-owned file comes from; Contributing lists the invariants a new
  backend's threat check covers.
- AGENTS.md: msg.IDOf, now used only by tests, joins deadcode's list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 13:23:49 -07:00
w3cjandClaude Opus 5.5 f4fd373439 refactor(backend): remove the smolvm backend
Lima is devvm's only backend. The backend architecture stays (Backend,
Caps, Features, Review/Require, the registry, backendtest.Fake), so
another backend is an addition.

State from a smolvm VM reads as an unknown backend (backend_unknown_vm,
gc_orphans_unknown); nothing migrates it. The image keys of
layers/docker.sh, layers/nix.sh and features/desktop.sh change, so images
rebuild once.

Lima's port forwarder moves off smolvm's files first: newForwarderCmd and
forwarderMain from internal/cli/smolvmports.go to limaports.go, and
assets/container/ports.sh to assets/guest/ports.sh (sent by the forwarder
at run time, so no image key changes).

Removed:
- internal/backend/smolvm (4,070 lines with tests), _smolvm-ports, its
  registry entry, registry.Experimental and backend_experimental.
- The decider: backend.Decider/UsesDecider, Confinement.Decider and
  DeciderToken, internal/proxy/decider.go and its test, the proxy's
  -decider, -decider-to and -decider-token-file, netpolicy's
  KeyDeciderPort, KeyDeciderToken and deciderToken, the decider port in
  vm's forwarding and UsedPorts.
- backend.AgentStarter/AgentUnchosen, vm's checkAgentStart and
  agent_unchosen_stop.
- vmssh/key.go (EnsureKey, Public, HostKey, ServicesArgs, Capped).
- paths.Smolvm/SmolvmImage and space's smolvm folders; paths.VM's
  Record, Key, KnownHosts and ProxyURL; project.Detect, which nothing
  called (a test helper now).
- ubuntu.ContainerRepo/ContainerDigest/ContainerRef/ContainerOrigin and
  bump.sh's ubuntu_image, with its part of bump.txtar.
- assets/smolvm/ and assets/container/; the no-init-system branches of
  layers/docker.sh, layers/nix.sh and guest/sync.sh, and the notes in
  features/desktop.sh and guest/ca.sh.
- Messages: smolvm_* (14), vm_no_ssh, vm_no_sshd, ports_no_ssh,
  creating_from_image, packing_image, pack_failed, backend_experimental,
  agent_unchosen_stop; descriptions naming smolvm reworded.
- Tests: smolvm.txtar, the smolvm stub, registry, decider, netpolicy and
  sshagent cases; gc_backend, gc_skipped, gc_orphans and space test a
  failing or hanging Lima listing instead (the limactl stub's list-fails
  and list-hangs); the --backend smolvm examples; e2e's --backend smolvm
  and its section (about 1,130 lines), the smol_* helpers and the
  link section's backend switch.
- Coverage: internal/backend/smolvm's lines in both baselines.
- Docs: backends/smolvm.md, internals/smolvm.md, design.md's smolvm
  notes (Ports on Lima now holds the forwarder's description), the
  backends table's smolvm column, every page naming smolvm, the README,
  the home page's backends art, and AGENTS.md's smolvm rows and gotchas
  (and the Docker bind-mount gotcha, which nothing refers to).

Kept: the docker layer, on Lima; --from's local Docker; --backend, the
BACKEND column and setup's backend choice, which the next commit removes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 11:34:05 -07:00
w3cjandClaude Opus 5.5 a134e0d8a6 feat(cli): choose a new VM's toolchains, agents and layers in a picker or with --tools, --agents and --layers
devvm takes no IMAGE word any more than any other: in a terminal a new VM's
toolchains, coding agents and layers are checked in one picker, under three
headings, before the network-policy question; --tools, --agents and
--layers (each an exact list, or none) skip it, and a part left out takes
its default: the detected toolchains, devvm setup's agents, no layers (a
devcontainer.json's features still count). Without a terminal, or with
--no-input, the VM gets the defaults and new_vm_gets says so in one line.
devvm setup --agents (and its first-run question) chooses new VMs' agents.
devvm tools in a terminal opens the same picker for the VM, its layers
fixed, and turns the changes into tools add and rm.

An image is base and layers only: tools are the VM's tool_names state key.
build, rebuild and images rm refuse a shared tool (tool_not_layer), and
devvm build builds no tool images. devvm ls gains a TOOLS column and
--json tools. gc's --tools is --tool-images, so --tools has one meaning.

Gone: image.Reserved, checkWord's image half (devvm WORD is no_command or
no_command_like, did-you-mean over commands, msg.Closest), the lacks path
in internal/vm/existing.go, and the messages vm_lacks_tools,
vm_lacks_layer, layer_is_command, layer_name_command, no_image_for,
no_command_or_image*, tools_not_images, tools_not_images_rm, detected,
vm_is_now (vm_tools_now), secret_with_image (secret_with_claude).
New: ui.Pick takes headed sections with fixed rows, ui.CanPick,
vm.PickPart/PickRow/AgentsChoice/CheckPart (internal/vm/parts.go),
state.KeyToolNames, state.ReadAgents/WriteAgents, paths.Dirs.Agents,
project.DetectFiles. Image keys are unchanged in form: images never held
tools; docker.sh's and nix.sh's comments changed, so those layers rebuild.

Docs: the home page's quick start steps, diagram (sandbox.svg), cards and
FAQ; README; getting started; using (images' What a new VM gets, coding
agents' Running an agent, settings' agents); internals; contributing;
the cli skill; AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 00:45:09 -07:00
w3cjandClaude Opus 5.5 b5be557ab6 feat(docs): llms.txt, a Markdown copy of each page and the Copy page menu
hugo.yaml turns on Hextra's llms output at the site root, a markdown
output beside each page and section, and params.page.contextMenu. The
home page keeps html and rss, and sections keep rss. The search index
comes out byte-identical.

- layouts/llms.txt replaces Hextra's. Each section's own page is listed
  first, followed by its pages. Each line is the page's description, or
  else its first paragraph as plain text on one line, cut at 200
  characters (_partials/llms-summary.txt). Hextra's version left out the
  section pages, printed HTML entities and newlines, and let the
  experimental badge and the CLI "Synopsis" heading into the summaries.
- page/section.markdown.md and _partials/markdown-copy.md render the
  shortcodes through .markdown.md versions (install, os-tabs, yes, no,
  experimental, section-card, Hextra's cards). They also point links to
  a section's _index.md at index.md, so all 867 relative links between
  the copies resolve. The install commands live in
  _partials/install-tabs.html, which the HTML tabs use too.
- The branding page sets outputs: [html], contextMenu: false and
  llms: false. The home page sets contextMenu: false.
- Coding agents gets a description, because its first paragraph is a
  heading and a code block.
- custom.css styles the menu in the site's border, surface and lime.
- Contributing's Writing docs describes all of this, including what to
  check after adding a page or a shortcode.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 00:28:13 -07:00
w3cjandClaude Opus 5.5 70a7a0b75a docs(site): a shorter navbar, with a little space around the SVG logo
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 17:06:12 -07:00
w3cjandClaude Opus 5.5 15d6ecc6b9 docs(site): the navbar shows the SVG logo, and the footer has no branding link
The navbar uses Hextra's image logo, devvm-logo-on-dark.svg at its own
size, with the site's title as its alt text, in place of the CSS logo.
The footer's link to the branding page and its styles are gone;
right-clicking the logo still opens the page. Why use devvm?'s fourth
point gets its period.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:47:48 -07:00
w3cjandClaude Opus 5.5 4a9966a2a5 docs(site): Why use devvm?'s drawing keeps every part in place and only lights them
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:41:47 -07:00
w3cjandClaude Opus 5.5 c590167432 docs(site): a branding page, and right-click on the logo to reach it
/branding/ (content/branding.md, layouts/branding.html: Hextra's home
layout with the home page's look, out of the sidebar): the logo as
box-drawing text in a code block with Hextra's copy button; the logo as
pixel SVGs for dark and light backgrounds, with 4x PNGs
(static/branding/); the app icon as SVG and PNG at 64 to 1024, plus the
site's existing icons; the social card; the palette as click-to-copy
swatches (data/palette.yaml, hexes read from custom.css); the fonts with
samples and Departure Mono's license; usage notes; credits.

Shortcodes: brand-assets, brand-asset (fails the build on a missing
file, reads PNG sizes), palette, font-sample. custom.css: the page's
styles, the footer, and --devvm-accent-dark (#408000), the light logo's
prompt. custom/footer.html: a footer link to the page on every page, and
a contextmenu handler on the navbar logo that opens it.

Contributing > Writing docs describes the page, its shortcodes and how
to render its PNGs again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:33:22 -07:00
w3cjandClaude Opus 5.5 56e0d03969 docs(site): pixel icons in the home page cards' titles
The feature shortcode takes an icon, drawn before the title in the
title's own color at 24px. Toolchains gets code, Coding agents and Made
for coding agents robot, Backends cube, Developer ready prompt, Ready in
seconds the new high-voltage icon (Dinkie 0.4.6), Isolated sandbox
locked and Make it yours wrench.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:24:51 -07:00
w3cjandClaude Opus 5.5 087c7a960f docs(site): Why use devvm? shows an unsandboxed and a sandboxed machine
blast-radius.svg: two machines side by side. Without devvm, four attacks
(prompt injection, leaked secrets, supply chain, rogue agent) land on your
machine and ~/web, ~/.aws, ~/.ssh and ~/api turn red one after another. With
devvm, they land in the VM, each path toward your machine ends at the VM's
border with a cross, and the machine's folders stay as they are.

- --devvm-red (#ff5370) and the .r class, only for compromised parts
- threat-1..4 and hit-1..4: an 8 s story with a hold and a rest
- the beside shortcode: text and art side by side from 1024px, the art
  below the text on narrower screens
- Writing docs: the red, the drawing, its animation and the shortcode

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:17:16 -07:00
w3cjandClaude Opus 5.5 27a48f8bba docs(site): the 404 page's buttons get pixel icons
Getting started shows the rocket, as its section card does, and The docs
the open book, as on the home page; the buttons' row may be wider than the
page's column, so they stay side by side on wide screens.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 16:02:03 -07:00
w3cjandClaude Opus 5.5 6e60284b77 docs(site): the navbar's GitHub link and the home page's buttons get pixel icons
The navbar's GitHub icon is Dinkie's, added to Hextra's icons through
docs/data/icons.yaml. hero-button takes an icon: Install shows a download
arrow and Read the docs an open book, both new from Dinkie Icons 0.4.6.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:59:50 -07:00
w3cjandClaude Opus 5.5 7ad844bc6a docs(site): heading icons, a 404 page and callouts
- Heading icons: a heading's icon attribute ({icon="rocket"}) puts a pixel
  icon before its text, through a heading render hook in place of Hextra's;
  the anchor stays the text's. The home page's five section headings get
  rocket, view-grid, shield, speech-balloon-question and prompt, lime at
  24px (2px per icon pixel, as Departure Mono's at 22px).
- A 404 page (layouts/404.html) on the site's navbar and footer: a VM's
  terminal (assets/home/not-found.svg) answering cd ./this-page with "no
  such page" and the blink cursor, Hextra's search box, and links to
  Getting started and the docs.
- Callouts: GitHub's > [!NOTE], [!TIP] and [!WARNING] alerts, drawn by a
  blockquote alert render hook in the site's palette with
  information-circled, a new light-bulb icon and warning; other types fail
  the build. Used for keeping network policy on (Your first VM), Docker's
  isolation (Docker), --unsafe-folder (Settings) and the VM boundary note
  (Staying safe), each moving the existing text.
- Contributing > Writing docs: heading icons, callouts, the 404 page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:41:26 -07:00
w3cjandClaude Opus 5.5 4e39416bb5 docs: section icons, OS tab icons, an experimental badge, ✓ and ✗
The docs' first page is a card per section (section-card on Hextra's
cards), each with its pixel icon: rocket, wrench, locked, cube, prompt,
gear and the GitHub mark. The install and os-tabs shortcodes put the
Apple icon before macOS and the penguin before Linux (os-tab-name.html).
The experimental shortcode (flask, Departure Mono, the site's blue) marks
smolvm and Docker on their pages, in the backends' comparison table and on
the home page's Backends card. yes and no put a check or a cross before a
table cell's word, in the comparison table and Installing's install
script column. Writing docs describes each.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:40:25 -07:00
w3cjandClaude Opus 5.5 954baf274d docs: mailpit as the example of your own layer
postgres is planned as a built-in layer, whose name would be reserved, so
the home page's Make it yours card, its illustration and Customizing images
use mailpit: a pinned download with devvm-fetch, a systemd service, and its
SMTP and web ports forwarded to localhost.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:36:57 -07:00
w3cjandClaude Opus 5.5 17118c3bf7 docs(site): pixel icons from Dinkie Icons, and an icon shortcode
Icons in docs/assets/icons/, one SVG each (12x12 viewBox, one path,
fill="currentColor", shape-rendering="crispEdges"):

- From Dinkie Icons 0.4.6 (MIT, the @dinkie-icons/react package's path
  data; LICENSE kept): rocket, wrench, shield, locked,
  three-networked-computers, cube, code, gear, brand-github, hammer,
  brand-apple, flask, check-mark-circled, cross-mark-button,
  diagonal-cross, information-circled, no-entry, view-grid,
  speech-balloon-question, ghost, question-face, robot, file-folder,
  globe-with-meridians, copies.
- Drawn in the same grid and line weight: penguin (Linux), prompt (>_),
  warning (a triangle with !).

{{< icon "name" >}} (and {{< icon "name" "Label" >}}) inlines one through
the icon partial: class devvm-icon, aria-hidden without a label, role=img
and aria-label with one; an unknown name fails the build. custom.css sizes
it 0.75em square on the baseline, so a pixel is one screen pixel in 16px
text. Contributing > Writing docs covers the source, license, shortcode
and adding one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:32:42 -07:00
w3cjandClaude Opus 5.5 725f5508ac docs(site): home page art that matches its cards, a Make it yours stack, subtle animations
Developer ready, zero config gets a new drawing: a browser at
localhost:5173 tied to the VM's :5173, a devvm code editor tab over SSH,
and a commit authored by you. The old detection drawing becomes
toolchains.svg, smaller, on the Toolchains card; Coding agents and
Backends get small drawings too (a terminal running claude beside the
three agents; Lima default, smolvm and Docker experimental). agents.svg
shows the history that stays; make-it-yours.svg stacks base with your
features, your layer and the VM, with node:24 feeding base by --from.

Animations are CSS only, in custom.css, turned on by classes in the SVGs
(pulse, pulse-2/3, pulse-slow, lit, lit-chip, lit-2..4, blink, mover,
mover-token, mover-egress), and prefers-reduced-motion turns them all off.
Texts that held tspans separated by spaces are split into texts at their
own x, as Hugo's minifier removed those spaces. Contributing describes
the drawings and the classes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:26:10 -07:00
w3cjandClaude Opus 5.5 56b8b92625 docs(site): a Make it yours card, port forwarding, and art as wide as its card
Developer ready, zero config gains a bullet on forwarded ports, and its
devcontainer.json bullet moves to a new Make it yours card (your own layers,
your own features, --from, devcontainer.json), placed in the right column
with feature's new column option. Feature cards' art fills the card.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:13:09 -07:00
w3cjandClaude Opus 5.5 e5e89e9bbd docs(site): the home page's feature cards in two columns, each as tall as its content
On wide screens, features puts the first and third cards in the left
column and the others in the right, so a short card leaves no gap; on
narrow screens the columns drop out and the cards' order styles keep
the page's order. Ready in seconds is the second card again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:07:11 -07:00
w3cjandClaude Opus 5.5 a7b719b45f docs(site): the home page's text as wide as its code blocks and cards
Its paragraphs and lists lose their 42rem limit, so the line after the
quick start no longer wraps at half the column.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 15:02:09 -07:00
w3cjandClaude Opus 5.5 10c73195fa docs(site): install commands in a tab per operating system
The home page's quick start and Install devvm, and Installing's Installing devvm, show the install command in Hextra's tabs, from a new install shortcode: macOS with Homebrew, Linux with the install script. The macOS tab is selected in the HTML; a small partial selects the Linux tab for Linux visitors as the page loads. custom.css styles the tabs in the site's palette. README says which command is for which system, and Contributing describes the shortcode.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:46:30 -07:00
w3cjandClaude Opus 5.5 0140402095 docs(site): diagrams' text at 14px
Departure Mono at 14px in every Mermaid diagram, with labels on an 18px
line and the spacing and actors' boxes scaled to fit it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:34:49 -07:00
w3cjandClaude Opus 5.5 f54bf39be4 docs(site): Mermaid diagrams in the site's palette
Mermaid code blocks render with one theme for every diagram: a site
partial in place of Hextra's scripts/mermaid.html loads Mermaid 12.2.0,
pinned in hugo.yaml (params.mermaid.base), and sets the palette
(surface panels, blue borders, lime arrows, no shadows) and Departure
Mono at 11px. Diagrams render at their own size and scroll when wide;
ids are counted across runs, as Mermaid's time-based ones collide.

Five diagrams: the --clone round trip (using/clone.md), the image chain
and which image a new VM gets (using/images.md), the first run
(getting-started/first-vm.md) and a request through the proxy
(safety/network.md). Contributing > Writing docs covers diagrams.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:29:03 -07:00
w3cjandClaude Opus 5.5 bd7c3c7a09 docs(site): the home page's recording and its player styles removed
The quick start replaced the recording, so devvm.cast and the asciinema
player's theme and border in custom.css have no use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:26:42 -07:00
w3cjandClaude Opus 5.5 b7ccbebf12 docs(site): home page in the docs' wording, quick start, what's supported, FAQ
The hero names Lima as the default and smolvm and Docker as experimental.
A three-step quick start replaces the recording, followed by a What's
supported row (toolchains, coding agents, backends), feature-card bullets
for devvm code and devcontainer.json, a link to what devvm doesn't
protect, a short FAQ and the install commands again at the bottom.
Claims now match their pages: .git protection is macOS only, and the VM
also gets the agents' config read-only.

The features shortcode takes columns="3" and feature takes level="3".
Contributing's home page notes describe the page's sections and drop the
recording.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:20:48 -07:00
w3cjandClaude Opus 5.5 3ce446bc27 docs(site): no shadow on the edit link; home page sections in a grid
The edit link's box at the bottom of the table of contents had Hextra's
dark #111 shadow, a gray band on the black background: custom.css drops it.
The home page's four sections are feature cards in a grid (the features and
feature shortcodes), one centered column, then two per row from 1024px,
their art at 364px or 728px. The art shortcode and the cards share the
art.html partial. Contributing > Writing docs describes the shortcodes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 14:06:15 -07:00
w3cjandClaude Opus 5.5 c007182e04 docs(site): illustrations and a recording on the home page
What you get out of the box gets an ASCII-inspired SVG per section, in
docs/assets/home/ and inlined by a new art shortcode so they use the
page's Departure Mono and palette: toolchain detection, isolation (the
project folder mounted, .git locked, the proxy and its allowlist), VMs
as copies of a cached image, and agents' config and tokens. They're
drawn on the font's 7x14 cell at 11px and shown at twice their size.

The One command code block becomes an asciinema recording of a real
devvm run in a project folder, played by Hextra's asciinema shortcode
with a devvm player theme (the recording terminal's colors), retimed so
commands are typed a letter at a time. The palette gains #0086b3, the
blue of commands in Hextra's highlighting, for the illustrations. Also
the home page's headline, section order and Get started section, and
contributing.md on the illustrations and the recording.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 13:28:39 -07:00
w3cjandClaude Opus 5.5 31fca16f8d docs(site): a landing page, with a black and lime theme
The home page is Hextra's hextra-home layout: "One VM for every folder",
the devvm command and its output, what it does (isolated, ready in
seconds, made for coding agents, each linking its page) and how to
install. The README's first line and the site's description say the
same.

The site is dark only, with a palette from the JustBlack VS Code theme:
a black background and one lime accent, #7fff00, as Hextra's primary
color. Instrument Sans for text and Martian Mono for code come from
Google Fonts; Departure Mono (v1.500, OFL, its license beside it) is
self-hosted for the navbar logo and the home page's headings, badge and
buttons. The logo is the site's title in a box with a box-drawing lock
on its corner, in CSS; the navbar is 30px taller for it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 23:14:48 -07:00