zeroclaw/site
Preventnetworkhacking 8a1dea306e feat(android): Phase 4 - Widget, accessibility, one-liner installers
Phase 4 polish features:

Widget:
- ZeroClawWidget for home screen
- Shows agent status (running/stopped)
- Toggle button to start/stop
- Tap to open app
- Material 3 styling with rounded corners

Accessibility:
- AccessibilityUtils for TalkBack support
- Content descriptions for all UI elements
- Screen reader detection
- Live region announcements
- ContentDescriptions constants

Install Scripts:
- termux-install.sh - One-liner for Termux users
- adb-install.sh - Install from computer via USB
- android-install.html - Web installer page with:
  - Platform detection (Android vs desktop)
  - Direct APK download
  - QR code for desktop users
  - Step-by-step instructions
  - Copy-to-clipboard for commands

Files:
- widget/ZeroClawWidget.kt (128 lines)
- accessibility/AccessibilityUtils.kt (123 lines)
- res/layout/widget_zeroclaw.xml
- res/xml/widget_info.xml
- res/drawable/widget_*.xml
- scripts/android/*.sh
- site/android-install.html

Total: +799 lines across 12 files
2026-02-26 21:34:06 -08:00
..
scripts feat(site): deepen docs IA with pathways and taxonomy 2026-02-26 15:22:59 +08:00
src feat(site): deepen docs IA with pathways and taxonomy 2026-02-26 15:22:59 +08:00
android-install.html feat(android): Phase 4 - Widget, accessibility, one-liner installers 2026-02-26 21:34:06 -08:00
index.html feat(site): redesign docs hub with in-page markdown reader 2026-02-26 14:28:15 +08:00
package-lock.json feat(site): shift docs UI to vercel-style engineering language 2026-02-26 14:35:12 +08:00
package.json feat(site): ship full-docs reader with generated manifest 2026-02-26 15:01:14 +08:00
README.md feat(site): launch responsive docs hub and pages deploy 2026-02-26 14:08:37 +08:00
tsconfig.json feat(site): launch responsive docs hub and pages deploy 2026-02-26 14:08:37 +08:00
vite.config.ts feat(site): launch responsive docs hub and pages deploy 2026-02-26 14:08:37 +08:00

ZeroClaw GitHub Pages Frontend (Vite)

This is the standalone frontend for GitHub Pages.

Commands

cd site
npm install
npm run dev

Build for GitHub Pages:

cd site
npm run build

Build output is generated at:

/home/ubuntu/zeroclaw/gh-pages

Notes:

  • Output directory is intentionally gh-pages/ (not out/).
  • Vite base is configured to /zeroclaw/ for https://zeroclaw-labs.github.io/zeroclaw/.
  • Docs links in UI point to rendered GitHub docs pages for direct reading.
  • Docs Navigator supports:
    • keyword search with weighted ranking
    • category and level filters (Core / Advanced)
    • quick keyboard shortcuts: / to focus search, Esc to reset filters
  • "Quick Start Paths" provides task-first doc flows for onboarding, channels, and hardening.
  • Command palette is enabled:
    • open via Ctrl/Cmd + K
    • includes quick actions (jump docs, repo, theme/language switching)
    • includes direct docs fuzzy search entries
    • supports keyboard navigation ( / / Enter) with active-item highlighting
    • supports Tab / Shift+Tab cycling and live preview panel (desktop)
  • Theme system is enabled:
    • Auto / Dark / Light
    • preference persisted in localStorage
  • i18n is enabled:
    • UI supports English and 简体中文
    • language preference persisted in localStorage
    • URL language parameter (?lang=en / ?lang=zh) is synchronized for shareable links
  • Responsive system is deepened:
    • improved breakpoints for desktop/tablet/mobile
    • adaptive topbar controls and panel layouts
    • container query used for doc-card compact mode
    • desktop section rail + mobile quick dock for faster long-page navigation

Deployment

The repository includes workflow:

.github/workflows/pages-deploy.yml

Behavior:

  • Trigger on pushes to main when site/**, docs/**, or README.md changes.
  • Build runs in site/ and publishes artifact from gh-pages/.
  • Deploys with GitHub Pages official actions.