Where every part sits on the board, and where every trace runs between them, read out of each board's own CAD data.
Companion to the GPIO pinout:
that site answers what is this pin, this one answers where is this part.
Same palette, same board vocabulary, same ?board= permalinks.
| Do this | To get |
|---|---|
| Drag, scroll or pinch | Pan and zoom the board |
| Click a part, or a row in the sidebar | Select it, with its footprint, size, rotation and pin count |
| Right-click near a pad | Highlight that net's pads across every copper layer, including the ones switched off |
| T / B | Top or bottom side |
| 1–8 | Toggle a copper layer |
| F | Fit the board to the window |
| Esc | Clear the selection and the net highlight |
?board=<id> is a permalink to one board. Each board listed by default also
has a page of its own, /<id>/ (e.g. /aml-s905x-cc/): the same viewer,
opened on that board, with the board's connectors and main parts written into
the HTML for readers and crawlers that run no JavaScript. A board hidden by
default has no such page.
Most boards have an ODB++ export, which carries everything: placement, all
eight copper layers, the netlist, drill. Some never had one, and are imported
from a mechanical model instead — that has the placement, the pads, the values
and the hole sizes, but no netlist and no copper routing. On those boards
the copper toggles are absent and right-click net highlighting does nothing,
because the source does not contain what they would show. layers in
data/boards.json says which is which: 8 for an ODB++ board, 0 for a
mechanical one.
| Source | Boards | Placement | Copper | Nets |
|---|---|---|---|---|
| ODB++ | all but the five below | 🟢 | 🟢 8 layers | 🟢 |
| PADS mechanical DXF | La Frite (AML-S805X-AC), Renegade V2 (ROC-RK3328-CC-V2), Tritium (ALL-H3-CC) |
🟢 | 🔴 none | 🔴 none |
| Fab package (pick-and-place + gerbers) | Le Potato (AML-S905X-CC) |
🟡 measured extents; a few parts fall back to decal size | 🔴 none | 🔴 none |
| Vector assembly drawing (PDF) | Renegade (ROC-RK3328-CC V1.3-B) |
🟡 measured extents from the drawn pads and bodies; no footprint names, rotation not stated | 🔴 none | 🔴 none |
A CAD export carries a good deal that describes how a board was drawn rather
than what it is, and none of that is needed to draw a board. Per-component
properties are therefore allowlisted at export time — a field is
published because it was named, not because it survived a filter.
tools/check-site.py asks the same question again about
the committed tree, and CI will not deploy a tree that fails it.
index.html the page
<id>/index.html GENERATED: one page per listed board (tools/render.mjs)
robots.txt, sitemap.xml, llms.txt GENERATED, by the same tool
css/lc-kit.css VENDORED shell: theme, top bar, footer, controls
js/lc-kit.js VENDORED shell: theme cycle, mountShell(), token()
css/style.css this tool only: copper palette, board, canvas stage
js/app.js the viewer: canvas render, filters, net highlight
js/parts.js the parts list as HTML: one renderer for the pages and the viewer
data/boards.json the board index the picker is built from
data/lc-products.json VENDORED: each board's product page and 3D model, beside the picker
data/<id>.json outline, placement, categories, netlist -- always fetched
data/<id>.copper.json the eight copper layers -- fetched on demand
tools/gen-layout-data.py ODB++ export -> the two data files
tools/render.mjs data/ -> the board pages, robots.txt, sitemap.xml, llms.txt
tools/check-site.py the pre-publish gate CI runs
tools/check-kit.py proves the vendored shell has not been hand-edited
A board marked hidden in data/boards.json (pre-production, unreleased, or
another maker's reference) is listed and opened only under ?hidden=1. That is
a menu filter, not access control, by decision (operator, 2026-11-01): its
data/<id>.json and copper file are published like every other board's.
Do not edit css/lc-kit.css or js/lc-kit.js here. They are the shell this
site shares with the GPIO pinout, and
each carries a checksum of its own body in its first line.
tools/check-kit.py recomputes it in CI, so a local change fails the build —
and the next sync would revert it anyway. The change belongs upstream, where
the kit is maintained.
The split is the point. A visitor who never turns on a copper layer pays for the placement alone: 80 KB gzipped for the largest board. Routing arrives only if a layer is asked for.
| Source exports | Published | |
|---|---|---|
| All boards | 41.3 MB | 26.9 MB |
| First paint, largest board (Alta) | 4.88 MB | 0.37 MB raw / 0.08 MB gzipped |
| First paint, smallest board (La Frite) | 1.09 MB | 0.18 MB raw |
| Routing, largest board | — | 2.56 MB raw / 0.71 MB gzipped, on demand |
The generator reads the ODB++ exports, which are not public, so it runs on a machine that has them and the output is committed. CI does not regenerate; it validates.
tools/gen-layout-data.py --src <dir-of-pcb_view-json> # rewrite data/
tools/gen-layout-data.py --src <dir> --dry-run # sizes only
tools/gen-layout-data.py --src <dir> --board aml-a311d-cc # one board
tools/check-site.py # what CI will runAdding a board is a row in BOARDS in the generator, then a regenerate. The
row carries the id, the marketing name, the SoC and the status; nothing about a
board is configured in two places.
AML-A311D-CC (Alta) and AML-S905D3-CC (Solitude) draw identically because
they are one layout: the A311D (G12B) and the S905D3 (SM1) share the
G12A_16X14_3MM package, and the two ODB++ archives — different job names,
exported four minutes apart — agree on every field this site reads, down to all
465 nets and all 679 part positions. Each board's page says so and links to its
sibling, so the repetition reads as the hardware rather than as a mix-up in the
data.
python3 -m http.server 8900 # then http://localhost:8900/file:// will not work: the page fetches its data, and the browser blocks that
from a file URL.
The site is layout.hardware.libre.computer, served by GitHub Pages from this
repository's master and gated by .github/workflows/pages.yml — a failing
tools/check-site.py stops the deploy rather than annotating it.
Render before publishing. After the data or index.html changes, run
node tools/render.mjs # Node 18+, no dependencies
tools/check-site.pyand commit its output: index.html (the board list and canonical), every
<id>/index.html, robots.txt, sitemap.xml and llms.txt. CI does not
render; tools/check-site.py fails when the board pages or the sitemap no
longer match the boards listed in data/boards.json. A second run changes
nothing.
LICENSE is still absent and deliberate. The code and the CAD-derived
board data are not obviously the same licensing question, and neither is
settled here.