開發者文件

把 Flyers 裝進你的工具

Flyers 為 CLI 與 AI agent 而生。在終端機一行裝好,或把安裝區塊貼進 Claude Code、Codex,讓 agent 自己接起來。

讓你的 agent 幫你裝

直接複製貼上給 Claude Code、Codex 或 ChatGPT。

Read https://flyers.dev/install.txt and set up Flyers (CLI + MCP) for me.

1 · 安裝 CLI

一行裝好,然後登入綁定你的帳號:

npm install -g @flyers-dev/cli
flyers login

2 · 讓它起飛

agent 寫好 HTML 後,一個指令發佈並拿到短連結:

flyers make it fly proposal.html
# ✈ https://flyers.dev/ab12c

3 · 接上 MCP(Claude / ChatGPT)

先用上面的 flyers login 登入,MCP 會自動沿用同一個 token,設定裡不必再填。需要明確指定時(遠端 / CI),用 flyers token 印出 token 設成 FLYERS_TOKEN:

{
  "mcpServers": {
    "flyers": {
      "command": "npx",
      "args": ["-y", "@flyers-dev/mcp"]
    }
  }
}

4 · 給 Agent 的安裝指令

把這個連結貼給 Claude Code 或 Codex,它會讀取並自己完成安裝:

https://flyers.dev/install.txt

5 · 團隊與共用連結

建立一個團隊,把連結分享給其他人。團隊可以只有你一個人,也可以用 email 邀請成員,對方用該 email 登入後即加入。團隊連結(Team Links)團隊成員都看得到、都能管理;我的連結(My Links)則維持私人。免費方案可擁有 1 個團隊,Pro 方案可建立更多。發佈時用 team 指定團隊(可用名稱或 id):

flyers team create "Acme"          # you become its owner
flyers team invite t_ab12 [email protected]
flyers team ls                     # ids of teams you're in

flyers make it fly deck.html team Acme   # → a Team Link
flyers assign ab12c --team Acme    # move an existing link in
flyers assign ab12c --personal     # move it back to My Links

6 · 品牌網域

團隊擁有者可以開一個 flyers.dev 子網域(每個團隊一個)。發佈到它的連結會長成 your-brand.flyers.dev/code,而且只在該網域上開得起來。

flyers domain add Acme spot       # → spot.flyers.dev (owner only)
flyers domain ls Acme              # show this team's branded domain

flyers make it fly deck.html on spot.flyers.dev   # publish onto it
flyers assign ab12c --domain spot.flyers.dev      # move a link onto it