@listeningkit/log

中文文档
0.1.3发布于 2026/11/01MITES Module

ListeningKit's go-to-market tool, open-sourced: one CLI and MCP server that runs your accounts on X, Reddit, Facebook and Discord, self-hosted.

原始使用文档
文档目录8 节
  1. Why use it
  2. Install
  3. Get started
  4. How we use it
  5. Getting the most out of it
  6. Documentation
  7. Contributing
  8. License

log: run your social accounts from the command line or your AI agent

log

npm: @listeningkit/log log.listeningkit.com License: MIT Model Context Protocol Build with Ona

log runs your social accounts from the command line, or from your AI agent. It reads and acts on X, Reddit, Facebook and Discord (conversations, replies, DMs, Marketplace listings and groups), and signs in to LinkedIn. It's one command, log, and one MCP server, logMcp. It runs on your own machine with your own accounts, and it's free and open source.

Why use it

  • Find the people already asking for what you do. Read your DMs, the replies under your posts, groups and Marketplace, and see who's waiting on you and what they want.
  • Answer them in your own voice. Drafts are written from how you already talk to each person, and nothing is sent until you say so.
  • Run many accounts without paying for a SaaS. Your accounts and sessions stay in ~/.logCli on your machine.
  • Let your agent do the legwork. Claude Code, Codex or Cursor runs the same commands through the MCP server.

Install

macOS and Linux:

curl -fsSL https://log.listeningkit.com/install.sh | sh

Windows (PowerShell):

irm https://log.listeningkit.com/install.ps1 | iex

This installs the log and logMcp commands, and Python with everything the platform engines need. It writes your settings to ~/.logCli/.env. Already have Bun? Then bun add -g @listeningkit/log installs the commands on their own. More: docs/install.md.

Get started

1. Add an account and sign it in. Export the account's cookies from your browser with a cookie extension, then paste them when log asks. They're typed into a masked prompt and never passed as flags.

log localAccount add --platform twitter --account <name>
log twitter cookies save --account <name>
log twitter session check --account <name>

The last line asks the platform itself whether the session is signed in.

2. Use it. For example:

log twitter dms --account <name>           # who's waiting on you, and what they asked
log twitter session check --account <name>
log --help                                 # every command

3. Hand it to your agent.

claude mcp add log -- logMcp

Then ask in plain words: "read my X DMs and tell me who's waiting on me". Codex, Cursor and other clients: docs/mcp.md.

How we use it

We run log every day from Claude Code. The agent loads log's guide, then works through the MCP tools:

  • reading the X inbox and following up with everyone who's waiting
  • answering the people who engaged with a post
  • DMing the people who liked one
  • keeping Marketplace listings live across local accounts
  • listening to local Facebook groups for people asking for a service

Each of those is a use case, written step by step: what to run, and what tells you each step worked. So you can run the same play.

Getting the most out of it

  • Start from a use case and follow it, rather than calling commands one by one.
  • Nothing acts until you say so. Every command that changes something on a platform is a dry run unless you add --live. Over MCP it's a separate …Live tool that needs your confirmation.
  • Keep it human. Each account has its own daily limits, pacing and local waking hours, and log sticks to them.
  • Many accounts? Keep them in Twenty, an open-source CRM. Every machine, agent and teammate then sees the same accounts, and you can edit them by hand.

Documentation

The full docs are at log.listeningkit.com/docs, built from docs/:

TabWhat's in it
Get startedinstall, add your accounts, connect your agent, using log well
Use casesthe plays, step by step
Platformswhat you can do on X, Reddit, Facebook, Discord and LinkedIn
Referenceevery command, MCP tool and hook, error codes, agent guides
How it workshow log decides what happened, Twenty, browsers, proxies, each platform's API and the diagrams

Where each page sits is set in docs/site.json, and a commit check refuses a page that isn't placed.

Contributing

git clone https://github.com/matthewdonsemail-lab/log
cd log
bun install    # also installs the git hooks
bun link       # puts this checkout's log and logMcp on your PATH

Every commit and push runs the same checks we do (lefthook). They check that:

  • the docs and the reference match the code
  • the naming and layout are right
  • there are no comments in code
  • the tests pass

The rules agents work by are in AGENTS.md.

License

MIT

版本与发布记录

@listeningkit/log 共发布 4 个版本,首次发布于 2026/10/31;过去 12 个月发布了 4 个版本。

版本发布日期距今
0.1.3latest2026/11/011 天前
0.1.22026/11/011 天前
0.1.02026/10/313 天前
0.0.0-stage2026/10/313 天前

关于 @listeningkit/log 的常见问题

@listeningkit/log 是什么?

ListeningKit的市场工具,开源:一个CLI和MCP服务器,运行你在X, Reddit, Facebook和Discord上的账户,自我托管。

如何安装 @listeningkit/log?

在项目目录运行 npm install @listeningkit/log,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 log、logMcp,可以用 npx log 直接运行。

@listeningkit/log 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/listeningkit__log 是否存在。

@listeningkit/log 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@listeningkit/log 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js 24.x。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@listeningkit/log 可以商用吗?

@listeningkit/log 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@listeningkit/log 还在维护吗?

最新版本 0.1.3 发布于 2026/11/01(1 天前);至今共发布 4 个版本,其中过去 12 个月发布了 4 个;首次发布于 2026/10/31。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。