New-Bing-Anywhere extension's source Always use Bing GPT-4
New-Bing-Anywhere extension's source Always use Bing GPT-4
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 CLI, tmux integration, local server, and browser workspace live in the AI Anywhere core repository.
Run the installer on the machine that hosts your tmux sessions:
curl -fsSL https://tmux.online/install.sh | shThe 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.
| Area | Implementation |
|---|---|
| Public pages | Astro, prerendered HTML, inline critical CSS |
| Dashboard | React, React Router, SWR |
| Account API | https://api.tmux.online through the typed client in src/lib/api.ts |
| Localization | Typed copy tables in src/i18n |
| Installer | public/install.sh |
| Edge runtime | Cloudflare Worker in worker/index.js |
| Response policy | public/_headers and Worker response headers |
| Deployment | Wrangler 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.
| Route | Purpose |
|---|---|
/ |
English product site |
/ja, /ko, /zh-Hant |
Localized product sites |
/dashboard/devices |
Authorized devices |
/dashboard/api-keys |
API key management |
/dashboard/membership |
Trial, referrals, and membership |
/dashboard/device |
Device authorization |
/device |
Cookie-aware compatibility redirect |
/install.sh |
Shell 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.
…The project uses pnpm.
pnpm install
pnpm devThe development server runs at http://localhost:4321.
To use a local account API:
PUBLIC_API_URL=http://localhost:51994 pnpm devUseful 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 assetsEnglish is served without a URL prefix. Japanese, Korean, and Traditional Chinese use their own path prefixes.
To add a language:
src/i18n.src/i18n/index.ts.src/pages.The language switcher, alternate links, Open Graph metadata, sitemap, and machine-readable text pages all derive from the same locale registry.
Build and deploy the Cloudflare Worker and static assets with:
pnpm deployThe GitHub Actions workflow in .github/workflows/deploy.yml deploys pushes to main. It
expects these repository secrets:
CLOUDFLARE_API_TOKENCLOUDFLARE_ACCOUNT_IDSecret values belong in GitHub repository settings and must never be committed.
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.
No open issues yet, or sync has not completed.