# brt — Brew Remote Tools

A Swiss-army CLI for networking, editing, command chains, and secure remote terminal access.

## Install

The site and `brt -help` / `brtwin -help` detect your OS and show the matching one-liner.

### macOS / Linux

```bash
curl -fsSL https://brt.sushii.dev/install.sh | sh
```

### Windows

```powershell
irm https://brt.sushii.dev/win/install.ps1 | iex
```

On Windows the command is **`brtwin`** (not `brt`). Remote access works across platforms — Mac `brt -access connect` to Windows `brtwin -access serve` and vice versa.

The install script fetches CLI files from `https://brt.sushii.dev/`.

## Quick start

```bash
brt -help
brt -ip check
brt -dns google.com
brt -run 'echo "hello";wait 2;echo "bye"'
brt -access serve
```

## Website & distribution

The Next.js site in `website/` hosts the docs, wiki, and all installable files under `website/public/`:

```bash
cd website && npm install && npm run dev
```

`npm run sync` copies the CLI into `website/public/` before dev/build so these URLs work:

- `https://brt.sushii.dev/install.sh`
- `https://brt.sushii.dev/brt`
- `https://brt.sushii.dev/lib/*`
- `https://brt.sushii.dev/win/install.ps1` (Windows)
- `https://brt.sushii.dev/win/*`

## License

MIT
