AI-Anywhere

Your agents. Any browser. Anywhere

2,116
Stars
128
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/AI-Anywhere/AI-Anywhere

快速入门

使用 AI-Anywhere 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

AI Anywhere

Your agents. Any browser. Anywhere.

AI Anywhere brings the agent CLI sessions running in tmux to a focused browser interface that works on desktop and mobile. One command starts the local service, and the web UI collects every task that needs attention without moving terminal state away from the machine where it is running.

This repository contains the web layer served at tmux.online:

  • the public product site;
  • the React account dashboard;
  • device authorization and membership screens;
  • the shell installer;
  • Cloudflare Worker and deployment configuration.

The CLI, tmux integration, local server, and browser workspace live in the AI Anywhere core repository.

Install

Run the installer on the machine that hosts your tmux sessions:

curl -fsSL https://tmux.online/install.sh | sh

The installer verifies the local prerequisites, installs @ai-anywhere/cli, and starts AI Anywhere. The server listens on 127.0.0.1 by default, so terminal traffic remains on the local machine.

What This App Provides

  • A product site prerendered with Astro.
  • A client-rendered dashboard built with React Router and SWR.
  • GitHub account sign-in and account switching.
  • Authorized device management and API key management.
  • Trial, referral, and permanent membership views.
  • Device authorization that returns users to the correct localized dashboard route.
  • English, Japanese, Korean, and Traditional Chinese pages.
  • Browser-side caching for responsive dashboard navigation.
  • Search-engine exclusion and private caching rules for account routes.
  • A downloadable installer with a guarded npm publishing workflow in the core repository.

Architecture

AreaImplementation
Public pagesAstro, prerendered HTML, inline critical CSS
DashboardReact, React Router, SWR
Account APIhttps://api.tmux.online through the typed client in src/lib/api.ts
LocalizationTyped copy tables in src/i18n
Installerpublic/install.sh
Edge runtimeCloudflare Worker in worker/index.js
Response policypublic/_headers and Worker response headers
DeploymentWrangler and GitHub Actions

The public pages do not load a framework runtime. React hydrates only dashboard and device authorization surfaces that require account state.

Dashboard HTML is cached privately in the browser for ten minutes and is explicitly excluded from Cloudflare edge caching. Account data is fetched in the browser after the session is resolved, and dashboard routes are excluded from search indexing through HTML, response headers, robots.txt, and sitemap filtering.

Routes

RoutePurpose
/English product site
/ja, /ko, /zh-HantLocalized product sites
/dashboard/devicesAuthorized devices
/dashboard/api-keysAPI key management
/dashboard/membershipTrial, referrals, and membership
/dashboard/deviceDevice authorization
/deviceCookie-aware compatibility redirect
/install.shShell installer download

Localized dashboard routes use the same language prefixes as the public pages. The L cookie is a non-sensitive, root-domain preference readable by tmux.online services. It records the active language so compatibility routes can select the correct location; the bare / home follows a saved non-English preference, and unknown values fall back to English.

Project Structure

src/components/        Astro page sections and shared site chrome
src/islands/           React dashboard and account surfaces
src/i18n/              Typed localized copy
src/layouts/           Shared HTML document layout
src/lib/               API, caching, icons, and content helpers
src/pages/             Public, dashboard, localized, and text routes
src/styles/            Public and dashboard styles
public/                Installer, icons, manifest, robots, and response headers
scripts/               Build-time optimization and asset scripts
worker/                Cloudflare request handling

Local Development

The project uses pnpm.

pnpm install
pnpm dev

The development server runs at http://localhost:4321.

To use a local account API:

PUBLIC_API_URL=http://localhost:51994 pnpm dev

Useful commands:

pnpm build      # Generate the production site in dist/
pnpm preview    # Serve the production output locally
pnpm check      # Run Astro and TypeScript checks
pnpm lint       # Check formatting and Astro types
pnpm format     # Apply repository formatting
pnpm images     # Regenerate raster images from source assets

Localization

English is served without a URL prefix. Japanese, Korean, and Traditional Chinese use their own path prefixes.

To add a language:

  1. Add a typed copy file under src/i18n.
  2. Register the locale and its Open Graph locale in src/i18n/index.ts.
  3. Add the matching page directory under src/pages.
  4. Check typography and text fit on both mobile and desktop layouts.

The language switcher, alternate links, Open Graph metadata, sitemap, and machine-readable text pages all derive from the same locale registry.

Deployment

Build and deploy the Cloudflare Worker and static assets with:

pnpm deploy

The GitHub Actions workflow in .github/workflows/deploy.yml deploys pushes to main. It expects these repository secrets:

  • CLOUDFLARE_API_TOKEN
  • CLOUDFLARE_ACCOUNT_ID

Secret values belong in GitHub repository settings and must never be committed.

Repository Boundary

This repository is the canonical source for the tmux.online website. Changes to the CLI, local service, tmux protocol, or npm package belong in AI Anywhere core. The website consumes those runtime artifacts through the public installer and documented HTTP interfaces.

常见问题

What is AI-Anywhere?

AI-Anywhere is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by AI-Anywhere. Your agents. Any browser. Anywhere. It has 2,116 GitHub stars.

Is AI-Anywhere safe to use?

AI-Anywhere returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install AI-Anywhere?

Clone the repository with "git clone https://github.com/AI-Anywhere/AI-Anywhere" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is AI-Anywhere written in?

AI-Anywhere is primarily written in TypeScript. It is open-source under AI-Anywhere on GitHub, so you can review or fork the full source.

Are there alternatives to AI-Anywhere?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh AI-Anywhere against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情