What you need
warelay runs on the owner's computer, in a terminal. You need:
- Node.js 24 or newer.
- An interactive terminal. A window of at least 90 columns by 34 rows shows the full dashboard.
- BrowserOS Neo installed and running, or Docker installed and running (warelay does not install Docker).
- A phone with the WhatsApp account you want to link, and an account for at least one assistant that you can sign in to yourself: ChatGPT, and optionally Claude or Gemini.
warelay is built for one owner: one WhatsApp account, one account per assistant, one BrowserOS profile. It is not a multi-user service.
Install and launch
The commands from the README quick start:
The "Getting started" doc also lists an npm run build step before npm link for a source checkout. If the README and the doc differ when you install, follow the README of the version you cloned.
Then run warelay from any folder. No environment variables or Docker Compose commands are needed for this path.
Data lives in ~/.warelay. If you already have a ~/.wa-chatgpt directory from an older version and no ~/.warelay, warelay keeps using the old one. The old wabgpt command no longer exists.
- git clone https://github.com/71zone/warelay.git
- cd warelay
- npm install
- npm link
- warelay
First run: the guided setup
On a fresh install, warelay asks a short series of questions in the terminal before it opens the dashboard. You can stop with Ctrl-C at any prompt; run it again and it resumes at the first unfinished step.
- Choose a browser: your own BrowserOS (option 1) or a managed browser that warelay runs in Docker (option 2).
- Sign in to ChatGPT yourself in that BrowserOS and finish any verification. warelay never signs in for you, never solves challenges and sends no prompt during setup. When you press Enter it checks access by listing your ChatGPT projects.
- Link WhatsApp: warelay prints a QR code in the terminal; on your phone open WhatsApp, Settings, Linked devices, Link a device, and scan it. A saved login is reused with no new scan.
- First contact (optional): pick the person by name or enter a number with country code, then choose that person's own ChatGPT project and a conversation lifetime. The contact is saved paused.
- The dashboard opens. Forwarding stays paused until you press R or enable a contact.
Turning forwarding on is always your explicit choice: warelay asks before their incoming text goes to ChatGPT and answers are sent from your account, and enables the contact only if you type yes. Enable only people whose messages you are authorized to share.
Choosing the browser: your own or Docker
The two options differ in where the browser runs and where you sign in to ChatGPT:
| Point | Your own BrowserOS (1) | Managed Docker browser (2) |
|---|---|---|
| Needs | BrowserOS Neo installed and running on this computer. | Docker (Docker Desktop, OrbStack or Docker Engine) already installed and running. |
| ChatGPT sign-in | In your own BrowserOS window. | A separate, isolated profile in a Docker volume; sign in through the viewer address warelay prints. |
| Config | browserMcpUrl in config.json stays as set, default http://127.0.0.1:9010/mcp. | warelay writes the container's loopback MCP address into browserMcpUrl. |
Choosing contacts, projects and lifetimes
Each enabled contact gets a ChatGPT conversation of their own, shared with no one. In the terminal dashboard, select a person and use these keys:
- Space or Enter: enable or pause automatic replies for the selected contact.
- A: add an international phone number or a direct-contact ID.
- G: open the project picker for the selected assistant (switch assistant with F6 or the left/right arrows) and choose by name, no URL pasting. Each assistant keeps its own project for a person. A project already assigned to someone else cannot be chosen, so give each person a separate project.
- T: set the conversation lifetime, such as 90m, 12h, 3d or never. Empty means 24 hours. The clock starts when the first conversation is saved; after expiry the next message starts a new chat and the old one stays in ChatGPT.
- B: check that BrowserOS is reachable and a ChatGPT composer is available, without sending a prompt.
Setting a project or lifetime never enables forwarding; you enable the contact separately with Space. Setting a project to project-only memory is your job in ChatGPT, and warelay cannot verify it. Changing a contact's project resets their conversation.
Adding Claude or Gemini as a fallback
Only ChatGPT is used by default. To have a replacement when ChatGPT hits its usage limit, first sign in to claude.ai or gemini.google.com in the same BrowserOS profile, then press O in the dashboard to open the Assistants screen:
- Space: switch an assistant on or off (at least one always stays on).
- Shift with the up/down arrows, or the + and - keys: move an assistant up or down the priority, for example 1. ChatGPT primary, 2. Claude fallback.
- Left/right arrows: set how many times a send is retried before the next assistant takes over (0 to 10, default 2). For Gemini the same keys pick the Google account, 0 to 3 (default 0).
- Enter or S saves, Esc cancels.
The assistant order and the retry count are not in config.json; they are saved in state.json. Gemini has no projects, so G does not apply to it. How a message moves to the next assistant is described in the introduction.
The two dashboards
The terminal dashboard opens when you run warelay. It has panels for status, directory, sessions, details and an activity log (no message bodies). Other keys: R resumes enabled contacts, P pauses everything, L connects WhatsApp or shows the QR, Q quits. Quitting keeps your saved settings.
For an owner-only web dashboard, run the headless server:
- warelay serve
- warelay token
warelay serve listens on 127.0.0.1:8788 by default and everything past the login page needs the owner token (warelay token prints it, only in an interactive terminal). For remote access use an SSH tunnel or a private VPN; do not open the port to the internet. Do not run the terminal dashboard and the server against the same data directory at once.
Redoing setup and when things break
To switch browser, re-check ChatGPT and WhatsApp, or add another contact, run warelay setup. It pauses forwarding while it runs and keeps saved contacts; press R afterwards to resume. An expired login, a ChatGPT interface change or a verification challenge needs you to act by hand in the browser. See the troubleshooting runbook in the repo docs.
If a business needs an official, supported chatbot that stays up for customers, warelay is the wrong tool. See AI and automation.