by adom
Publish molecule sources to the Adom wiki (STEP, board, schematic, <slug>-fab.zip, export.json); the wiki's 3D model registry builds the GLB, footprint and symbol. Checks the bundle the way the registry does, publishes private, waits for the build, sets the hero from the built model, then makes the page public. Board mode still converts plain boards. Also writes APM render assets and component dependencies. Companion to adom-wiki model import.
master
AdityaAngajala
Preserve source for molecule-publish-3.0.0
33f54d8
<!doctype html>
<html><head><meta charset="utf-8"><style>
* { margin:0; padding:0; box-sizing:border-box; }
body { width:1600px; height:1000px; background:
radial-gradient(1200px 700px at 75% -10%, #14324a 0%, #0b1420 55%, #070d15 100%);
font-family: 'Segoe UI', system-ui, sans-serif; overflow:hidden; position:relative; }
.glow { position:absolute; width:900px; height:900px; border-radius:50%;
background: radial-gradient(circle, rgba(45,212,191,.10) 0%, rgba(59,130,246,.06) 45%, transparent 70%);
right:-180px; top:-260px; }
.win { position:absolute; left:150px; top:170px; width:1300px; border-radius:14px;
background:#0d1826; border:1px solid #1e3348;
box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(45,212,191,.05); }
.bar { height:46px; display:flex; align-items:center; padding:0 18px; gap:8px;
border-bottom:1px solid #16293c; }
.dot { width:12px; height:12px; border-radius:50%; background:#22384e; }
.title { margin-left:12px; color:#5b7a99; font-size:14px; letter-spacing:.4px; }
.body { padding:26px 34px 34px; font-family:'Cascadia Mono','Consolas',monospace; font-size:17px; line-height:1.85; }
.p { color:#7dd3c8; }
.cmd{ color:#e6edf5; }
.ok { color:#4ade80; }
.fl { color:#8aa4c0; }
.accent { position:absolute; left:0; right:0; top:0; height:3px; border-radius:14px 14px 0 0;
background:linear-gradient(90deg,#2dd4bf,#3b82f6,#8b5cf6); }
</style></head><body>
<div class="glow"></div>
<div class="win">
<div class="accent"></div>
<div class="bar"><div class="dot"></div><div class="dot"></div><div class="dot"></div>
<div class="title">molecule-publish 3.0.0 · sources only · adom/abc</div></div>
<div class="body">
<div><span class="p">$</span> <span class="cmd">python3 scripts/bundle_check.py</span> <span class="fl">ABC --slug abc</span></div>
<div class="ok"> recipe molecule-board/1 (route board): ABC.step, ABC.kicad_pcb, abc-fab.zip, export.json</div>
<div><span class="p">$</span> <span class="cmd">python3 scripts/pin_names.py check</span> <span class="fl">ABC/ABC.kicad_pcb --route board</span></div>
<div class="ok"> 4 machine pins, 20 machine contacts, names ok</div>
<div><span class="p">$</span> <span class="cmd">adom-wiki pkg publish</span> <span class="fl">--private --wait</span></div>
<div class="ok"> build 812 · passed · the page serves abc.glb from build 812</div>
<div><span class="p">$</span> <span class="cmd">adom-wiki page hero adom/abc</span> <span class="fl">--image screenshots/hero.png</span></div>
<div class="ok"> hero posed from the registry model</div>
<div><span class="p">$</span> <span class="cmd">adom-wiki page visibility adom/abc</span> <span class="fl">--preset open</span></div>
<div><span class="p">$</span> <span class="cmd">adom-molecule import adom/abc</span> <span class="fl">--owner caleb</span></div>
<div class="ok"> footprint and symbol from the build: wires attach</div>
</div>
</div>
</body></html>