SF

silver-flight-group/kakaocli

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

171 stars 质量 57 趋势 18MIT

银飞群/卡卡欧克利是从https://github.com/silver-flight-group/kakaocli.导入的特工技能候选人。

概览

银飞群/卡卡欧克利是从https://github.com/silver-flight-group/kakaocli.导入的特工技能候选人。

概述(AI 翻译)

macOS 上 KakaoTalk 的 CLI 工具——阅读聊天、搜索消息、发送短信,并集成 AI 代理。

macOS용 卡卡奥톡 CLI 工具 — 채팅 읽기, 메시지 검색, 텍스트 전송, AI 에이전트 연동.

[!注] 该工具读取 KakaoTalk 的本地数据库,并通过 macOS 辅助 API 自动化用户界面。它不会逆向工程 KakaoTalk 协议,也不会调用任何 Kakao API。详情请参见免责声明。


英语 |한국어


概述

kakaocli 允许 AI 代理(Claude Code、Cursor、自定义机器人)检查并发送你的 KakaoTalk 消息——这是 Kakao 官方 API 根本做不到的。

  • AI 代理集成 — 每个命令的 JSON 输出,MCP 技能定义,webhook 交付,自动登录
  • Read — 列表聊天、查看消息、全文搜索、原始SQL查询
  • 发送 — 通过用户界面自动化向任何聊天发送消息
  • Sync — 支持webhook的实时NDJSON消息流
  • 收获 — 批量捕获聊天名称并加载较早的消息历史

为什么?

Kakao官方API无法读取聊天记录、导出对话或发送自由形式消息。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

kakaocli

CLI tool for KakaoTalk on macOS — read chats, search messages, send texts, and integrate with AI agents.

macOS용 카카오톡 CLI 도구 — 채팅 읽기, 메시지 검색, 텍스트 전송, AI 에이전트 연동.

[!NOTE] This tool reads KakaoTalk’s local database and automates the UI via macOS Accessibility APIs. It does not reverse-engineer the KakaoTalk protocol or call any Kakao APIs. See Disclaimer for details.


English | 한국어


Overview

kakaocli lets AI agents (Claude Code, Cursor, custom bots) check and send your KakaoTalk messages — something Kakao’s official APIs simply can’t do.

  • AI Agent Integration — JSON output for every command, MCP skill definition, webhook delivery, auto-login
  • Read — list chats, view messages, full-text search, raw SQL queries
  • Send — send messages to any chat via UI automation
  • Sync — real-time NDJSON message stream with webhook support
  • Harvest — bulk-capture chat names and load older message history

Why?

Kakao’s official APIs cannot read chat history, export conversations, or send free-form messages. If you want an AI agent to check your messages, summarize conversations, or reply on your behalf — there’s no official way to do it. kakaocli fills that gap by reading the local database and automating the native macOS client.

개요

kakaocli는 AI 에이전트(Claude Code, Cursor, 커스텀 봇)가 카카오톡 메시지를 확인하고 보낼 수 있게 해줍니다 — 카카오 공식 API로는 불가능한 기능입니다.

  • AI 에이전트 연동 — 모든 명령의 JSON 출력, MCP 스킬 정의, 웹훅 전달, 자동 로그인
  • 읽기 — 채팅 목록, 메시지 조회, 전체 텍스트 검색, SQL 쿼리
  • 전송 — UI 자동화를 통한 메시지 전송
  • 동기화 — 실시간 NDJSON 메시지 스트림 및 웹훅 지원
  • 수집 — 채팅방 이름 일괄 수집 및 이전 메시지 로드

왜 필요한가요?

카카오 공식 API로는 채팅 기록을 읽거나, 대화를 내보내거나, 자유로운 메시지를 보낼 수 없습니다. AI 에이전트가 메시지를 확인하거나, 대화를 요약하거나, 대신 답장하게 하고 싶어도 공식적인 방법이 없습니다. kakaocli는 로컬 데이터베이스를 읽고 네이티브 macOS 클라이언트를 자동화하여 이 부분을 해결합니다.

Getting Started / 시작하기

1. Install / 설치

Option A: Homebrew (recommended)

brew install silver-flight-group/tap/kakaocli

This installs sqlcipher automatically and builds from source (~20 seconds).

Option B: Build from source

brew install sqlcipher
git clone https://github.com/silver-flight-group/kakaocli.git
cd kakaocli
swift build -c release
# Binary is at .build/release/kakaocli
# Either add to PATH or run directly:
.build/release/kakaocli status
# Or use swift run:
swift run kakaocli status

2. Grant permissions / 권한 부여

Your terminal app needs two permissions in System Settings > Privacy & Security:

터미널 앱에 다음 두 가지 권한이 필요합니다 (시스템 설정 > 개인정보 보호 및 보안):

  • Full Disk Access (전체 디스크 접근) — to read KakaoTalk’s encrypted database
  • Accessibility (접근성) — for UI automation (sending messages, harvest)

[!NOTE] Full Disk Access is required for all commands. Accessibility is only needed for send, harvest, and inspect.

3. Verify it works / 동작 확인

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add silver-flight-group/kakaocli
新手?先看 mcpskill.org 教程 →