Skip to content

A lightweight, macOS-style dock for Windows 11, with glass visuals, smooth magnification, and Genie effect.

feat(site): showcase the AI usage island

CristianOlivera18cdf5064cbd0
diff --git a/assets/usage-island-preview.png b/assets/usage-island-preview.png
new file mode 100644
index 0000000..74aed6a
Binary files /dev/null and b/assets/usage-island-preview.png differ
diff --git a/assets/usage-island-preview.svg b/assets/usage-island-preview.svg
new file mode 100644
index 0000000..10aa298
--- /dev/null
+++ b/assets/usage-island-preview.svg
@@ -0,0 +1,71 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="650" viewBox="0 0 1280 650" role="img" aria-label="Vista previa de la isla de uso de Claude y Codex en la barra superior de Muelle">
+ <defs>
+ <linearGradient id="sky" x2="0" y2="1">
+ <stop stop-color="#9bb9db"/>
+ <stop offset=".47" stop-color="#ecc5bc"/>
+ <stop offset="1" stop-color="#f5d9ac"/>
+ </linearGradient>
+ <linearGradient id="glass" x2="0" y2="1">
+ <stop stop-color="#ffffff" stop-opacity=".58"/>
+ <stop offset="1" stop-color="#ffffff" stop-opacity=".24"/>
+ </linearGradient>
+ <filter id="shadow" x="-.5" y="-.5" width="2" height="2"><feGaussianBlur stdDeviation="14"/></filter>
+ <symbol id="claude" viewBox="0 0 128 128">
+ <path fill="#d97757" d="m25.144 85.096 25.159-14.118.421-1.23-.421-.68h-1.23l-4.21-.26-14.377-.388-12.466-.518-12.078-.648-3.044-.648-2.85-3.755.292-1.879 2.558-1.716 3.659.324 8.095.55 12.143.842 8.807.519 13.05 1.36h2.072l.292-.842-.713-.518-.55-.519-12.564-8.516-13.6-9.002-7.123-5.18-3.853-2.623-1.943-2.461-.842-5.375 3.497-3.853 4.695.323 1.198.324 4.76 3.659 10.168 7.869 13.276 9.779 1.943 1.619.777-.55.097-.39-.875-1.457-7.22-13.049-7.707-13.276-3.432-5.504-.907-3.304c-.323-1.36-.55-2.492-.55-3.885L33.53.712 35.73 0l5.311.713 2.235 1.942 3.302 7.545 5.343 11.884 8.29 16.158 2.428 4.792 1.295 4.436.486 1.36h.842v-.777l.68-9.099 1.263-11.172 1.23-14.377.421-4.047L70.864 4.5l3.983-2.623 3.109 1.49 2.558 3.658-.356 2.364-1.522 9.876-2.979 15.478-1.943 10.362h1.133l1.296-1.295 5.245-6.962 8.808-11.01 3.886-4.37 4.533-4.825 2.914-2.3h5.505l4.047 6.023-1.813 6.218-5.666 7.188-4.696 6.087-6.735 9.067-4.21 7.253.39.583 1.003-.097 15.219-3.238 8.224-1.49 9.811-1.683 4.437 2.072.485 2.105-1.748 4.306-10.491 2.59-12.305 2.461-18.328 4.34-.226.162.259.323 8.257.778 3.53.194h8.645l16.093 1.198 4.21 2.784 2.525 3.4-.421 2.59-6.476 3.304-8.743-2.073-20.4-4.857-6.993-1.749h-.972v.583l5.829 5.7 10.685 9.649 13.373 12.434.68 3.076-1.716 2.429-1.813-.26-11.754-8.84-4.534-3.982-10.264-8.646h-.68v.907l2.364 3.465 12.499 18.78.647 5.764-.906 1.878-3.238 1.133-3.562-.647-7.318-10.265-7.545-11.56-6.087-10.361-.745.421-3.595 38.694-1.683 1.975-3.886 1.49-3.238-2.46-1.716-3.984 1.716-7.868 2.072-10.265 1.684-8.16 1.522-10.135.906-3.368-.064-.226-.745.097-7.642 10.492-11.624 15.704-9.197 9.843-2.201.875-3.82-1.976.355-3.53 2.137-3.14 12.726-16.19 7.674-10.038 4.954-5.796-.033-.842h-.29L22.066 98.987l-6.023.777-2.59-2.429.324-3.982 1.23-1.296 10.168-6.994Z"/>
+ </symbol>
+ <symbol id="codex" viewBox="0 0 24 24">
+ <path fill="#f5f7fa" fill-rule="evenodd" d="M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.8.8 0 0 0-.856 0zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.43.43 0 0 1 .476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142a.45.45 0 0 1-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.48 4.48 0 0 1 4.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.43.43 0 0 1-.476 0m-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71a.79.79 0 0 0 .856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523m5.899 2.83a5.95 5.95 0 0 0 5.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947a5.7 5.7 0 0 0-1.88.31A5.96 5.96 0 0 0 10.205 0a5.95 5.95 0 0 0-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 0 0 4.162 1.713z"/>
+ </symbol>
+ </defs>
+ <rect width="1280" height="650" fill="#edf0f4"/>
+ <text x="80" y="51" fill="#282d38" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="28" font-weight="650">Muelle · Uso de IA</text>
+ <text x="80" y="78" fill="#707887" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="16">Vista de diseño · valores de ejemplo</text>
+
+ <rect x="80" y="105" width="1120" height="168" rx="23" fill="url(#sky)"/>
+ <path d="M80 128Q80 105 103 105H1177Q1200 105 1200 128V141H80Z" fill="url(#glass)"/>
+ <text x="100" y="129" fill="#26303b" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13" font-weight="600">Explorador</text>
+ <text x="1102" y="129" fill="#26303b" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13">18:25</text>
+ <rect x="470" y="106" width="340" height="52" rx="25" fill="#080a0e" opacity=".22" filter="url(#shadow)"/>
+ <path d="M470 105H810C798 105 798 115 798 124V133Q798 159 772 159H508Q482 159 482 133V124C482 115 482 105 470 105Z" fill="#080a0e"/>
+ <use href="#claude" x="496" y="118" width="27" height="27"/>
+ <text x="535" y="139" fill="#f3f3f4" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="18" font-weight="600">63%</text>
+ <circle cx="601" cy="132" r="11" fill="none" stroke="#44484d" stroke-width="3"/>
+ <circle cx="601" cy="132" r="11" fill="none" stroke="#d97757" stroke-width="3" stroke-dasharray="43.5 69" transform="rotate(-90 601 132)" stroke-linecap="round"/>
+ <rect x="639" y="120" width="1" height="25" fill="#343940"/>
+ <use href="#codex" x="661" y="118" width="27" height="27"/>
+ <text x="701" y="139" fill="#f3f3f4" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="18" font-weight="600">28%</text>
+ <circle cx="760" cy="132" r="11" fill="none" stroke="#44484d" stroke-width="3"/>
+ <circle cx="760" cy="132" r="11" fill="none" stroke="#8ec5ff" stroke-width="3" stroke-dasharray="19.3 69" transform="rotate(-90 760 132)" stroke-linecap="round"/>
+ <rect x="100" y="229" width="167" height="28" rx="14" fill="#fff" opacity=".8"/>
+ <text x="118" y="248" fill="#35383f" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="15" font-weight="600">Vista compacta</text>
+
+ <rect x="80" y="294" width="1120" height="335" rx="23" fill="url(#sky)"/>
+ <path d="M80 317Q80 294 103 294H1177Q1200 294 1200 317V330H80Z" fill="url(#glass)"/>
+ <text x="100" y="318" fill="#26303b" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13" font-weight="600">Explorador</text>
+ <text x="1102" y="318" fill="#26303b" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13">18:25</text>
+ <rect x="394" y="298" width="492" height="288" rx="28" fill="#030507" opacity=".24" filter="url(#shadow)"/>
+ <path d="M394 294H886C874 294 874 304 874 313V548Q874 576 846 576H434Q406 576 406 548V313C406 304 406 294 394 294Z" fill="#080a0e"/>
+ <text x="422" y="333" fill="#f4f4f5" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="18" font-weight="650">Uso de IA</text>
+ <text x="767" y="331" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13">Actualizar</text>
+ <rect x="414" y="350" width="452" height="1" fill="#292c32"/>
+ <use href="#claude" x="422" y="369" width="28" height="28"/>
+ <text x="460" y="389" fill="#f2f3f5" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="17" font-weight="600">Claude</text>
+ <text x="802" y="389" text-anchor="end" fill="#b1b7bf" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13">5 h · 63%</text>
+ <rect x="460" y="404" width="342" height="6" rx="3" fill="#34373d"/>
+ <rect x="460" y="404" width="215" height="6" rx="3" fill="#d97757"/>
+ <text x="802" y="428" text-anchor="end" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="12">5 h reinicia 21:40</text>
+ <text x="460" y="443" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="12">7 días · 19% usado</text>
+ <text x="802" y="443" text-anchor="end" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="12">Reinicia mañana 08:00</text>
+ <rect x="414" y="457" width="452" height="1" fill="#292c32"/>
+ <use href="#codex" x="422" y="470" width="28" height="28"/>
+ <text x="460" y="490" fill="#f2f3f5" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="17" font-weight="600">Codex</text>
+ <text x="802" y="490" text-anchor="end" fill="#b1b7bf" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="13">5 h · 28%</text>
+ <rect x="460" y="505" width="342" height="6" rx="3" fill="#34373d"/>
+ <rect x="460" y="505" width="96" height="6" rx="3" fill="#8ec5ff"/>
+ <text x="802" y="529" text-anchor="end" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="12">5 h reinicia 23:15</text>
+ <text x="460" y="544" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="12">7 días · 41% usado</text>
+ <text x="802" y="544" text-anchor="end" fill="#9ea5af" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="12">Reinicia el 21/11 08:00</text>
+ <text x="640" y="567" text-anchor="middle" fill="#777f8b" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="11">Actualizado hace 2 min</text>
+ <rect x="100" y="585" width="155" height="28" rx="14" fill="#fff" opacity=".8"/>
+ <text x="118" y="604" fill="#35383f" font-family="Segoe UI Variable,Segoe UI,sans-serif" font-size="15" font-weight="600">Vista ampliada</text>
+</svg>
diff --git a/muelle/src/assets/usage/claude.svg b/muelle/src/assets/usage/claude.svg
new file mode 100644
index 0000000..0864c49
--- /dev/null
+++ b/muelle/src/assets/usage/claude.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><path fill="#d97757" d="m25.144 85.096 25.159-14.118.421-1.23-.421-.68h-1.23l-4.21-.26-14.377-.388-12.466-.518-12.078-.648-3.044-.648-2.85-3.755.292-1.879 2.558-1.716 3.659.324 8.095.55 12.143.842 8.807.519 13.05 1.36h2.072l.292-.842-.713-.518-.55-.519-12.564-8.516-13.6-9.002-7.123-5.18-3.853-2.623-1.943-2.461-.842-5.375 3.497-3.853 4.695.323 1.198.324 4.76 3.659 10.168 7.869 13.276 9.779 1.943 1.619.777-.55.097-.39-.875-1.457-7.22-13.049-7.707-13.276-3.432-5.504-.907-3.304c-.323-1.36-.55-2.492-.55-3.885L33.53.712 35.73 0l5.311.713 2.235 1.942 3.302 7.545 5.343 11.884 8.29 16.158 2.428 4.792 1.295 4.436.486 1.36h.842v-.777l.68-9.099 1.263-11.172 1.23-14.377.421-4.047L70.864 4.5l3.983-2.623 3.109 1.49 2.558 3.658-.356 2.364-1.522 9.876-2.979 15.478-1.943 10.362h1.133l1.296-1.295 5.245-6.962 8.808-11.01 3.886-4.37 4.533-4.825 2.914-2.3h5.505l4.047 6.023-1.813 6.218-5.666 7.188-4.696 6.087-6.735 9.067-4.21 7.253.39.583 1.003-.097 15.219-3.238 8.224-1.49 9.811-1.683 4.437 2.072.485 2.105-1.748 4.306-10.491 2.59-12.305 2.461-18.328 4.34-.226.162.259.323 8.257.778 3.53.194h8.645l16.093 1.198 4.21 2.784 2.525 3.4-.421 2.59-6.476 3.304-8.743-2.073-20.4-4.857-6.993-1.749h-.972v.583l5.829 5.7 10.685 9.649 13.373 12.434.68 3.076-1.716 2.429-1.813-.26-11.754-8.84-4.534-3.982-10.264-8.646h-.68v.907l2.364 3.465 12.499 18.78.647 5.764-.906 1.878-3.238 1.133-3.562-.647-7.318-10.265-7.545-11.56-6.087-10.361-.745.421-3.595 38.694-1.683 1.975-3.886 1.49-3.238-2.46-1.716-3.984 1.716-7.868 2.072-10.265 1.684-8.16 1.522-10.135.906-3.368-.064-.226-.745.097-7.642 10.492-11.624 15.704-9.197 9.843-2.201.875-3.82-1.976.355-3.53 2.137-3.14 12.726-16.19 7.674-10.038 4.954-5.796-.033-.842h-.29L22.066 98.987l-6.023.777-2.59-2.429.324-3.982 1.23-1.296 10.168-6.994Z" /> </svg>
\ No newline at end of file
diff --git a/muelle/src/assets/usage/codex.svg b/muelle/src/assets/usage/codex.svg
new file mode 100644
index 0000000..5b77775
--- /dev/null
+++ b/muelle/src/assets/usage/codex.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 24 24"><path fill="#f5f7fa" fill-rule="evenodd" d="M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.8.8 0 0 0-.856 0zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.43.43 0 0 1 .476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142a.45.45 0 0 1-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.48 4.48 0 0 1 4.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.43.43 0 0 1-.476 0m-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71a.79.79 0 0 0 .856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523m5.899 2.83a5.95 5.95 0 0 0 5.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947a5.7 5.7 0 0 0-1.88.31A5.96 5.96 0 0 0 10.205 0a5.95 5.95 0 0 0-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 0 0 4.162 1.713z" /> </svg>
\ No newline at end of file
diff --git a/muelle/src/components/dock/MenuBarMock.astro b/muelle/src/components/dock/MenuBarMock.astro
index 862a346..dac37cd 100644
--- a/muelle/src/components/dock/MenuBarMock.astro
+++ b/muelle/src/components/dock/MenuBarMock.astro
@@ -1,6 +1,7 @@
---
import Icon from "@/components/ui/Icon.astro";
import MenuBarStatus from "@/components/dock/MenuBarStatus.astro";
+import UsageIsland from "@/components/dock/UsageIsland.astro";
---
<div class="menu-bar" aria-hidden="true">
@@ -8,6 +9,7 @@ import MenuBarStatus from "@/components/dock/MenuBarStatus.astro";
<Icon name="anchor" size={13} />
<b>Notes</b>
</span>
+ <UsageIsland class="max-sm:hidden" />
<span class="flex items-center gap-2 sm:gap-3">
<MenuBarStatus />
<span class="hidden sm:inline" data-date>
diff --git a/muelle/src/components/dock/UsageIsland.astro b/muelle/src/components/dock/UsageIsland.astro
new file mode 100644
index 0000000..956cbd7
--- /dev/null
+++ b/muelle/src/components/dock/UsageIsland.astro
@@ -0,0 +1,73 @@
+---
+/**
+ * The menu bar's AI usage island, as the app draws it: a black pill hanging
+ * from the top edge with one ring per provider, which opens into a panel.
+ * `mode="hover"` opens it on pointer or keyboard focus; `"open"` keeps it
+ * open, for the section that explains it.
+ */
+import { Image } from "astro:assets";
+import { usageProviders } from "@/data/usage";
+import "@/styles/usage.css";
+
+interface Props {
+ mode?: "hover" | "open";
+ /** Reachable with the keyboard; off inside decorative (aria-hidden) mocks. */
+ focusable?: boolean;
+ class?: string;
+}
+
+const { mode = "hover", focusable = false, class: className } = Astro.props;
+---
+
+<div class:list={["island", `island-${mode}`, className]} tabindex={focusable ? 0 : undefined}>
+ <div class="island-compact">
+ {
+ usageProviders.map((provider, index) => (
+ <>
+ {index > 0 && <i class="island-divider" />}
+ <span class="island-provider">
+ <Image src={provider.logo} alt="" width={16} height={16} />
+ <b class="tabular-nums">{provider.session}%</b>
+ <svg class="island-ring" viewBox="0 0 16 16" aria-hidden="true" style={`--ring: ${provider.color}`}>
+ <circle cx="8" cy="8" r="6" pathLength="100" />
+ <circle
+ cx="8"
+ cy="8"
+ r="6"
+ pathLength="100"
+ stroke-dasharray={`${provider.session} 100`}
+ />
+ </svg>
+ </span>
+ </>
+ ))
+ }
+ </div>
+
+ <div class="island-panel">
+ <div class="island-head">
+ <b>AI usage</b>
+ <span>Updated 2 min ago</span>
+ </div>
+ {
+ usageProviders.map((provider) => (
+ <div class="island-row">
+ <Image src={provider.logo} alt="" width={20} height={20} />
+ <div class="island-detail">
+ <p>
+ <b>{provider.name}</b>
+ <span class="tabular-nums">5 h · {provider.session}%</span>
+ </p>
+ <span class="island-bar">
+ <i style={`width: ${provider.session}%; background: ${provider.color}`} />
+ </span>
+ <p class="island-meta">
+ <span class="tabular-nums">7 days · {provider.week}% used</span>
+ <span>{provider.resets}</span>
+ </p>
+ </div>
+ </div>
+ ))
+ }
+ </div>
+</div>
diff --git a/muelle/src/components/layout/PolicyPage.astro b/muelle/src/components/layout/PolicyPage.astro
index f045cb5..5c2bc01 100644
--- a/muelle/src/components/layout/PolicyPage.astro
+++ b/muelle/src/components/layout/PolicyPage.astro
@@ -14,7 +14,7 @@ interface Props {
const { title, description, updated } = Astro.props;
---
-<BaseLayout title={`${title} - Muelle`} description={description}>
+<BaseLayout title={`${title} - Muelle`} description={description} product={false}>
<SiteHeader />
<main id="main" class="py-16">
<Container>
diff --git a/muelle/src/components/layout/SiteFooter.astro b/muelle/src/components/layout/SiteFooter.astro
index 4800125..a8feb9f 100644
--- a/muelle/src/components/layout/SiteFooter.astro
+++ b/muelle/src/components/layout/SiteFooter.astro
@@ -45,7 +45,7 @@ import { site } from "@/data/site";
</div>
<div class="mt-12 flex flex-wrap justify-between gap-3 border-t border-line pt-5 text-[13px] text-mute">
- <span>© 2026 {site.name}. Not affiliated with Apple or Microsoft.</span>
+ <span>© 2026 {site.name}. Not affiliated with Apple, Microsoft, Anthropic or OpenAI.</span>
<span class="font-mono text-[11px] tracking-[0.08em] uppercase">Built in Rust</span>
</div>
</Container>
diff --git a/muelle/src/components/sections/Hero.astro b/muelle/src/components/sections/Hero.astro
index 88dd877..2806a45 100644
--- a/muelle/src/components/sections/Hero.astro
+++ b/muelle/src/components/sections/Hero.astro
@@ -24,7 +24,7 @@ import { site } from "@/data/site";
<p data-h class="mx-auto mt-[22px] mb-[30px] max-w-[560px] text-lg text-mute">
Muelle replaces the Windows 11 taskbar with a glass dock: icons grow under your cursor and
- minimized windows wait as live thumbnails. Free, open source and light.
+ windows fold into the dock with the Genie effect. Free, open source and light.
</p>
<div data-h class="flex flex-wrap justify-center gap-3">
diff --git a/muelle/src/components/showcase/AiUsage.astro b/muelle/src/components/showcase/AiUsage.astro
new file mode 100644
index 0000000..788e5ed
--- /dev/null
+++ b/muelle/src/components/showcase/AiUsage.astro
@@ -0,0 +1,126 @@
+---
+import { Image } from "astro:assets";
+import wallpaper from "@/assets/wallpapers/desktop-02.jpg";
+import UsageIsland from "@/components/dock/UsageIsland.astro";
+import Section from "@/components/layout/Section.astro";
+import SectionIntro from "@/components/showcase/SectionIntro.astro";
+import { usageFacts, usageIntro } from "@/data/usage";
+import "@/styles/showcase.css";
+import "@/styles/usage.css";
+---
+
+<Section id="ai-usage">
+ <SectionIntro {...usageIntro} />
+
+ <div class="usage" data-r>
+ <figure class="usage-desk" aria-label="The menu bar with the AI usage island open (example values)">
+ <Image src={wallpaper} alt="" class="usage-wall" widths={[560, 1120]} sizes="(min-width: 1024px) 560px, 100vw" />
+ <div class="usage-bar" aria-hidden="true">
+ <b>Terminal</b>
+ <span class="tabular-nums">9:41</span>
+ </div>
+ <UsageIsland mode="open" class="usage-island" />
+ <figcaption>Example values</figcaption>
+ </figure>
+
+ <ul class="usage-facts">
+ {
+ usageFacts.map(({ title, body }) => (
+ <li data-r>
+ <b>{title}</b>
+ <span>{body}</span>
+ </li>
+ ))
+ }
+ </ul>
+ </div>
+</Section>
+
+<script>
+ import { initReveal } from "@/scripts/reveal";
+
+ const section = document.querySelector<HTMLElement>("#ai-usage");
+ if (section) initReveal(section);
+</script>
+
+<style>
+ .usage {
+ display: grid;
+ gap: 40px;
+ align-items: center;
+ margin-top: 56px;
+ }
+
+ @media (min-width: 1024px) {
+ .usage {
+ grid-template-columns: 1.15fr 1fr;
+ gap: 56px;
+ }
+ }
+
+ .usage-desk {
+ position: relative;
+ margin: 0;
+ aspect-ratio: 4 / 3;
+ overflow: hidden;
+ border-radius: 22px;
+ box-shadow: 0 30px 70px rgb(0 0 0 / 0.22);
+ }
+
+ .usage-wall {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+
+ .usage-bar {
+ position: absolute;
+ inset: 0 0 auto;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ height: 28px;
+ padding: 0 14px;
+ font-size: 12px;
+ color: #fff;
+ background: rgb(0 0 0 / 0.28);
+ backdrop-filter: blur(14px) saturate(160%);
+ }
+
+ .usage-desk figcaption {
+ position: absolute;
+ right: 14px;
+ bottom: 12px;
+ padding: 3px 9px;
+ border-radius: 999px;
+ font-size: 11px;
+ color: #fff;
+ background: rgb(0 0 0 / 0.35);
+ }
+
+ .usage-facts {
+ display: grid;
+ gap: 22px;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
+
+ .usage-facts li {
+ display: grid;
+ gap: 4px;
+ padding-left: 16px;
+ border-left: 2px solid var(--color-line);
+ }
+
+ .usage-facts b {
+ font-size: 1.05rem;
+ }
+
+ .usage-facts span {
+ color: var(--color-mute);
+ line-height: 1.55;
+ }
+</style>
diff --git a/muelle/src/components/showcase/Customize.astro b/muelle/src/components/showcase/Customize.astro
index 8544560..fd6b35b 100644
--- a/muelle/src/components/showcase/Customize.astro
+++ b/muelle/src/components/showcase/Customize.astro
@@ -4,7 +4,8 @@ import wallpaper from "@/assets/wallpapers/desktop-02.jpg";
import Section from "@/components/layout/Section.astro";
import SectionIntro from "@/components/showcase/SectionIntro.astro";
import MenuBarStatus from "@/components/dock/MenuBarStatus.astro";
-import Icon from "@/components/ui/Icon.astro";
+import SettingsIcon from "@/components/showcase/SettingsIcon.astro";
+import ToggleRow from "@/components/showcase/ToggleRow.astro";
import {
customizeIntro,
previewIcons,
@@ -17,8 +18,8 @@ import "@/styles/showcase.css";
const t = settingsText.en;
const tx = (key: SettingsKey) => ({ "data-t": key });
const checked = (on: boolean) => (on ? "true" : "false");
-// Use names your Icon component knows.
-const paneIcons = { dock: "app-window", system: "gear-six" } as const;
+/** The sections of the Settings app, in its order. */
+const panes = ["dock", "windows", "menubar", "system"] as const;
// `<` is escaped so no text can ever close the script tag early.
const textJson = JSON.stringify(settingsText).replace(/</g, "\\u003c");
---
@@ -35,18 +36,22 @@ const textJson = JSON.stringify(settingsText).replace(/</g, "\\u003c");
<i></i>
</div>
<nav class="settings-nav">
- <button type="button" data-pane="dock" aria-current="page">
- <span class="settings-glyph" aria-hidden="true">
- <Icon name={paneIcons.dock} size={16} />
- </span>
- <span {...tx("dock")}>{t.dock}</span>
- </button>
- <button type="button" data-pane="system">
- <span class="settings-glyph" aria-hidden="true">
- <Icon name={paneIcons.system} size={16} />
- </span>
- <span {...tx("system")}>{t.system}</span>
- </button>
+ {
+ panes.map((pane, index) => (
+ <button
+ type="button"
+ data-pane={pane}
+ data-label={pane}
+ aria-current={index === 0 ? "page" : undefined}
+ aria-label={t[pane]}
+ >
+ <SettingsIcon section={pane} />
+ <span class="settings-nav-label" {...tx(pane)}>
+ {t[pane]}
+ </span>
+ </button>
+ ))
+ }
</nav>
</aside>
@@ -117,35 +122,22 @@ const textJson = JSON.stringify(settingsText).replace(/</g, "\\u003c");
</div>
<div class="settings-card">
- {(
- [
- ["autoHide", "autoHideHint", d.autoHide],
- ["menuBar", "menuBarHint", d.menuBar],
- ["menuBarAutoHide", "menuBarAutoHideHint", d.menuBarAutoHide],
- ["genie", "genieHint", d.genie],
- ] as const
- ).map(([key, hint, on]) => (
- <div class="settings-row" data-row={key}>
- <span class="settings-text">
- <span class="settings-label" {...tx(key)}>
- {t[key]}
- </span>
- <span class="settings-hint" {...tx(hint)}>
- {t[hint]}
- </span>
- </span>
- <button
- type="button"
- role="switch"
- class="mac-switch"
- aria-checked={checked(on)}
- aria-label={t[key]}
- data-setting={key}
- >
- <i />
- </button>
- </div>
- ))}
+ <ToggleRow name="autoHide" hint="autoHideHint" on={d.autoHide} />
+ </div>
+ </div>
+
+ <div class="settings-body" data-view="windows" hidden>
+ <div class="settings-card">
+ <ToggleRow name="genie" hint="genieHint" on={d.genie} />
+ <ToggleRow name="showMinimized" hint="showMinimizedHint" on={d.showMinimized} />
+ </div>
+ </div>
+
+ <div class="settings-body" data-view="menubar" hidden>
+ <div class="settings-card">
+ <ToggleRow name="menuBar" hint="menuBarHint" on={d.menuBar} />
+ <ToggleRow name="menuBarAutoHide" hint="menuBarAutoHideHint" on={d.menuBarAutoHide} sub />
+ <ToggleRow name="aiUsage" hint="aiUsageHint" on={d.aiUsage} sub />
</div>
</div>
@@ -218,6 +210,10 @@ const textJson = JSON.stringify(settingsText).replace(/</g, "\\u003c");
/>
<div class="preview-bar" data-preview-bar>
<b>File Explorer</b>
+ <span class="preview-island" data-preview-island aria-hidden="true">
+ <i style="--ring: #d97757; --p: 63%"></i>63%
+ <i style="--ring: #8ab4f8; --p: 28%"></i>28%
+ </span>
<span class="preview-bar-status">
<MenuBarStatus />
<span class="hidden sm:inline" data-date>
diff --git a/muelle/src/components/showcase/SettingsIcon.astro b/muelle/src/components/showcase/SettingsIcon.astro
new file mode 100644
index 0000000..1a5e491
--- /dev/null
+++ b/muelle/src/components/showcase/SettingsIcon.astro
@@ -0,0 +1,64 @@
+---
+/** The sidebar icons of the Settings app (`apps/settings/src/icons.tsx`). */
+interface Props {
+ section: "dock" | "windows" | "menubar" | "system";
+}
+
+const { section } = Astro.props;
+const tiles = {
+ dock: ["#4aa3ff", "#0a6cf0"],
+ windows: ["#b57bff", "#7d3ff0"],
+ menubar: ["#ff9f45", "#f0640a"],
+ system: ["#a1a1a6", "#6e6e73"],
+} as const;
+const [top, bottom] = tiles[section];
+const gradient = `settings-tile-${section}`;
+---
+
+<svg class="settings-icon" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true">
+ <defs>
+ <linearGradient id={gradient} x1="0" y1="0" x2="0" y2="1">
+ <stop offset="0" stop-color={top}></stop>
+ <stop offset="1" stop-color={bottom}></stop>
+ </linearGradient>
+ </defs>
+ <rect width="24" height="24" rx="5.5" fill={`url(#${gradient})`}></rect>
+ {
+ section === "dock" && (
+ <>
+ <rect x="4" y="14.5" width="16" height="5" rx="1.6" fill="#fff" opacity="0.55" />
+ <rect x="6" y="10.5" width="3.4" height="3.4" rx="0.9" fill="#fff" />
+ <rect x="10.3" y="10.5" width="3.4" height="3.4" rx="0.9" fill="#fff" />
+ <rect x="14.6" y="10.5" width="3.4" height="3.4" rx="0.9" fill="#fff" />
+ </>
+ )
+ }
+ {
+ section === "windows" && (
+ <>
+ <rect x="4.5" y="5.5" width="11" height="8.5" rx="1.4" fill="#fff" opacity="0.55" />
+ <rect x="8.5" y="9.5" width="11" height="9" rx="1.4" fill="#fff" />
+ <rect x="8.5" y="9.5" width="11" height="2.2" rx="1" fill="#000" opacity="0.18" />
+ </>
+ )
+ }
+ {
+ section === "menubar" && (
+ <>
+ <rect x="4" y="5" width="16" height="14" rx="2" fill="#fff" opacity="0.55" />
+ <rect x="4" y="5" width="16" height="3.6" rx="1.6" fill="#fff" />
+ <circle cx="16.8" cy="6.8" r="0.9" fill="#f0640a" />
+ </>
+ )
+ }
+ {
+ section === "system" && (
+ <path
+ fill="#fff"
+ fill-rule="evenodd"
+ transform="translate(0 0.5)"
+ d="M10.6 3.5h2.8l.4 2.1c.5.2 1 .4 1.4.8l2-.8 1.4 2.4-1.6 1.4a6 6 0 0 1 0 1.6l1.6 1.4-1.4 2.4-2-.8c-.4.3-.9.6-1.4.8l-.4 2.1h-2.8l-.4-2.1c-.5-.2-1-.5-1.4-.8l-2 .8-1.4-2.4 1.6-1.4a6 6 0 0 1 0-1.6L5.4 8l1.4-2.4 2 .8c.4-.4.9-.6 1.4-.8zM12 9.4a2.6 2.6 0 1 0 0 5.2 2.6 2.6 0 0 0 0-5.2z"
+ />
+ )
+ }
+</svg>
diff --git a/muelle/src/components/showcase/ToggleRow.astro b/muelle/src/components/showcase/ToggleRow.astro
new file mode 100644
index 0000000..21d2519
--- /dev/null
+++ b/muelle/src/components/showcase/ToggleRow.astro
@@ -0,0 +1,31 @@
+---
+/** A labelled switch of the Settings replica. `sub` rows fold away with the menu bar. */
+import { type SettingsKey, settingsText } from "@/data/showcase";
+
+interface Props {
+ name: SettingsKey;
+ hint: SettingsKey;
+ on: boolean;
+ sub?: boolean;
+}
+
+const { name, hint, on, sub = false } = Astro.props;
+const t = settingsText.en;
+---
+
+<div class:list={["settings-row", sub && "settings-row-sub"]} data-row={name}>
+ <span class="settings-text">
+ <span class="settings-label" data-t={name}>{t[name]}</span>
+ <span class="settings-hint" data-t={hint}>{t[hint]}</span>
+ </span>
+ <button
+ type="button"
+ role="switch"
+ class="mac-switch"
+ aria-checked={on ? "true" : "false"}
+ aria-label={t[name]}
+ data-setting={name}
+ >
+ <i></i>
+ </button>
+</div>
diff --git a/muelle/src/data/navigation.ts b/muelle/src/data/navigation.ts
index f7f37eb..a4a8008 100644
--- a/muelle/src/data/navigation.ts
+++ b/muelle/src/data/navigation.ts
@@ -2,6 +2,7 @@ import { site } from "@/data/site";
export const navigation = [
{ label: "Dock", href: "/#dock" },
+ { label: "AI usage", href: "/#ai-usage" },
{ label: "Settings", href: "/#customize" },
{ label: "Reversible", href: "/#safety" },
] as const;
@@ -11,6 +12,7 @@ export const footerGroups = [
title: "Product",
links: [
{ label: "The Dock", href: "/#dock", external: false },
+ { label: "AI usage", href: "/#ai-usage", external: false },
{ label: "Settings", href: "/#customize", external: false },
{ label: "Reversible", href: "/#safety", external: false },
{ label: "Download", href: "/#download", external: false },
diff --git a/muelle/src/data/showcase.ts b/muelle/src/data/showcase.ts
index d97e100..7d82d4b 100644
--- a/muelle/src/data/showcase.ts
+++ b/muelle/src/data/showcase.ts
@@ -65,7 +65,7 @@ export const anatomy: AnatomyGroup[] = [
divider: true,
tiles: [{ kind: "app", icon: downloads, label: "Downloads" }],
},
- { label: "Minimized", detail: "A live thumbnail of the window", side: "top", tiles: [{ kind: "window" }] },
+ { label: "Minimized", detail: "Optional live thumbnails of minimized windows", side: "top", tiles: [{ kind: "window" }] },
{
label: "Recycle Bin",
detail: "Drop files to delete them",
@@ -104,7 +104,9 @@ export const settingsDefaults = {
autoHide: false,
menuBar: true,
menuBarAutoHide: false,
+ aiUsage: true,
genie: true,
+ showMinimized: false,
autostart: true,
} as const;
@@ -113,6 +115,8 @@ export const settingsText = {
en: {
title: "Muelle Settings",
dock: "Dock",
+ windows: "Windows",
+ menubar: "Menu bar",
system: "System",
size: "Size",
small: "Small",
@@ -122,12 +126,16 @@ export const settingsText = {
magnifiedSize: "Magnified size",
autoHide: "Automatically hide and show the Dock",
autoHideHint: "It reappears when you touch the bottom edge of the screen.",
- menuBar: "Menu bar",
+ menuBar: "Show the menu bar",
menuBarHint: "Time, battery, and access to the Windows quick settings and notifications.",
menuBarAutoHide: "Automatically hide and show the menu bar",
menuBarAutoHideHint: "It reappears when you touch the top edge of the screen.",
- genie: "Genie effect when minimizing",
+ aiUsage: "Show AI provider usage",
+ aiUsageHint: "While a supported AI client is open, an island in the menu bar shows its available plan limits.",
+ genie: "Genie effect",
genieHint: "While it is on, windows do not use the Windows animations for maximizing or closing.",
+ showMinimized: "Show minimized windows",
+ showMinimizedHint: "As thumbnails on the right side of the Dock, instead of inside their app's icon.",
autostart: "Open Muelle at login",
language: "Language",
languageAuto: "Automatic",
@@ -139,6 +147,8 @@ export const settingsText = {
es: {
title: "Ajustes de Muelle",
dock: "Dock",
+ windows: "Ventanas",
+ menubar: "Barra superior",
system: "Sistema",
size: "Tamaño",
small: "Pequeño",
@@ -148,12 +158,16 @@ export const settingsText = {
magnifiedSize: "Tamaño ampliado",
autoHide: "Ocultar y mostrar el Dock automáticamente",
autoHideHint: "Reaparece al tocar el borde inferior de la pantalla.",
- menuBar: "Barra superior",
+ menuBar: "Mostrar la barra superior",
menuBarHint: "Hora, batería y acceso a los ajustes rápidos y las notificaciones de Windows.",
menuBarAutoHide: "Ocultar y mostrar la barra superior automáticamente",
menuBarAutoHideHint: "Reaparece al tocar el borde superior de la pantalla.",
- genie: "Efecto genio al minimizar",
+ aiUsage: "Mostrar uso de proveedores de IA",
+ aiUsageHint: "Mientras un cliente de IA compatible está abierto, una isla en la barra superior muestra sus límites disponibles.",
+ genie: "Efecto genio",
genieHint: "Mientras está activo, las ventanas no usan las animaciones de Windows al maximizar ni al cerrar.",
+ showMinimized: "Mostrar ventanas minimizadas",
+ showMinimizedHint: "Como miniaturas a la derecha del Dock, en lugar de dentro del icono de su app.",
autostart: "Abrir Muelle al iniciar sesión",
language: "Idioma",
languageAuto: "Automático",
diff --git a/muelle/src/data/site.ts b/muelle/src/data/site.ts
index 640a931..8b7219e 100644
--- a/muelle/src/data/site.ts
+++ b/muelle/src/data/site.ts
@@ -5,7 +5,7 @@ export const site = {
tagline: "The macOS Dock, made for Windows.",
/** Kept under ~155 characters so Google does not truncate it. */
description:
- "Muelle replaces the Windows 11 taskbar with a glass dock: icons that grow under your cursor and minimized windows as live thumbnails. Free and open source.",
+ "Muelle replaces the Windows 11 taskbar with a macOS-style glass dock with the Genie effect and a menu bar that shows AI provider usage. Free.",
/** Canonical origin. Must match `site` in astro.config.mjs and the sitemap. */
url: "https://muellee.vercel.app",
/** Path to the social card in `public/`. */
@@ -15,6 +15,6 @@ export const site = {
releases: "https://github.com/crafter-station/Muelle/releases",
download: "https://github.com/crafter-station/Muelle/releases/latest/download/Muelle-Setup.exe",
issues: "https://github.com/crafter-station/Muelle/issues",
- version: "0.1.0",
+ version: "0.1.5",
license: "MIT",
} as const;
diff --git a/muelle/src/data/usage.ts b/muelle/src/data/usage.ts
new file mode 100644
index 0000000..5159148
--- /dev/null
+++ b/muelle/src/data/usage.ts
@@ -0,0 +1,45 @@
+import claude from "@/assets/usage/claude.svg";
+import codex from "@/assets/usage/codex.svg";
+
+/** One plan limit the menu bar island shows, with example values. */
+export interface UsageProvider {
+ name: string;
+ logo: ImageMetadata;
+ /** Accent of its progress ring and bar. */
+ color: string;
+ /** Share of the five-hour window used, 0-100. */
+ session: number;
+ /** Share of the weekly window used, 0-100. */
+ week: number;
+ resets: string;
+}
+
+export const usageProviders: UsageProvider[] = [
+ { name: "Claude", logo: claude, color: "#d97757", session: 63, week: 19, resets: "Resets 9:40 PM" },
+ { name: "Codex", logo: codex, color: "#8ab4f8", session: 28, week: 41, resets: "Resets tomorrow 8:00 AM" },
+];
+
+export const usageIntro = {
+ eyebrow: "AI usage",
+ title: "Your AI limits, at a glance.",
+ lead: "While a supported AI client is open, a curved island in the menu bar shows its available plan limits. Click for details and reset times.",
+} as const;
+
+export const usageFacts = [
+ {
+ title: "Only while you use them",
+ body: "Claude, Codex, GitHub Copilot, Cursor, OpenCode Go, and Gemini or Antigravity appear while their clients are running.",
+ },
+ {
+ title: "Your existing session",
+ body: "It reuses the sign-in those tools already keep on your PC. No new Muelle account or token to paste.",
+ },
+ {
+ title: "Straight to the provider",
+ body: "Each provider is asked about its limits every five minutes or when you press Refresh; Antigravity uses its local service. A separate process keeps the dock responsive.",
+ },
+ {
+ title: "One switch to turn it off",
+ body: "Settings → Menu bar → Show AI provider usage. Muelle stores no credentials.",
+ },
+] as const;
diff --git a/muelle/src/layouts/BaseLayout.astro b/muelle/src/layouts/BaseLayout.astro
index dd19166..7612c89 100644
--- a/muelle/src/layouts/BaseLayout.astro
+++ b/muelle/src/layouts/BaseLayout.astro
@@ -9,9 +9,11 @@ interface Props {
description: string;
/** Error pages: keep them out of the index and skip the product schema. */
noindex?: boolean;
+ /** The product schema describes the app, so only the home page carries it. */
+ product?: boolean;
}
-const { title, description, noindex = false } = Astro.props;
+const { title, description, noindex = false, product = true } = Astro.props;
const canonical = new URL(Astro.url.pathname, Astro.site ?? site.url);
const ogImage = site.ogImage ? new URL(site.ogImage, site.url).href : null;
@@ -22,7 +24,7 @@ const author = {
};
// Lets Google show the product as an app result: name, price, platform, source.
-const schema = noindex
+const schema = noindex || !product
? null
: {
"@context": "https://schema.org",
@@ -48,6 +50,8 @@ const schema = noindex
"Drag files onto apps",
"Optional top menu bar",
"Restores the Windows taskbar when the dock stops",
+ "AI provider plan usage in the menu bar",
+ "Genie minimize effect",
],
offers: { "@type": "Offer", price: "0", priceCurrency: "USD" },
...(ogImage && { screenshot: ogImage }),
@@ -108,7 +112,7 @@ const schema = noindex
</head>
<body>
<a
- href="#top"
+ href="#main"
class="sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-[60] focus:squircle-pill focus:bg-primary-gradient focus:px-4 focus:py-2 focus:font-bold focus:text-ink"
>
Skip to content
diff --git a/muelle/src/pages/404.astro b/muelle/src/pages/404.astro
index f4fb90b..36874ab 100644
--- a/muelle/src/pages/404.astro
+++ b/muelle/src/pages/404.astro
@@ -9,7 +9,7 @@ import BaseLayout from "@/layouts/BaseLayout.astro";
description="This page does not exist. Go back to the Muelle home page."
noindex
>
- <main class="flex min-h-screen items-center">
+ <main id="main" class="flex min-h-screen items-center">
<Container class="text-center">
<p class="font-mono text-[11px] tracking-[0.08em] text-mute uppercase">404</p>
<h1 class="mt-3 text-[clamp(2rem,5vw,3.5rem)]">This page left the dock.</h1>
diff --git a/muelle/src/pages/code-signing-policy.astro b/muelle/src/pages/code-signing-policy.astro
index fdbfae7..c5662bd 100644
--- a/muelle/src/pages/code-signing-policy.astro
+++ b/muelle/src/pages/code-signing-policy.astro
@@ -57,8 +57,9 @@ const roles = [
<h2>Privacy</h2>
<p>
This program will not transfer any information to other networked systems unless specifically requested by the
- user or the person installing or operating it. The only exception is the update check, described in the{" "}
- <a href="/privacy">privacy policy</a>, which can be turned off in Settings.
+ user or the person installing or operating it. The exceptions are the update check and the optional Claude and
+ Codex usage island, both described in the <a href="/privacy">privacy policy</a> and both can be turned off in
+ Settings.
</p>
<h2>Report a problem</h2>
diff --git a/muelle/src/pages/index.astro b/muelle/src/pages/index.astro
index 1ff876d..0eebd23 100644
--- a/muelle/src/pages/index.astro
+++ b/muelle/src/pages/index.astro
@@ -2,6 +2,7 @@
import SiteFooter from "@/components/layout/SiteFooter.astro";
import SiteHeader from "@/components/layout/SiteHeader.astro";
import Hero from "@/components/sections/Hero.astro";
+import AiUsage from "@/components/showcase/AiUsage.astro";
import Customize from "@/components/showcase/Customize.astro";
import DockAnatomy from "@/components/showcase/DockAnatomy.astro";
import Download from "@/components/showcase/Download.astro";
@@ -13,9 +14,10 @@ import BaseLayout from "@/layouts/BaseLayout.astro";
<BaseLayout title={`${site.name} - ${site.tagline}`} description={site.description}>
<SiteHeader />
- <main>
+ <main id="main">
<Hero />
<DockAnatomy />
+ <AiUsage />
<Customize />
<Reversible />
<Download />
diff --git a/muelle/src/pages/privacy.astro b/muelle/src/pages/privacy.astro
index d5c3b6c..8b4f893 100644
--- a/muelle/src/pages/privacy.astro
+++ b/muelle/src/pages/privacy.astro
@@ -6,23 +6,54 @@ import { site } from "@/data/site";
<PolicyPage
title="Privacy policy"
- description="Muelle collects no data. The only network request is an update check in Settings, which you can turn off."
+ description="Muelle has no accounts, analytics or telemetry. Its optional network requests check for updates and read AI provider usage."
updated="November 15, 2026"
>
- <p>Muelle has no accounts, no analytics and no telemetry. It does not collect, store or send personal data.</p>
+ <p>
+ Muelle has no accounts, no analytics and no telemetry. It does not collect personal data and never sends anything
+ to the Muelle project. It makes only the two kinds of requests below, and both can be turned off in Settings.
+ </p>
- <h2>The one network request</h2>
+ <h2>1. Update check</h2>
<p>
- When you open Settings, it asks GitHub whether a newer version exists, by downloading{" "}
- <code>{updateManifest}</code>. Nothing about you or your computer is sent with it; GitHub, like any website,
- sees your IP address and handles it under the{" "}
+ When you open Settings, it asks GitHub whether a newer version exists by downloading{" "}
+ <code>{updateManifest}</code>. Nothing about you or your computer is sent with it; GitHub, like any website, sees
+ your IP address and handles it under the{" "}
<a href="https://docs.github.com/site-policy/privacy-policies/github-general-privacy-statement" target="_blank" rel="noopener noreferrer">GitHub privacy statement</a>.
If you choose to update, the installer is downloaded from the same GitHub releases page.
</p>
+ <p>To turn it off: Settings → System → <b>Check for updates automatically</b>. You can still check by hand.</p>
+
+ <h2>2. AI provider usage</h2>
<p>
- To turn this off: Settings → System → <b>Check for updates automatically</b>. You can still check by hand with the
- Check button. The dock itself never connects to the network.
+ The menu bar can show available plan limits for Claude, Codex, GitHub Copilot, Cursor,
+ OpenCode Go, and Gemini or Antigravity. It checks usage only while a supported client is running.
</p>
+ <ul>
+ <li>
+ It reads the sign-in that each client already stores on your computer: Claude Code, Codex,
+ VS Code or Copilot CLI, Cursor, OpenCode, or Gemini CLI. VS Code's GitHub session is decrypted
+ locally with Windows DPAPI. Muelle does not save or change these credentials.
+ </li>
+ <li>
+ With that sign-in it asks the corresponding provider for available limits every five minutes while the indicator is visible, or when you press Refresh:
+ Anthropic, OpenAI, GitHub, Cursor, OpenCode, or Google. The sign-in only goes to its own provider.
+ Antigravity usage is read from its authenticated local service on <code>127.0.0.1</code>.
+ Percentages and reset times stay in memory and are shown in the menu bar.
+ </li>
+ <li>
+ For Codex it may instead read the latest limits that Codex itself writes at the end of its session files
+ (<code>.codex\sessions</code>), without contacting anyone. It reads only those figures.
+ </li>
+ <li>
+ Each provider handles its requests under its own policy, including{" "}
+ <a href="https://www.anthropic.com/legal/privacy" target="_blank" rel="noopener noreferrer">Anthropic privacy policy</a>,{" "}
+ <a href="https://openai.com/policies/privacy-policy/" target="_blank" rel="noopener noreferrer">OpenAI privacy policy</a>,{" "}
+ <a href="https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement" target="_blank" rel="noopener noreferrer">GitHub privacy statement</a>, and{" "}
+ <a href="https://policies.google.com/privacy" target="_blank" rel="noopener noreferrer">Google privacy policy</a>.
+ </li>
+ </ul>
+ <p>To turn it off: Settings → Menu bar → <b>Show AI provider usage</b>.</p>
<h2>What stays on your computer</h2>
<ul>
@@ -30,14 +61,14 @@ import { site } from "@/data/site";
<li><code>%LOCALAPPDATA%\Muelle</code>: a cache of app icons and names, so the dock starts fast.</li>
</ul>
<p>
- To read what is on screen (open windows, their icons, network and volume status for the menu bar), Muelle uses
+ To show what is on screen (open windows, their icons, network and volume status for the menu bar), Muelle asks
Windows itself; none of it leaves your computer. Uninstalling removes the cache, and optionally your settings.
</p>
<h2>This website</h2>
<p>
- The site is hosted on Vercel and uses no cookies, analytics or trackers. Vercel may keep standard server logs
- (such as IP addresses) under the{" "}
+ The site is hosted on Vercel and uses no cookies, analytics or trackers. Vercel may keep standard server logs (such
+ as IP addresses) under the{" "}
<a href="https://vercel.com/legal/privacy-policy" target="_blank" rel="noopener noreferrer">Vercel privacy policy</a>.
Downloads come from <a href={site.releases} target="_blank" rel="noopener noreferrer">GitHub Releases</a>.
</p>
diff --git a/muelle/src/scripts/customize.ts b/muelle/src/scripts/customize.ts
index 4530a73..132c519 100644
--- a/muelle/src/scripts/customize.ts
+++ b/muelle/src/scripts/customize.ts
@@ -27,6 +27,7 @@ export function initCustomize(root: HTMLElement) {
const preview = root.querySelector<HTMLElement>("[data-preview]");
const dock = root.querySelector<HTMLElement>("[data-preview-dock]");
const bar = root.querySelector<HTMLElement>("[data-preview-bar]");
+ const island = root.querySelector<HTMLElement>("[data-preview-island]");
const textNode = root.querySelector<HTMLScriptElement>("[data-settings-text]");
if (!scene || !preview || !dock || !bar || !textNode) return;
@@ -117,8 +118,11 @@ export function initCustomize(root: HTMLElement) {
const barShown = isOn("menuBar") && (!isOn("menuBarAutoHide") || nearTop);
dock.classList.toggle("is-hidden", dockHidden);
bar.classList.toggle("is-hidden", !barShown);
- const autoRow = scene.querySelector<HTMLElement>("[data-row=menuBarAutoHide]");
- if (autoRow) autoRow.hidden = !isOn("menuBar");
+ // Options of the menu bar fold away with it, as in the app.
+ scene.querySelectorAll<HTMLElement>(".settings-row-sub").forEach((row) => {
+ row.hidden = !isOn("menuBar");
+ });
+ island?.toggleAttribute("hidden", !isOn("aiUsage"));
};
preview.addEventListener("pointermove", (event) => {
diff --git a/muelle/src/styles/showcase.css b/muelle/src/styles/showcase.css
index b4a2411..a095534 100644
--- a/muelle/src/styles/showcase.css
+++ b/muelle/src/styles/showcase.css
@@ -353,15 +353,43 @@
color: #fff;
}
-.settings-glyph {
- display: grid;
- place-items: center;
- width: 20px;
+.settings-icon {
+ flex: none;
+ filter: drop-shadow(0 0.5px 0.5px rgb(0 0 0 / 0.18));
+}
+
+/* Options that depend on the menu bar: indented under it, as in the app. */
+.settings-row-sub {
+ padding-left: 28px;
+}
+
+/* The AI usage island of the preview desk, a miniature of the real one. */
+.preview-island {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ display: inline-flex;
+ align-items: center;
+ gap: 5px;
height: 20px;
- border-radius: 5px;
- background: rgb(120 120 128 / 0.5);
- color: #fff;
- font-size: 12px;
+ padding: 0 9px;
+ translate: -50% 0;
+ border-radius: 0 0 9px 9px;
+ background: #0b0c0f;
+ font-size: 10px;
+ font-weight: 600;
+}
+
+.preview-island[hidden] {
+ display: none;
+}
+
+.preview-island i {
+ width: 9px;
+ height: 9px;
+ margin-left: 3px;
+ border-radius: 50%;
+ background: conic-gradient(var(--ring) 0 var(--p), rgb(255 255 255 / 0.2) 0);
}
.settings-main {
@@ -1005,6 +1033,11 @@
margin-top: 0;
}
+ /* Four sections fit on a phone only as icons; each keeps its accessible name. */
+ .settings-nav-label {
+ display: none;
+ }
+
.settings-row:has(.mac-range-wrap) {
flex-wrap: wrap;
}
diff --git a/muelle/src/styles/usage.css b/muelle/src/styles/usage.css
new file mode 100644
index 0000000..63815dc
--- /dev/null
+++ b/muelle/src/styles/usage.css
@@ -0,0 +1,165 @@
+/* The AI usage island: a black pill under the menu bar that opens into a panel. */
+
+.island {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ z-index: 5;
+ width: max-content;
+ translate: -50% 0;
+ overflow: hidden;
+ border-radius: 0 0 14px 14px;
+ background: #0b0c0f;
+ color: #fff;
+ font-size: 11px;
+ text-align: left;
+ box-shadow: 0 10px 28px rgb(0 0 0 / 0.35);
+ transition: border-radius 0.25s ease;
+}
+
+.island:focus-visible {
+ outline: 2px solid var(--color-primary, #0a84ff);
+ outline-offset: 2px;
+}
+
+.island-compact {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ height: 28px;
+ padding: 0 12px;
+}
+
+.island-provider {
+ display: inline-flex;
+ align-items: center;
+ gap: 6px;
+}
+
+.island-provider img {
+ width: 14px;
+ height: 14px;
+}
+
+.island-divider {
+ width: 1px;
+ height: 14px;
+ background: rgb(255 255 255 / 0.2);
+}
+
+.island-ring {
+ width: 14px;
+ height: 14px;
+ rotate: -90deg;
+}
+
+.island-ring circle {
+ fill: none;
+ stroke: rgb(255 255 255 / 0.18);
+ stroke-width: 2.4;
+}
+
+.island-ring circle + circle {
+ stroke: var(--ring);
+ stroke-linecap: round;
+}
+
+/* The panel: folded away until the island opens. */
+.island-panel {
+ display: grid;
+ width: min(300px, 80vw);
+ max-height: 0;
+ padding: 0 14px;
+ opacity: 0;
+ transition:
+ max-height 0.3s cubic-bezier(0.3, 0.7, 0.2, 1),
+ opacity 0.2s ease,
+ padding 0.3s ease;
+}
+
+.island-open .island-panel,
+.island-hover:is(:hover, :focus-visible, :focus-within) .island-panel {
+ max-height: 240px;
+ padding: 4px 14px 12px;
+ opacity: 1;
+}
+
+.island-open .island-compact,
+.island-hover:is(:hover, :focus-visible, :focus-within) .island-compact {
+ justify-content: center;
+}
+
+.island-head {
+ display: flex;
+ justify-content: space-between;
+ align-items: baseline;
+ padding: 4px 0 8px;
+ border-bottom: 1px solid rgb(255 255 255 / 0.1);
+}
+
+.island-head b {
+ font-size: 13px;
+}
+
+.island-head span,
+.island-meta {
+ color: rgb(255 255 255 / 0.55);
+}
+
+.island-row {
+ display: flex;
+ gap: 10px;
+ padding: 10px 0;
+}
+
+.island-row + .island-row {
+ border-top: 1px solid rgb(255 255 255 / 0.08);
+}
+
+.island-row img {
+ flex: none;
+ width: 18px;
+ height: 18px;
+}
+
+.island-detail {
+ flex: 1;
+ min-width: 0;
+}
+
+.island-detail p {
+ display: flex;
+ justify-content: space-between;
+ gap: 8px;
+ margin: 0;
+}
+
+.island-detail b {
+ font-size: 12px;
+}
+
+.island-bar {
+ display: block;
+ height: 4px;
+ margin: 6px 0;
+ overflow: hidden;
+ border-radius: 2px;
+ background: rgb(255 255 255 / 0.15);
+}
+
+.island-bar i {
+ display: block;
+ height: 100%;
+ border-radius: 2px;
+}
+
+.island-meta {
+ font-size: 10px;
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .island,
+ .island-panel {
+ transition: none;
+ }
+}