OpenKakao

CLI Overview

Global options and command structure.

Introduction

openkakao-rs is organized around a small set of transport and automation surfaces rather than one giant command tree you need to memorize at once.

The practical split is simple:

REST reads

Lightweight, cache-backed reads and account checks when you want cheap, simple commands.

LOCO workflows

Real chat operations such as full reads, sending, watch mode, and media flows.

Policy flags

Unattended mode and allow-* flags keep risky behavior explicit instead of hidden.

Persistent config

Repeated operator policy can live in config.toml while concrete targets stay on the CLI.

Learn the boundary, not just the names

The fastest way to navigate the CLI is to understand when you want a cheap REST read, when you need LOCO, and when automation policy should stay explicit.

Usage

openkakao-rs [OPTIONS] <COMMAND>

Global Options

FlagDescription
--jsonOutput as JSON
--no-colorDisable colored output
--unattendedDeclare non-interactive operation
--allow-non-interactive-sendAllow send -y and file send -y in unattended mode
--allow-watch-side-effectsAllow watch read receipts, hooks, and webhooks in unattended mode
--no-prefixDon't prepend 🤖 [Sent via openkakao] to outgoing messages
--completion-promisePrint [DONE] to stdout after successful command completion
--versionShow version
--helpShow help

The NO_COLOR environment variable is also respected per no-color.org.

Persistent policy can be stored in Configuration. Transport choice guidance lives in REST vs LOCO.

High-Level Command Groups

Commands

Authentication

CommandDescription
authVerify token validity
login --saveExtract credentials from KakaoTalk
reloginRefresh token via login.json
renewRenew token via refresh_token

Chat & Messages

CommandDescription
chatsList chat rooms
chats --restForce cache-backed REST chat list
read <chat_id>Read messages (LOCO by default)
read <chat_id> --restForce cache-backed REST read
members <chat_id>List members (LOCO by default)
members <chat_id> --restForce REST member list
search <chat_id> <query>Search messages
export <chat_id>Export messages (JSON/CSV/TXT)
unreadList unread chats
loco-chatsHidden legacy compatibility command
loco-read <chat_id>Legacy compatibility command
chatinfo <chat_id>Chat room details (LOCO)
loco-members <chat_id>Hidden legacy compatibility command
loco-chatinfo <chat_id>Hidden legacy compatibility command
send <chat_id> <msg>Send text message
send-file <chat_id> <file>Send file (photo/video/doc)
send-photo <chat_id> <file>Send photo (alias for send-file)
edit <chat_id> <log_id> <msg>Edit a message via REWRITE (macOS: -203)
delete <chat_id> <log_id>Delete a message via DELETEMSG
mark-read <chat_id> <log_id>Mark messages as read up to logId
react <chat_id> <log_id>Add reaction to a message (type=1 = like)
watchWatch real-time messages
download <chat_id> <log_id>Download media attachment
loco-blockedInspect LOCO block/hidden-style members

Friends & Profile

CommandDescription
friendsList friends
profile <user_id>Friend profile
meYour profile
settingsAccount settings
profilesMulti-profile list

Utilities

CommandDescription
doctorDiagnostics
doctor --locoTest LOCO booking and connectivity
loco-testHidden legacy compatibility command
probe <method>Raw LOCO probe
loco-probe <method>Hidden legacy compatibility command
scrap <url>Link preview (OG tags)
completions <shell>Shell completions

Where to Start

On this page