From cbd6eb6b1eb88ed08150a53e5f02d78f566d20c6 Mon Sep 17 00:00:00 2001 From: Sanju Sivalingam Date: Mon, 16 Feb 2026 13:45:02 +0530 Subject: [PATCH] Add copy button to install command on site Hover to reveal, click to copy, shows checkmark for 2s. Co-Authored-By: Claude Opus 4.6 --- site/index.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/site/index.html b/site/index.html index 7b18f4b..ed08697 100644 --- a/site/index.html +++ b/site/index.html @@ -332,6 +332,18 @@ font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace; font-size: 13px; line-height: 1.6; color: var(--text-secondary); } + + /* ─── copy button ─── */ + .copyable { position: relative; } + .copy-btn { + position: absolute; top: 8px; right: 8px; + background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 6px; + color: var(--text-muted); cursor: pointer; padding: 5px 7px; line-height: 0; + transition: all .15s; opacity: 0; + } + .copyable:hover .copy-btn { opacity: 1; } + .copy-btn:hover { background: rgba(255,255,255,.1); color: var(--text-secondary); border-color: var(--border-hover); } + .copy-btn.copied { color: var(--green); border-color: rgba(80,227,194,.3); background: rgba(80,227,194,.08); opacity: 1; } code { font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace; font-size: 13px; background: var(--bg-elevated); padding: 2px 6px; border-radius: 4px; @@ -760,7 +772,12 @@ bun run src/kernel.ts --workflow morning.json 1

install

one command. installs bun and adb if missing, clones the repo, sets up .env.

+
curl -fsSL https://droidclaw.ai/install.sh | sh
+ +

or do it manually:

# install adb
 brew install android-platform-tools
@@ -976,5 +993,21 @@ logger.ts          session logging
+ +