npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aitoearn/openclaw-plugin

v1.0.21

Published

AiToEarn 社交媒体管理工具的 OpenClaw 运行时插件包。

Readme

AiToEarn OpenClaw Plugin

AiToEarn 社交媒体管理工具的 OpenClaw 运行时插件包。

推荐安装

npx -y @aitoearn/openclaw-plugin-cli

升级已通过 npm 安装的插件:

npx -y @aitoearn/openclaw-plugin-cli upgrade

这个 CLI 会调用宿主 openclaw plugins install/update,并在首次安装时引导写入 plugins.entries.aitoearn.config

直接安装运行时包

openclaw plugins install @aitoearn/openclaw-plugin

然后按 OpenClaw 标准方式配置:

openclaw config set plugins.entries.aitoearn.enabled true --strict-json
openclaw config set plugins.entries.aitoearn.config.apiKey "your-api-key"
openclaw config set plugins.entries.aitoearn.config.baseUrl "https://aitoearn.ai/api"

如果你想使用 SecretRef,也可以改成:

openclaw config set plugins.entries.aitoearn.config.apiKey \
  --ref-provider default \
  --ref-source env \
  --ref-id AITOEARN_API_KEY

完成配置后重启 Gateway:

openclaw gateway restart

运行时行为

插件会根据 baseUrl 自动判定环境并注入本地环境工具:

  • *.aitoearn.cn => China
  • *.aitoearn.ai => Global
  • 其他域名 => self-hosted

启动后会注册 getAiToEarnEnvironment,并只注册当前环境允许的 publishPostTo*

MCP Tools 同步

插件会在 Gateway 启动时自动从 AiToEarn MCP 拉取最新 tools,并缓存到 OpenClaw state dir。

  • AiToEarn 新增或调整 tools 后,不需要升级这个插件包
  • 只需要重启 Gateway,让插件重新同步
  • 如果启动时远端暂时不可用,插件会优先回退到上一次成功同步的本地快照