The repo mirror
Keep a project's pages as files in a git-ignored folder, so coding agents read them like any other file.
The anywr command copies a project’s pages into a .anywhere/ folder in your repo and keeps it in sync. The folder is added to .gitignore, so the pages never end up in your commits. Coding agents read and edit them as plain files.
Install
The command needs Node 22 or newer. From a copy of the repository:
git clone https://github.com/ethanplusai/anywhere.git
cd anywhere
pnpm install
pnpm --filter ./packages/cli build
npm install -g ./packages/cliSign in
Create a personal access token, then:
anywr login https://app.anywr.aiPaste the token when asked. It is stored on your computer in a file only you can read.
Link a folder
anywr link acme-rebrandUse the project’s slug, shown in your projects list or by anywr projects. Add --create "Acme rebrand" to make a new project at the same time.
Day to day
| Command | Does |
|---|---|
anywr pull | Fetches pages changed in Anywhere. |
anywr push | Sends pages changed here. |
anywr status | Shows what differs. |
anywr projects | Lists your projects. |
anywr logout | Forgets the stored token. |
Every command accepts --json for scripts.
Conflicts
If a page changed both here and in Anywhere, the command leaves the Anywhere copy next to yours as <name>.remote.md and exits with code 1. Merge the two into <name>.md, delete the .remote.md file, and run anywr push. Nothing is ever overwritten silently.