Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

10.8 KB
Raw Blame
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Signal / Firmware Studio</title><link rel="icon" href="data:,"><style>
:root{color-scheme:dark;font:14px/1.55 system-ui,sans-serif;--bg:#10191d;--card:#19252b;--line:#314047;--muted:#8fa6ac;--ink:#e6efea;--accent:#b8e574}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}header,main,footer{max-width:1240px;margin:auto;padding:25px 38px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{font-size:23px;font-weight:700;letter-spacing:-1px}.brand span{font:10px ui-monospace,monospace;color:var(--muted);letter-spacing:2px;margin-left:16px}.badge{border:1px solid #486243;color:var(--accent);padding:6px 11px;border-radius:20px;font:10px ui-monospace,monospace}.eyebrow{color:var(--muted);font:10px ui-monospace,monospace;letter-spacing:2px}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;align-items:center;margin:30px 0}h1{font-size:clamp(38px,5vw,66px);font-weight:550;line-height:1.05;letter-spacing:-2.5px;margin:20px 0}h1 em{font-family:Georgia,serif;font-weight:400;color:var(--accent)}p{color:var(--muted);max-width:520px}.board{position:relative;border:1px solid #486358;border-radius:17px;padding:27px 30px;background:radial-gradient(ellipse at 20% 20%,#2d4436,#20312d 60%,#182823);box-shadow:0 25px 70px #0003}.board:before,.board:after{content:'';position:absolute;top:28px;bottom:28px;width:10px;background:repeating-linear-gradient(to bottom,#b5a16b 0,#b5a16b 7px,transparent 7px,transparent 20px)}.board:before{left:-7px}.board:after{right:-7px}.chip{margin:18px auto 23px;width:116px;height:92px;background:#182427;border:1px solid #638375;box-shadow:0 0 0 8px #314b3f;display:grid;place-content:center;text-align:center;color:#cad7c7;font:11px ui-monospace,monospace}.chip strong{font-size:19px;color:#eff5df}.board dl{margin:0;display:grid;grid-template-columns:1fr 1fr;font-size:11px;gap:10px}.board dt{color:#aac4ae}.board dd{text-align:right;margin:0;overflow-wrap:anywhere}.led{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px #b8e57480;margin-right:7px}.board-note{text-align:center;font:9px ui-monospace,monospace;color:#88a797;margin-top:17px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:34px 0 26px}.metric{border:1px solid var(--line);background:var(--card);padding:22px;border-radius:10px}.metric strong{display:block;font:32px/1.2 ui-monospace,monospace;letter-spacing:-1px;margin:13px 0}.metric small{color:var(--muted);font:10px ui-monospace,monospace}.bar{height:5px;background:#2b3e41;border-radius:4px;margin:15px 0 12px;overflow:hidden}.bar span{display:block;height:100%;width:0;background:var(--accent)}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-top:28px}button{font:inherit;color:var(--muted);border:0;background:transparent;cursor:pointer;padding:10px 0;border-bottom:2px solid transparent}button[aria-selected=true]{border-color:var(--accent);color:var(--ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.panel{border:1px solid var(--line);border-top:0;border-radius:0 0 9px 9px;background:#131f24;padding:24px;min-height:210px}.panel pre{font:11px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0;max-height:310px;overflow:auto;color:#b4c8c6}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-head input{font:11px system-ui;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:8px 10px;max-width:180px}#pins{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.pin{border:1px solid var(--line);border-radius:8px;padding:15px}.pin strong{color:var(--accent)}.pin p{font-size:11px}.artifacts{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.artifacts a{display:block;padding:9px 13px;border:1px solid #486243;background:#21332a;border-radius:7px;color:var(--accent);font-size:12px;text-decoration:none}.notice{font-size:11px;padding:15px 18px;border-left:2px solid #57754c;background:#17251e;margin-top:23px;color:#b8c9b6}.failed{--accent:#ffad82}.failed .notice{border-color:#ffad82;background:#32251f}.failed .led{background:#ffad82}footer{display:flex;justify-content:space-between;gap:20px;font:10px ui-monospace,monospace;color:var(--muted);border-top:1px solid var(--line);margin-top:26px}[hidden]{display:none!important}@media(max-width:700px){header,main,footer{padding:19px}.brand span{display:none}.hero{grid-template-columns:1fr;gap:22px;margin-top:17px}h1{font-size:48px}.board{max-width:390px;width:100%;margin:auto}.metrics{grid-template-columns:1fr;gap:9px}.metric{padding:17px}.metric strong{font-size:28px}.panel{padding:16px}.tabs{gap:22px}.panel-head{align-items:flex-start}.panel-head input{max-width:140px}footer{font-size:9px}}
</style></head><body><header><div class="brand">⌁ Signal <span>/ FIRMWARE STUDIO</span></div><span class="badge" id="status">BUILD REPORT</span></header><main><section class="hero"><div><div class="eyebrow">FROM SOURCE TO SILICON</div><h1 id="headline">Make a little<br><em>hardware happen.</em></h1><p id="summary"></p><div class="artifacts" id="artifacts"></div></div><div class="board" aria-label="Conceptual board summary, not a pinout"><div class="eyebrow"><span class="led"></span>PROJECT / <span id="environment"></span></div><div class="chip"><strong id="chip">MCU</strong><span>BUILD TARGET</span></div><dl><dt>Board</dt><dd id="board">—</dd><dt>Framework</dt><dd id="framework">—</dd><dt>Platform</dt><dd id="platform">—</dd><dt>Device connection</dt><dd>Not requested</dd></dl><div class="board-note">CONCEPTUAL VIEW · NO HARDWARE CONNECTED</div></div></section><section class="metrics" aria-label="Build metrics"><div class="metric"><span class="eyebrow">FLASH</span><strong id="flash-value">—</strong><div class="bar"><span id="flash-bar"></span></div><small id="flash-detail">Not reported</small></div><div class="metric"><span class="eyebrow">STATIC RAM</span><strong id="ram-value">—</strong><div class="bar"><span id="ram-bar"></span></div><small id="ram-detail">Not reported</small></div><div class="metric"><span class="eyebrow">BUILD TIME</span><strong id="duration">—</strong><div class="bar"><span style="width:100%"></span></div><small id="built-at"></small></div></section><div class="tabs" role="tablist" aria-label="Build details"><button id="tab-log" role="tab" aria-selected="true" aria-controls="panel-log">Build log</button><button id="tab-config" role="tab" aria-selected="false" aria-controls="panel-config">Configuration</button><button id="tab-pins" role="tab" aria-selected="false" aria-controls="panel-pins">Pin plan</button></div><section id="panel-log" class="panel" role="tabpanel" aria-labelledby="tab-log"><div class="panel-head"><span class="eyebrow" id="command"></span><input id="filter" type="search" aria-label="Filter build log" placeholder="Filter the log…"></div><pre id="log"></pre></section><section id="panel-config" class="panel" role="tabpanel" aria-labelledby="tab-config" hidden><span class="eyebrow">PLATFORMIO.INI · SAVED INPUT</span><pre id="config"></pre></section><section id="panel-pins" class="panel" role="tabpanel" aria-labelledby="tab-pins" hidden><div id="pins"></div><p id="pin-note"></p></section><div class="notice" id="notice"></div></main><footer><span>Built locally. Made for the real world.</span><span>Compilation ≠ hardware verification</span></footer><script id="build-data" type="application/json"><!--DATA--></script><script>
const data=JSON.parse(document.getElementById('build-data').textContent),$=id=>document.getElementById(id);
const human=bytes=>bytes>=1048576?(bytes/1048576).toFixed(2)+' MiB':(bytes/1024).toFixed(1)+' KiB';
$('status').textContent=data.state==='ok'?'COMPILED · NOT FLASHED':data.state==='building'?'COMPILING':'BUILD FAILED';
document.body.classList.toggle('failed',data.state==='failed');
if(data.state==='failed')$('headline').textContent='A useful failure. A clear next step.';
$('summary').textContent=data.summary;$('environment').textContent=data.environment||'—';
for(const key of ['board','framework','platform'])$(key).textContent=data[key]||'—';
$('chip').textContent=(data.board||'MCU').toUpperCase();$('config').textContent=data.config||'';
for(const key of ['ram','flash']){const value=data[key];if(value){$(key+'-value').textContent=human(value.used);$(key+'-detail').textContent=value.used.toLocaleString()+' / '+value.total.toLocaleString()+' bytes · '+(value.used/value.total*100).toFixed(1)+'%';$(key+'-bar').style.width=Math.min(100,value.used/value.total*100)+'%';}}
$('duration').textContent=Number.isFinite(data.duration)?data.duration.toFixed(1)+' s':'—';$('built-at').textContent=new Date(data.at).toLocaleString();
$('command').textContent='PIO RUN -E '+(data.environment||'—');
const filter=()=>{const query=$('filter').value.toLowerCase();$('log').textContent=(data.log||'Waiting for the compiler…').split('\n').filter(line=>line.toLowerCase().includes(query)).join('\n')||'No log lines match.';};$('filter').oninput=filter;filter();
const tabs=['log','config','pins'];function show(name){for(const tab of tabs){$('tab-'+tab).setAttribute('aria-selected',String(tab===name));$('tab-'+tab).tabIndex=tab===name?0:-1;$('panel-'+tab).hidden=tab!==name;}}
for(const name of tabs){$('tab-'+name).onclick=()=>show(name);$('tab-'+name).onkeydown=event=>{if(!['ArrowLeft','ArrowRight','Home','End'].includes(event.key))return;event.preventDefault();const index=tabs.indexOf(name),next=event.key==='Home'?0:event.key==='End'?2:(index+(event.key==='ArrowRight'?1:2))%3;show(tabs[next]);$('tab-'+tabs[next]).focus();};}show('log');
for(const pin of data.pins?.pins||[]){const card=document.createElement('div');card.className='pin';const title=document.createElement('strong');title.textContent=pin.pin+' / '+pin.role;const note=document.createElement('p');note.textContent=[pin.direction,pin.note].filter(Boolean).join(' · ');card.append(title,note);$('pins').append(card);}
$('pin-note').textContent=data.pins?.note||'No pin plan supplied. Add pins.json to document project assignments.';
for(const file of data.artifacts||[]){const link=document.createElement('a');link.href=file.path.split('/').map(encodeURIComponent).join('/');link.download=file.name;link.textContent='↧ '+file.name+' · '+human(file.bytes);$('artifacts').append(link);}
$('notice').textContent=data.state==='ok'?'The selected environment compiled and linked. This does not test electrical connections, runtime behavior or physical safety. Upload, erase and serial access are separate, explicitly approved actions.':data.state==='building'?'Compiling only. No device will be flashed or contacted.':data.summary+' Older outputs are not presented as a successful new build. See the log and rebuild.';
</script></body></html>