[BREAKGLASS] Website of openclaw.ai https://openclaw.ai
Go to file
Hemant Sudarshan 84114c5313
Refactor: optimize JavaScript performance and robustness (#37)
* refactor: optimize JavaScript performance and robustness

- Replace deprecated navigator.platform with userAgentData
- Add comprehensive null checks for all DOM operations (23+ locations)
- Cache frequently queried DOM elements to eliminate repeated queries
- Remove dead code (installCmds, osCmds objects)
- Improve clipboard copy with execCommand fallback and visual error feedback
- Fix Easter egg animation with null-safety wrapper
- Update font loading comment for clarity

Performance improvements:
- Eliminated 4 DOM queries per state update cycle
- Reduced bundle size by ~13 lines of dead code
- Added visual feedback for clipboard failures

See OPTIMIZATIONS_SUMMARY.md for detailed before/after comparisons

* chore: clean up redundant lock files

- Remove package-lock.json and pnpm-lock.yaml
- Keep bun.lock as primary lock file (per README)
- Update .gitignore to prevent future lock file conflicts

This prevents dependency version mismatches when different
contributors use different package managers.

* fix: always cleanup clipboard fallback textarea

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-02-13 17:15:42 +01:00
.github chore(deps): bump actions/checkout in the github-actions group (#25) 2026-02-13 15:32:53 +01:00
public Features/install cli git install (redo of #17) (#41) 2026-02-13 13:44:23 +01:00
scripts ci: run all website installer scripts in CI 2026-02-13 15:03:31 +01:00
src Refactor: optimize JavaScript performance and robustness (#37) 2026-02-13 17:15:42 +01:00
.gitignore Refactor: optimize JavaScript performance and robustness (#37) 2026-02-13 17:15:42 +01:00
.npmrc fix: add pnpm build script approval for esbuild and sharp 2026-01-24 05:33:31 +00:00
AGENTS.md docs: add git branch cleanup fallback note 2026-02-13 16:09:31 +01:00
astro.config.mjs feat: add RSS feed integration for blog 2026-02-13 15:25:33 +01:00
bun.lock fix: harden RSS feed implementation (#33) (thanks @Daxik2x) 2026-02-13 15:25:33 +01:00
CHANGELOG.md fix: harden RSS feed implementation (#33) (thanks @Daxik2x) 2026-02-13 15:25:33 +01:00
CLAUDE.md feat(showcase): improve layout and add ClawdHub button 2026-01-19 03:18:48 +00:00
OPTIMIZATIONS_SUMMARY.md Refactor: optimize JavaScript performance and robustness (#37) 2026-02-13 17:15:42 +01:00
package.json feat: add RSS feed integration for blog 2026-02-13 15:25:33 +01:00
README.md docs: align Discord link with OpenClaw rename (#57) (thanks @knocte) 2026-02-13 04:09:37 +01:00
tsconfig.json feat: redesign landing page with Astro 2026-01-06 19:04:03 +01:00
vercel.json feat: add trust page i18n (Chinese, Korean, Japanese) with language switcher 2026-02-09 03:37:48 +11:00

openclaw.ai

Landing page for OpenClaw — your personal AI assistant.

Live: openclaw.ai

Pages

  • / — Main landing page with Quick Start, features, and testimonials
  • /integrations — Visual grid of all supported chat providers, AI models, platforms, and tools
  • /shoutouts — Community testimonials and mentions

Tech Stack

  • Astro — Static site generator
  • GitHub Pages — Hosting
  • Custom CSS — No framework, just vibes

Development

bun install
bun run dev

Build

bun run build
bun run preview

Deploy

Automatically deployed to GitHub Pages on push to main.

Install Scripts

The landing page hosts installer scripts:

  • macOS/Linux: curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install.sh | bash
  • macOS/Linux (CLI only, no onboarding): curl -fsSL --proto '=https' --tlsv1.2 https://openclaw.ai/install-cli.sh | bash
  • Windows: iwr -useb https://openclaw.ai/install.ps1 | iex

Installer UI controls (macOS/Linux install.sh):

  • Pass --gum to force gum UI when supported, or --no-gum to disable gum output.
  • Set OPENCLAW_USE_GUM=auto|1|0 to control gum behavior in automation.
  • Compatibility alias: CLAWDBOT_USE_GUM (mapped to OPENCLAW_USE_GUM).

These scripts:

  1. Install Homebrew (macOS) or detect package managers (Windows)
  2. Install Node.js 22+ if needed
  3. Install openclaw globally via npm
  4. Run openclaw doctor --non-interactive for migrations (upgrades only)
  5. Prompt to run openclaw onboard (new installs)