Lead with one line you can paste

Both READMEs now open with a quick install: curl… | sh on Mac and Linux,
irm… | iex on Windows, then where the key goes. The role table moved
below it for the server, hands, and agent paths.
This commit is contained in:
王性驊 2026-11-10 14:10:38 +08:00
parent dba6df198e
commit 9443a55d90
2 changed files with 50 additions and 8 deletions

View File

@ -6,6 +6,24 @@ Your own AI assistant. It chats, and it can also *do* things: files, commands, w
It runs on **your computers**. You bring the model key (or run Ollama at home). Chats, files, and passwords are not stored on someone else's account server. It runs on **your computers**. You bring the model key (or run Ollama at home). Chats, files, and passwords are not stored on someone else's account server.
## Quick install
Open a terminal and paste one line.
```sh
curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh | sh
```
Windows (PowerShell):
```powershell
irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 | iex
```
The first build takes 5–15 minutes; later updates take 1–2. It installs into your user folder and needs no administrator account. Open AnyBot (on a Mac, the first time: right-click the icon › Open), paste an API key under Settings › Models, make a bot, and talk to it. No key? Pick Ollama and it runs on your own machine.
Server, hands, or running this from an agent: see [Install](#install) below.
<p> <p>
<img src="shots/readme/chat.png" alt="A list of bots on the left, a chat with one of them on the right" width="780"> <img src="shots/readme/chat.png" alt="A list of bots on the left, a chat with one of them on the right" width="780">
</p> </p>
@ -50,13 +68,15 @@ Models: xAI, OpenAI, Claude, Gemini, OpenRouter, OpenCode Go, Ollama on your mac
If you do not want a server, stop here. If you do not want a server, stop here.
1. Paste the desktop line below into a terminal. If it asks what to install, choose the desktop app. 1. Paste the quick-install line above into a terminal. If it asks what to install, choose the desktop app.
2. Open AnyBot. On a Mac, the first time: right-click the icon › Open. 2. Open AnyBot. On a Mac, the first time: right-click the icon › Open.
3. Settings › Models, paste an API key. Or pick Ollama and skip the key. 3. Settings › Models, paste an API key. Or pick Ollama and skip the key.
4. Make a bot and talk to it. 4. Make a bot and talk to it.
The first build takes about 5–15 minutes. Later updates take 1–2. The app lives in your user folder. No administrator account. The first build takes about 5–15 minutes. Later updates take 1–2. The app lives in your user folder. No administrator account.
For a second computer or a phone, see “A phone, and other computers” below.
--- ---
## A phone, and other computers ## A phone, and other computers
@ -138,8 +158,9 @@ In a terminal it asks what you want, then walks through the first key or the fir
| I want… | On | Paste | | I want… | On | Paste |
|---|---|---| |---|---|---|
| Desktop app | Mac, or Linux with a screen | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- app` | | Quick install (it asks what you want) | Mac, Linux | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh` |
| Desktop app | Windows 10/11 | `irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 \| iex` | | Quick install (Windows is the desktop app) | Windows 10/11 | `irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 \| iex` |
| Desktop app, no questions | Mac, or Linux with a screen | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- app` |
| Account server and brain | Any Linux with Docker | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- server` | | Account server and brain | Any Linux with Docker | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- server` |
| Another computer as hands | Mac, Linux (headless is fine), signed-in Windows | In the app, “Add a computer”, paste the line it shows | | Another computer as hands | Mac, Linux (headless is fine), signed-in Windows | In the app, “Add a computer”, paste the line it shows |
@ -162,7 +183,7 @@ The Chinese `docs/` files are the ones that stay current. `docs/en/` is a short
| You want… | Read | | You want… | Read |
|---|---| |---|---|
| To chat on one computer | “One computer is enough” above | | To chat on one computer | “Quick install” at the top |
| Phone, brain, hands, “brain offline” | [docs/multi-device.md](docs/multi-device.md) ([en](docs/en/multi-device.md)) | | Phone, brain, hands, “brain offline” | [docs/multi-device.md](docs/multi-device.md) ([en](docs/en/multi-device.md)) |
| A platform that will not install | [docs/install.md](docs/install.md) ([en](docs/en/install.md)) | | A platform that will not install | [docs/install.md](docs/install.md) ([en](docs/en/install.md)) |
| Layers, files, where a turn lives | [docs/architecture.md](docs/architecture.md) ([en](docs/en/architecture.md)) | | Layers, files, where a turn lives | [docs/architecture.md](docs/architecture.md) ([en](docs/en/architecture.md)) |

View File

@ -6,6 +6,24 @@
它跑在**你的電腦**上。模型用你自己的金鑰(或你家裡的 Ollama)。聊天、檔案、密碼不會先送到別人的帳號伺服器。 它跑在**你的電腦**上。模型用你自己的金鑰(或你家裡的 Ollama)。聊天、檔案、密碼不會先送到別人的帳號伺服器。
## 快速安裝
打開終端機,貼一行。
```sh
curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh | sh
```
Windows(PowerShell):
```powershell
irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 | iex
```
第一次編譯 5–15 分鐘,之後更新 1–2 分鐘。裝在你的使用者資料夾,不需要系統管理員。裝好打開 AnyBot(Mac 第一次要對圖示按右鍵 › 打開),在「設定 › 模型」貼上 API 金鑰,建一個 Bot 就能開始聊。沒有金鑰可以選 Ollama,在你自己的電腦上跑。
要架伺服器、裝到手腳、給代理程式跑:看下面「[安裝](#安裝)」。
<p> <p>
<img src="shots/readme/chat.png" alt="左邊是不同的 Bot,右邊是跟其中一個聊天" width="780"> <img src="shots/readme/chat.png" alt="左邊是不同的 Bot,右邊是跟其中一個聊天" width="780">
</p> </p>
@ -50,13 +68,15 @@
給不想管伺服器的人。裝好、貼上金鑰、開始聊。 給不想管伺服器的人。裝好、貼上金鑰、開始聊。
1. 打開終端機,貼下面「桌面 App」那一行。它會問你要裝哪一種,選桌面。 1. 打開終端機,貼上面「快速安裝」那一行。它會問你要裝哪一種,選桌面。
2. 打開 AnyBot。Mac 第一次要對圖示按右鍵 › 打開。 2. 打開 AnyBot。Mac 第一次要對圖示按右鍵 › 打開。
3. 設定 › 模型,貼上你的 API 金鑰。沒有金鑰也可以選 Ollama,在你自己的電腦上跑。 3. 設定 › 模型,貼上你的 API 金鑰。沒有金鑰也可以選 Ollama,在你自己的電腦上跑。
4. 建立一個 Bot,跟它說話。 4. 建立一個 Bot,跟它說話。
第一次編譯大約 5–15 分鐘,之後更新 1–2 分鐘。程式裝在你的使用者資料夾,不需要系統管理員。 第一次編譯大約 5–15 分鐘,之後更新 1–2 分鐘。程式裝在你的使用者資料夾,不需要系統管理員。
要用第二台電腦或手機,看下面「手機、還有別的電腦」。
--- ---
## 手機、還有別的電腦 ## 手機、還有別的電腦
@ -140,8 +160,9 @@ flowchart TD
| 我要… | 在哪台 | 貼這一行 | | 我要… | 在哪台 | 貼這一行 |
|---|---|---| |---|---|---|
| 桌面 App | Mac,或有螢幕的 Linux | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- app` | | 快速安裝(會先問你要裝哪一種) | Mac、Linux | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh` |
| 桌面 App | Windows 10/11 | `irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 \| iex` | | 快速安裝(Windows 只有桌面 App)| Windows 10/11 | `irm https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.ps1 \| iex` |
| 桌面 App(不問)| Mac,或有螢幕的 Linux | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- app` |
| 帳號伺服器+大腦 | 任何有 Docker 的 Linux | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- server` | | 帳號伺服器+大腦 | 任何有 Docker 的 Linux | `curl -fsSL https://code.30cm.net/daniel.w/AnyBot/raw/branch/main/install.sh \| sh -s -- server` |
| 加一台手腳 | Mac、Linux(沒螢幕也行)、已登入的 Windows | App 裡按「加一台電腦」,貼它給的那一行 | | 加一台手腳 | Mac、Linux(沒螢幕也行)、已登入的 Windows | App 裡按「加一台電腦」,貼它給的那一行 |
@ -164,7 +185,7 @@ Linux 不限 Ubuntu。腳本認得 apt、dnf、yum、pacman、zypper、apk、xbp
| 你想… | 看 | | 你想… | 看 |
|---|---| |---|---|
| 裝好、開始聊 | 上面「只用一台電腦」 | | 裝好、開始聊 | 最上面「快速安裝」 |
| 手機、大腦、手腳、連不上 | [docs/multi-device.md](docs/multi-device.md) | | 手機、大腦、手腳、連不上 | [docs/multi-device.md](docs/multi-device.md) |
| 某個平台裝失敗、要自己編譯 | [docs/install.md](docs/install.md) | | 某個平台裝失敗、要自己編譯 | [docs/install.md](docs/install.md) |
| 一句話進去之後,程式怎麼分層 | [docs/architecture.md](docs/architecture.md) | | 一句話進去之後,程式怎麼分層 | [docs/architecture.md](docs/architecture.md) |