@junpenn/xbridge-cli
v1.0.2
Published
XBridge command-line interface
Downloads
453
Readme
@junpenn/xbridge-cli
English
Command-line interface for XBridge. Read public X data as a Guest, use saved accounts or read-only account pools, and manage local sessions, proxies, storage, and browser-assisted login.
Requires Node.js 26.8.1 or newer.
Install
npm install --global @junpenn/xbridge-cliUsage
Show all command groups:
xbridge --helpRead a public profile with Guest execution:
xbridge profile openai --guestPrint compact output or full JSON:
xbridge profile NASA --guest --compact
xbridge profile NASA --guest --jsonUse an explicit HTTP(S) proxy when your network requires one:
xbridge profile NASA --guest --proxy https://proxy.example:8443The CLI stores its default SQLite database at ~/.xbridge/data.sqlite. Credentials and proxy secrets are never intended for command output or logs.
Project documentation: https://heyjunpenn.github.io/xbridge/
中文
XBridge 命令行工具。它可以使用 Guest 模式读取公开 X 数据,也支持已保存账号、只读账号池、本地 session、代理、存储和浏览器辅助登录管理。
要求 Node.js 26.8.1 或更高版本。
安装
npm install --global @junpenn/xbridge-cli用法
查看全部命令:
xbridge --help以 Guest 模式读取公开资料:
xbridge profile openai --guest输出紧凑格式或完整 JSON:
xbridge profile NASA --guest --compact
xbridge profile NASA --guest --json网络需要代理时,可为本次调用显式指定 HTTP(S) 代理:
xbridge profile NASA --guest --proxy https://proxy.example:8443CLI 默认使用 ~/.xbridge/data.sqlite。凭据与代理密钥不应出现在命令输出或日志中。
