Widget de statut

Affiche le statut de SolarBot en temps réel sur n'importe quel site. Trois formats disponibles : badge HTML, iframe, ou JSON pour les développeurs.

Aperçu en direct

Format d'intégration

🌐
Badge HTML
À coller directement dans ta page HTML
🖼️
iFrame
Pour Notion, Webflow ou tout éditeur
API JSON
Pour les développeurs, intégration custom
Code à copier
<!-- Widget SolarBot Status -->
<a href="https://www.solarbot.fr/status"
   target="_blank"
   style="display:inline-flex;align-items:center;gap:10px;background:#111;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:10px 16px;font-family:sans-serif;text-decoration:none;color:#fff">
  <span style="background:#fff;color:#000;border-radius:6px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-weight:900"></span>
  <span id="sb-status">SolarBot — chargement...</span>
</a>
<script>
  fetch('https://www.solarbot.fr/status/api').then(r=>r.json()).then(d=>{
    document.getElementById('sb-status').textContent =
      'SolarBot — ' + (d.online ? '🟢 En ligne' + (d.ping ? ' · '+d.ping+'ms' : '') : '🔴 Hors ligne');
  });
</script>