beckon

v0.1.0 · free and open sourcemiễn phí, mã nguồn mở

Give Claude Code work from Slack or Telegram.Giao việc cho Claude Code từ Slack hoặc Telegram.

beckon runs Claude Code on your own machine, with your own Claude plan. You send a task in chat. It does the work, shows its steps, and waits for you before anything risky. beckon chạy Claude Code trên máy của bạn, bằng gói Claude của bạn. Bạn gửi việc qua chat. Nó làm, cho bạn xem từng bước, và chờ bạn duyệt trước mọi bước rủi ro.

curl -fsSL https://beckon.openyard.cloud/install.sh | sh

macOS and Linux. No sudo. It puts beckon in ~/.beckon/app and adds Node.js 22 there if yours is missing or older. You can read the script first. macOS và Linux. Không cần sudo. Lệnh này đặt beckon vào ~/.beckon/app và thêm Node.js 22 vào đó nếu máy bạn chưa có hoặc bản cũ hơn. Bạn có thể đọc script trước.

What happens next: beckon init asks whether you use Slack or Telegram and walks you through it in about five minutes. Bước tiếp theo: beckon init hỏi bạn dùng Slack hay Telegram rồi dẫn bạn làm từng bước, mất khoảng năm phút.

beckon in a Slack channel: a task, the live list of steps, a one-line summary, and an Allow button before a production deploy

What you needBạn cần gì

  • A machine that stays onMột máy luôn bật

    A Mac or a Linux machine. beckon and Claude Code run there, also when you are away.Máy Mac hoặc Linux. beckon và Claude Code chạy trên máy đó, kể cả khi bạn đi vắng.

  • A Claude planMột gói Claude

    Claude Code installed and logged in on that machine. beckon uses your plan, not an API key.Claude Code đã cài và đã đăng nhập trên máy đó. beckon dùng gói của bạn, không dùng API key.

  • Slack or TelegramSlack hoặc Telegram

    In Slack, a workspace where you can create an app. In Telegram, only your account.Với Slack, một workspace mà bạn được tạo app. Với Telegram, chỉ cần tài khoản của bạn.

What it doesbeckon làm gì

  • Your machine, your Claude planMáy của bạn, gói Claude của bạn

    Claude Code runs where your repositories, tools and logins already are. beckon starts the official claude command, logged in with your plan.Claude Code chạy ngay nơi có sẵn repo, công cụ và các tài khoản bạn đã đăng nhập. beckon gọi lệnh claude chính chủ, đăng nhập bằng gói của bạn.

  • One thread per taskMỗi việc một thread

    Each task gets its own git worktree and Claude session. The steps show live in the thread. The answer starts with a one-line summary.Mỗi việc có git worktree và phiên Claude riêng. Các bước hiện trực tiếp trong thread. Câu trả lời mở đầu bằng một dòng tóm tắt.

  • Risky actions wait for youBước rủi ro chờ bạn duyệt

    A deploy, a push to main, a merge, a migration or a release waits until you press Allow. If nobody answers, it is not done.Deploy, push lên main, merge, migration hay phát hành đều chờ bạn bấm Allow. Không ai trả lời thì bước đó không chạy.

  • No public URLKhông cần URL công khai

    beckon connects out to Slack or Telegram. It works on a laptop or a home server behind a router, with no port to open.beckon tự kết nối ra Slack hoặc Telegram. Nó chạy được trên laptop hay máy ở nhà sau router, không phải mở port nào.

Create your agentTạo agent của bạn

Your agent is a Slack app or a Telegram bot that passes your messages to beckon on your machine. Pick one. Both guides start after the install command above. Agent của bạn là một Slack app hoặc một Telegram bot, chuyển tin nhắn của bạn tới beckon trên máy bạn. Chọn một trong hai. Cả hai hướng dẫn đều bắt đầu sau lệnh cài ở trên.

Create your agent with SlackTạo agent với Slack

For a team: each project gets a channel.Hợp với nhóm: mỗi dự án một kênh.

  1. In a terminal, go to a repository you want beckon to work on. Run beckon init and choose Slack. Trong terminal, vào một repo bạn muốn beckon làm việc. Chạy beckon init và chọn Slack.
  2. Slack's page for a new app opens, with beckon's settings filled in. Press Create, then Install. Trang tạo app của Slack mở ra, đã điền sẵn cấu hình của beckon. Bấm Create, rồi Install.
  3. Paste the two tokens it asks for. Each one is checked with Slack and saved in ~/.beckon/env, which only you can read. They are not shown while you paste. Dán hai token mà nó hỏi. Mỗi token được kiểm tra với Slack rồi lưu vào ~/.beckon/env, chỉ bạn đọc được. Token không hiện ra khi bạn dán.
  4. Pick the first project: the repository you are in, by default, and a name for it. Chọn dự án đầu tiên: mặc định là repo bạn đang đứng, kèm một cái tên.
  5. In Slack, send @beckon hello in the channel for that project. Slack offers to invite beckon. beckon learns who you are and which channel it is, and answers in the thread. Trong Slack, gửi @beckon hello vào kênh của dự án đó. Slack sẽ hỏi có mời beckon vào không. beckon biết bạn là ai, đó là kênh nào, và trả lời trong thread.
  6. Give it work: mention @beckon with a task. Reply in the thread to continue. Risky steps show Allow and Deny buttons. Giao việc: nhắc @beckon kèm việc cần làm. Trả lời trong thread để làm tiếp. Bước rủi ro hiện hai nút Allow và Deny.

Create your agent with TelegramTạo agent với Telegram

The quickest way: one token, from your phone.Cách nhanh nhất: một token, làm ngay trên điện thoại.

  1. In Telegram, open @BotFather and send /newbot. Choose a name and a username that ends in bot. Copy the token it gives you. Trong Telegram, mở @BotFather và gửi /newbot. Chọn tên và một username kết thúc bằng bot. Chép token mà nó đưa.
  2. Run beckon init, choose Telegram and paste the token. It is not shown while you paste. Chạy beckon init, chọn Telegram và dán token. Token không hiện ra khi bạn dán.
  3. Open your new bot in Telegram, press Start and send hello. beckon learns that you are its owner and answers. Mở bot mới của bạn trong Telegram, bấm Start và gửi hello. beckon ghi nhận bạn là chủ và trả lời.
  4. Give it work by messaging the bot. A message within an hour of the last one continues the same task. /new starts a fresh task. A reply to one of its messages continues that task. Giao việc bằng cách nhắn cho bot. Tin nhắn trong vòng một giờ kể từ tin trước sẽ làm tiếp việc đó. /new bắt đầu việc mới. Trả lời một tin của bot thì làm tiếp đúng việc đó.
  5. In a group: add the bot, then mention it, like @yourbot fix the signup form. @yourbot link myapp ties the group to a project. Risky steps show Allow and Deny buttons under the message. Only owners can press them. Trong nhóm: thêm bot vào, rồi nhắc tên nó, ví dụ @yourbot fix the signup form. @yourbot link myapp gắn nhóm với một dự án. Bước rủi ro hiện hai nút Allow và Deny dưới tin nhắn. Chỉ chủ mới bấm được.

Everyday commandsLệnh dùng hằng ngày

beckon doctor
Checks Node.js, Claude Code, git, the config and the tokens, and says what to fix.Kiểm tra Node.js, Claude Code, git, file cấu hình và các token, rồi chỉ ra chỗ cần sửa.
beckon start
Runs beckon in this terminal. Press Ctrl+C to stop it.Chạy beckon ngay trong terminal này. Bấm Ctrl+C để dừng.
beckon service install
Keeps beckon running in the background and starts it when you log in.Giữ beckon chạy nền và tự bật khi bạn đăng nhập máy.
curl -fsSL …/install.sh | sh
Update: run the install command again. Your settings stay. The background service restarts after running tasks finish.Cập nhật: chạy lại lệnh cài. Cấu hình của bạn giữ nguyên. Dịch vụ chạy nền khởi động lại sau khi các việc đang chạy xong.