터미널에서 Bluesky 쓰기: 어떤 CLI를 고를까요?

Bluesky.bot 핸들에는 bsbot, 일반적인 AT Protocol 작업에는 goat, 타임라인과 게시물에는 게시용 클라이언트를 사용하세요. 기록된 세션마다 정확한 버전과, 공개 데이터를 썼는지 로컬 도움말을 썼는지 밝힙니다.

작성: Bluesky.bot 팀

게시일:
업데이트:
검토일:

작업에 맞게 고르기

봇의 name.bluesky.bot 핸들에는 bsbot과 CLI 레퍼런스부터 시작하세요. 공개 신원 확인, 저장소 내보내기, CAR 파일, PLC 기록, 계정 이전에는 goat를 고려하세요. 타임라인이나 게시용 클라이언트로는 mattn/bsky나 AT Protocol SDK를 고려하세요. 이 도구들은 목적과 권한이 서로 다릅니다.

2026년 11월 16일에 버전과 출처를 확인했습니다. 도움말과 공개 읽기 캡처로는 인증이 필요한 변경을 테스트하지 않습니다.
도구와 버전적합한 용도인증과 쓰기설치와 라이선스출처와 검토

bsbot

0.1.0

TypeScript / Node.js ≥ 22

2026. 11. 12. 출시

봇의 Bluesky.bot 핸들 관리, 공개 이름 확인, 디렉터리 탐색. 게시하거나 타임라인을 읽지는 않습니다.계정 작업에는 브라우저 OAuth를 사용합니다. 토큰은 핸들 관리를 허용하며, Bluesky 앱 비밀번호와는 별개입니다.npm install --global @blueskydotbot/[email protected]

MIT

버전별 출처

2026. 11. 16. 확인

goat

0.2.9

Go

2026. 11. 6. 출시

신원 확인, 저장소와 CAR 파일 검사, PLC 기록 읽기, 데이터 내보내기, 계정 관리 또는 이전.많은 읽기 작업은 공개입니다. 계정 쓰기는 앱 비밀번호로 로그인해 사용하며, 문서화된 클라이언트는 자격 증명을 디스크에 저장합니다.go install github.com/bluesky-social/[email protected]

MIT / Apache-2.0

버전별 출처

2026. 11. 16. 확인

mattn/bsky

0.0.82

Go

2026. 8. 19. 출시

프로필, 팔로우, 검토 등 계정 명령을 갖춘 Bluesky 게시 및 타임라인 클라이언트.문서화된 로그인은 핸들과 비밀번호를 받습니다. 앱 비밀번호를 사용하세요. 인증된 명령은 계정을 변경할 수 있습니다.go install github.com/mattn/[email protected]

MIT

버전별 출처

2026. 11. 16. 확인

비교 내용은 확인한 릴리스를 설명하며, 아직 릴리스되지 않은 저장소 코드는 다루지 않습니다. bsbot과 bsky는 로컬 도움말을 실행했고, bsbot으로 공개 이름 확인을, goat로 공개 DID 확인을 실행했습니다. 인증이 필요한 게시, 이전, 핸들 변경은 실행하지 않았습니다.

설치하고 실제 버전 확인하기

bash
npm install --global @blueskydotbot/[email protected]
bsbot --version
bsbot --help

고정한 버전은 기록과 일치합니다. 한 번만 실행하려면 npx @blueskydotbot/[email protected] --help를 사용하세요. 더 새로운 버전을 고르기 전에 릴리스 노트를 확인하세요. 문서에 적힌 요구 사항은 macOS 또는 Linux의 Node.js 22 이상이며, 이 세션은 Linux의 Node.js 24에서 실행했습니다.

bsbot 0.1.0 ·

로컬 명령, 계정 연결 없음 · 종료 코드 0

bash
bsbot --help
bsbot 0.1.0: manage your Bluesky bots and their name.bluesky.bot handles.

Usage: bsbot <command> [options]

Account
  login [--no-browser] [--name <label>]
                           Sign in through the browser (OAuth, no password);
                           <label> names this machine in your settings
  logout                   Revoke this machine's token and forget it
  whoami                   Show the signed-in account

Handles
  check <name>             Is <name>.bluesky.bot free to claim?
  claim <bot> <name>       Claim <name>.bluesky.bot for a bot and switch to it
  switch <bot>             Ask the bot's server again to use its handle
  verify <bot>             Check that the bot's handle is live on Bluesky
  release <bot> [--yes]    Give the handle up (the bot goes back to its old one)

Bots
  bots                     List your bots
  directory [--q <text>] [--category <c>] [--verified] [--limit <n>] [--cursor <c>]
                           Browse the public directory

<bot> is a bot's DID, its handle, its previous handle, or the name of its
.bluesky.bot handle. Add bots from the dashboard: https://bluesky.bot/manage

Options
  --json                   Machine-readable output (never contains the token)
  --api-url <url>          Another server (or BSBOT_API_URL)
  -h, --help               This help
  -v, --version            The version

공개 읽기부터 시작하기

check는 이름이 비어 있는지 묻습니다. 이름을 예약하거나 받지 않습니다. 기록된 이름은 이 프로젝트의 CLI 계정 것이며, 사용 가능 여부와 추천 이름은 나중에 바뀔 수 있습니다.

bsbot 0.1.0 ·

읽기 전용 공개 Bluesky.bot API · 종료 코드 0

bash
bsbot check cli --json
{
  "name": "cli",
  "handle": "cli.bluesky.bot",
  "available": false,
  "reason": "taken",
  "suggestions": [
    "cli2",
    "cli-24",
    "cli3"
  ]
}

로그인하고 내 봇 관리하기

아래 명령은 안내일 뿐, 기록된 인증 세션이 아닙니다. 먼저 대시보드에서 봇을 추가하세요. bsbot login을 실행하고 브라우저에서 계정과 기기 이름을 확인한 뒤 승인하세요. Bluesky 비밀번호는 bsbot을 거치지 않습니다. 이 토큰은 Bluesky.bot용이며, Bluesky에 게시하는 데 쓰이지 않습니다.

bash
bsbot login
bsbot whoami
bsbot bots

내 봇의 DID와 비어 있는 이름을 고른 뒤에 쓰는, 공개된 문법은 다음과 같습니다.

bash
bsbot claim BOT_DID chosen-name
bsbot switch BOT_DID
bsbot verify BOT_DID

자리표시자를 바꿔 넣으세요. claim은 이름을 받고 봇의 서버에 전환을 요청하며, switch는 그 변경을 다시 시도합니다. verify는 핸들이 활성 상태인지 확인합니다. 다시 시도하기 전에 실제로 반환된 상태를 읽으세요. 대기 중인 변경은 시간이 조금 더 필요할 뿐일 수 있고, 수동 응답은 직접 조치해야 합니다. 핸들 검증을 참고하세요.

Doctor와 CI: 서버와 CLI 릴리스 구분하기

소스 저장소에는 이후 작업이 설명되어 있지만, 확인한 npm 패키지는 0.1.0입니다. 이 버전에는 doctor, listing, BSBOT_TOKEN 지원이 없습니다. 아래의 알 수 없는 명령 기록은 실제 결과이며, 성공한 점검이나 등록 정보 업데이트가 아닙니다.

bsbot 0.1.0 ·

로컬 명령, 계정 연결 없음 · 종료 코드 2

bash
bsbot doctor --json
{"error":{"code":"usage","message":"Unknown command \"doctor\". See bsbot --help."}}

bsbot 0.1.0 ·

로컬 명령, 계정 연결 없음 · 종료 코드 2

bash
bsbot listing get cli --json
{"error":{"code":"usage","message":"Unknown command \"listing\". See bsbot --help."}}

지금은 대시보드의 점검을 사용하세요. API 레퍼런스에는 인증이 필요한 doctor와 listing 엔드포인트, 그리고 등록 정보 전용 배포 토큰이 설명되어 있습니다. CI에서는 그 HTTP 규약을 따르고, 비밀 값은 CI의 시크릿 저장소에 보관하며, 배포 토큰은 대상 봇으로만 제한하세요. HTTP 예시가 있다고 해서 아직 릴리스되지 않은 bsbot listing set 명령이 지원되는 것은 아닙니다. 명령 호환성에 관한 자세한 내용은 계속 CLI 레퍼런스에서 확인하세요.

goat로 하는 읽기 전용 AT Protocol 작업

이 세션은 bsky.app의 공개 DID를 확인합니다. 로그인하거나 계정을 변경하지 않습니다. 반환된 DID 문서는 기록 시점의 핸들, 공개 키, 서비스 엔드포인트를 알려 줍니다. 저장소 내보내기와 이전은 위험도가 다른 별도 명령이므로, 사용하기 전에 버전이 지정된 goat 소스를 확인하세요.

goat goat version 0.2.9 ·

읽기 전용 공개 AT Protocol 데이터 · 종료 코드 0

bash
goat resolve did:plc:z72i7hdynmk6r22z27h6tvur
{
  "@context": [
    "https://www.w3.org/ns/did/v1",
    "https://w3id.org/security/multikey/v1",
    "https://w3id.org/security/suites/secp256k1-2019/v1"
  ],
  "id": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "alsoKnownAs": [
    "at://bsky.app"
  ],
  "verificationMethod": [
    {
      "id": "did:plc:z72i7hdynmk6r22z27h6tvur#atproto",
      "type": "Multikey",
      "controller": "did:plc:z72i7hdynmk6r22z27h6tvur",
      "publicKeyMultibase": "zQ3shQo6TF2moaqMTrUZEM1jeuYRQXeHEx4evX9751y2qPqRA"
    }
  ],
  "service": [
    {
      "id": "#atproto_pds",
      "type": "AtprotoPersonalDataServer",
      "serviceEndpoint": "https://puffball.us-east.host.bsky.network"
    }
  ]
}

bsky로 게시하고 타임라인 보기

기록된 도움말은 내려받은 mattn/bsky 0.0.82 릴리스의 것입니다. 타임라인, 게시, 계정 작업이 나열되어 있습니다. 로그인하거나 쓰기 명령을 실행하지는 않았습니다. 상위 문서는 기능에 대한 출처일 뿐, 저희 세션에서 모든 명령을 테스트했다는 증거가 아닙니다.

bsky bsky version 0.0.82 ·

로컬 명령, 계정 연결 없음 · 종료 코드 0

bash
bsky --help
NAME:
   bsky - bsky

USAGE:
   bsky [global options] command [command options]

VERSION:
   0.0.82

DESCRIPTION:
   A cli application for bluesky

COMMANDS:
   show-profile         Show profile
   update-profile       Update profile
   show-session         Show session
   timeline, tl         Show timeline
   stream               Show timeline as stream
   thread               Show thread
   post                 Post new text
   vote                 Vote the post
   votes                Show votes of the post
   repost               Repost the post
   reposts              Show reposts of the post
   follow               Follow the handle
   unfollow             Unfollow the handle
   follows              Show follows
   followers            Show followers
   block                Block the handle
   unblock              Unblock the handle
   blocks               Show blocks
   mute                 Mute the handle
   unmute               Unmute the handle
   mutes                Show muted users
   report               Report the handle
   moderation-list      Add the handle to a new moderation list
   lists                Show lists
   list                 Show list items
   chat                 Direct messages
   delete               Delete the note
   search               Search Bluesky
   search-actors        Search Actors
   login                Login the social
   notification, notif  Show notifications
   invite-codes         Show invite codes
   list-app-passwords   Show App-passwords
   add-app-password     Add App-password
   revoke-app-password  Revoke App-password
   mcp                  Start MCP server
   help, h              Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -a value       profile name
   -V             verbose (default: false)
   --help, -h     show help
   --version, -v  print the version

자격 증명은 목적에 맞게만 쓰기

bsbot은 자체 토큰을 ~/.config/bsbot/credentials.json에 사용자 전용 권한으로 저장하며, 기본 유효 기간은 30일입니다. bsbot logout은 그 토큰을 취소합니다. 대시보드에서도 CLI 접근을 취소할 수 있습니다. 자격 증명이 로그나 소스 관리에 남지 않게 하세요.

Bluesky 비밀번호를 인수로 받는 클라이언트에는 계정 비밀번호 대신 앱 비밀번호를 만들어 쓰세요. goat는 앱 비밀번호와 토큰을 디스크에 저장한다고 문서화하며, 로그아웃하면 그 로컬 인증 파일을 삭제합니다. Bluesky.bot 핸들 토큰과 달리, 게시용 클라이언트의 자격 증명으로는 게시물 작성과 다른 계정 변경이 가능할 수 있습니다. 무인 작업을 켜기 전에 범위, 로컬 저장, 취소 방법을 확인하세요.

Bluesky CLI에 관한 질문

bsbot으로 Bluesky에 게시할 수 있나요?
아니요. 확인한 npm 버전은 Bluesky.bot 핸들을 관리하고 디렉터리를 탐색합니다. 게시물에는 게시 클라이언트나 AT Protocol SDK를 사용하세요.
bsbot doctor가 unknown command라고 나오는 이유는 무엇인가요?
기록된 npm 0.1.0 패키지에는 doctor나 listing 명령이 없습니다. 서버 엔드포인트만으로는 설치된 CLI에 명령이 추가되지 않습니다. 새 기능에 의존하기 전에 릴리스 노트를 확인하세요.
공개된 bsbot을 CI에서 BSBOT_TOKEN과 함께 사용할 수 있나요?
확인한 0.1.0 패키지는 이 환경 변수를 읽지 않습니다. 서버는 직접 HTTP 요청용으로 등록 정보 전용 배포 토큰을 제공합니다. API 레퍼런스를 참고하고, 비밀 정보는 CI 비밀 저장소에 보관하세요.

출처