
KiloClaw
KiloClaw 是一个由 Kilo Gateway 提供支持的、完全托管的 OpenClaw 托管版本。我们处理基础设施、安全、更新和监控,这样你就可以专注于你的智能体实际能做什么,而不是维持它的运行。
opencli-rs 是知名项目 OpenCLI 的 纯 Rust 重构版。它保留了原项目覆盖 55+ 主流网站(Bilibili、知乎、小红书、Twitter/X、Reddit 等)和 333+ 命令 的强大功能,同时通过 Rust 的内存安全和高性能特性,实现了最高 12 倍的加速和10 倍的内存节省。
opencli-rs 是知名项目 OpenCLI 的 纯 Rust 重构版。它保留了原项目覆盖 55+ 主流网站(Bilibili、知乎、小红书、Twitter/X、Reddit 等)和 333+ 命令 的强大功能,同时通过 Rust 的内存安全和高性能特性,实现了最高 12 倍的加速和10 倍的内存节省。
作为一个零运行时依赖的单文件二进制工具(仅 4.7MB),它不仅是人类开发者的高效助手,更是 AI Agent(如 OpenClaw, Cursor, Claude Code) 的理想搭档——赋予 AI 触达全网实时数据、控制桌面应用、调用本地工具的原生能力。
| 指标 | 🦀 opencli-rs (Rust) | 📦 opencli (Node.js) | 提升幅度 |
|---|---|---|---|
| 内存占用 | 9 - 15 MB | 95 - 99 MB | 节省 10 倍 💾 |
| 启动速度 | 即时 | 需加载 Node 环境 | 快 12 倍 ⚡ |
| 二进制大小 | 4.7 MB | ~50 MB (含 node_modules) | 小 10 倍 📏 |
| 依赖环境 | 零依赖 (单文件) | Node.js 20+ | 极简部署 🔗 |
| 实测耗时 | B 站热门 1.66s | B 站热门 20.1s | 12x 加速 🔥 |
测试环境: macOS Apple Silicon, 122 个自动化命令测试。
无需编写爬虫,一行命令获取实时数据:
示例:
# 获取 B 站热门 (需登录)
opencli-rs bilibili hot --limit 10
# 搜索 Twitter 话题 (需登录)
opencli-rs twitter search "Rust lang" --format json
# 查看 Hacker News 热榜 (无需登录)
opencli-rs hackernews top --format table
AGENT.md 或 .cursorrules 中配置 opencli-rs list,AI 即可自动感知所有可用工具。opencli-rs register mycli,将任意本地 CLI 注册为 Agent 可调用的技能。generate --ai 命令,让 AI 分析任意新网站并自动生成抓取脚本,上传至 autocli.ai 社区共享。通过浏览器会话复用技术,将 Cursor, ChatGPT, Notion, Discord 等 Electron 应用变成命令行工具:
status, send, read, new, dump.extract-code (提取代码), screenshot (截图), composer (组合操作).yt-dlp,自动提取浏览器 Cookie,下载 B 站/YouTube/Twitter 高清视频。无缝集成常用开发工具,统一入口:
opencli-rs gh repo list # GitHub CLI
opencli-rs kubectl get pods # Kubernetes
opencli-rs docker ps # Docker
curl -fsSL https://raw.githubusercontent.com/nashsu/opencli-rs/main/scripts/install.sh | sh
Windows 用户可通过 PowerShell 脚本或手动下载二进制文件安装。
opencli-rs-chrome-extension.zip。chrome://extensions 开启“开发者模式”,加载解压后的扩展。opencli-rs 守护进程,复用你的登录状态(Cookie)。为你的 AI Agent 一键安装技能:
npx skills add https://github.com/nashsu/opencli-rs-skill
遇到不支持的网站?让 AI 帮你写适配器!
opencli-rs auth
# 按提示在浏览器获取 autocli.ai Token 并输入
# AI 分析页面结构,生成抓取“热门列表”的适配器
opencli-rs generate https://www.newsite.com --goal hot --ai
# 探索网站 API 端点
opencli-rs explore https://api.example.com
# 自动探测认证策略 (Public -> Cookie -> Header)
opencli-rs cascade https://api.example.com/data
无需写代码,用声明式 YAML 定义抓取逻辑:
# ~/.opencli-rs/adapters/mysite/hot.yaml
site: mysite
name: hot
strategy: public
args:
limit: { type: int, default: 20 }
pipeline:
- fetch: https://api.mysite.com/hot?limit=${{ args.limit }}
- select: data.posts
- map:
title: "${{ item.title | truncate(30) }}"
score: "${{ item.score }}"
url: "https://mysite.com/${{ item.id }}"
- filter: "${{ item.score > 10 }}"
- sort: { by: score, order: desc }
支持强大的模板表达式:
| upper, | join(', '), | truncate(30)${{ item.active ? 'Yes' : 'No' }}${{ Math.min(args.limit, 50) }}opencli-rs hackernews top, opencli-rs twitter trending, opencli-rs zhihu hot,汇总成日报发送给你。opencli-rs bilibili download BV1xxx --quality 4k,自动存入本地素材库。opencli-rs notion read), 自动发布到 Twitter 和 LinkedIn。






