Spaces:
Running
Running
Download index.html from csoai/gspc-affect: direct link, hf CLI and curl.
- Browser
- Download file 4.21 kB
-
https://huggingface.co/spaces/csoai/gspc-affect/resolve/main/index.html
- Command line
-
hf download hf://spaces/csoai/gspc-affect/index.html
-
curl -L -o index.html https://huggingface.co/spaces/csoai/gspc-affect/resolve/main/index.html
4.21 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>GSPC-AFFECT — printer of GET /api/gspc | Council of AI</title> | |
| <meta name="description" content="Printer of live GET https://councilof.ai/api/gspc. Cite totals.public_count. Measurement, not certification." /> | |
| <style> | |
| :root{--bg:#06140f;--panel:#0d2419;--line:rgba(120,200,150,.16);--ink:#e8ede6;--dim:#9db3a1;--acc:#34d399;--warn:#fbbf24;--bad:#f87171} | |
| *{box-sizing:border-box} | |
| body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,sans-serif;line-height:1.5} | |
| header{padding:28px 20px 14px;border-bottom:1px solid var(--line);max-width:960px;margin:0 auto} | |
| h1{font-size:1.25rem;margin:0 0 6px} | |
| .sub{color:var(--dim);font-size:.9rem} | |
| .sub a{color:var(--acc)} | |
| .lid{margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font:12px/1.45 ui-monospace,Menlo,monospace;color:var(--acc)} | |
| main{padding:18px 20px 40px;max-width:960px;margin:0 auto} | |
| #slot{margin:1rem 0;padding:14px 16px;border:1px solid #94a3b8;border-radius:8px;font:13px/1.55 ui-monospace,Menlo,monospace;white-space:pre-wrap;background:var(--panel)} | |
| #slot.bad{border-color:var(--bad);color:var(--warn)} | |
| .note{color:var(--dim);font-size:.88rem;margin-top:12px} | |
| footer{padding:22px 20px;border-top:1px solid var(--line);color:var(--dim);font-size:.8rem;max-width:960px;margin:0 auto} | |
| footer a{color:var(--acc)} | |
| button{background:transparent;border:1px solid var(--acc);color:var(--acc);border-radius:8px;padding:6px 12px;cursor:pointer;font:inherit} | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>GSPC-AFFECT <span style="color:var(--acc)">— printer</span></h1> | |
| <div class="sub"> | |
| Council of AI · CSOAI Ltd (UK #16939677). This Space fetches | |
| <a href="https://councilof.ai/api/gspc"><code>GET https://councilof.ai/api/gspc</code></a> | |
| and prints <code>totals.public_count</code>. Axis bank pointer: affect. Not a mill. Not certification. | |
| </div> | |
| <div class="lid" id="lid">Lid: UNCHECKABLE — awaiting live board.</div> | |
| </header> | |
| <main> | |
| <button id="refresh" type="button">Refresh</button> | |
| <div id="slot">LOADING — fetching live GET…</div> | |
| <p class="note">Do not invent leaders for the 11 withheld axes. Never print "2410 measured". Fetch fail → <strong>UNCHECKABLE</strong>. Canonical live printer also at <a href="https://huggingface.co/spaces/csoai/gspc-live-board">csoai/gspc-live-board</a>.</p> | |
| </main> | |
| <footer> | |
| Cite live <code>totals.public_count</code>. Verify free: <a href="https://councilof.ai/gspc-verify">gspc-verify</a>. | |
| Measurement, not certification. | |
| </footer> | |
| <script> | |
| const lidEl = document.getElementById('lid'); | |
| async function load(){ | |
| const slot=document.getElementById('slot'); | |
| lidEl.textContent='Lid: UNCHECKABLE — fetching live GET…'; | |
| slot.className=''; slot.textContent='LOADING — fetching live GET…'; | |
| try{ | |
| const r=await fetch('https://councilof.ai/api/gspc',{cache:'no-store'}); | |
| if(!r.ok) throw new Error('HTTP '+r.status); | |
| const d=await r.json(); | |
| const t=d.totals||{}; | |
| const pc=t.public_count; | |
| const lid=t.lid; | |
| if(typeof pc!=='string'||!pc||typeof lid!=='string'||!lid) | |
| throw new Error('canonical totals missing'); | |
| lidEl.textContent='Lid: '+lid; | |
| const fam=t.by_family||{}; | |
| slot.textContent = | |
| 'LIVE totals.public_count: '+pc+'\n'+ | |
| 'derived: axes='+t.axes+' measured='+t.measured_axes+' unmeasured='+t.unmeasured_axes+'\n'+ | |
| 'family gspc: '+(fam.gspc?fam.gspc.axes+'/'+fam.gspc.measured:'?')+ | |
| ' · financial: '+(fam.financial?fam.financial.axes+'/'+fam.financial.measured:'?')+'\n'+ | |
| 'Lid: '+lid+'\n'+ | |
| 'issuer: '+(d.issuer||'CSOAI Ltd')+'\n'+ | |
| 'This Space is a printer of the GET, not a second engine.'; | |
| }catch(e){ | |
| slot.className='bad'; | |
| lidEl.textContent='Lid: UNCHECKABLE — live board unavailable'; | |
| slot.textContent='UNCHECKABLE — live GET https://councilof.ai/api/gspc failed ('+e+'). Do not guess n. Do not invent leaders.'; | |
| } | |
| } | |
| document.getElementById('refresh').onclick=load; | |
| load(); | |
| </script> | |
| </body> | |
| </html> | |