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

@kirigaya/openclaw-ddg-search

v1.0.0

Published

DuckDuckGo 网页搜索与网页内容提取插件,以 CLI 形式提供(非 Agent 工具),TUI 可配置是否暴露

Readme

openclaw-ddg-search

OpenClawDuckDuckGo 网页搜索与内容提取插件。以 CLI 命令形式提供,不注册 Agent 工具

功能

  • openclaw ddg-search search <query>:根据关键词在 DuckDuckGo 搜索,返回 N 个结果
  • openclaw ddg-search get-page <url>:获取网页主要内容并输出 Markdown

安装

openclaw plugins install @kirigaya/openclaw-ddg-search

本地开发:

openclaw plugins install ./openclaw-ddg-search

TUI 配置

在 OpenClaw 配置(TUI 或 openclaw.json)中,plugins.entries.openclaw-ddg-search.config

| 参数 | 说明 | 默认 | |------|------|------| | enableWebsearch | 是否暴露 search CLI 子命令 | true | | enableGetWebPageMarkdown | 是否暴露 get-page CLI 子命令 | true | | websearchTimeout | 搜索超时(毫秒) | 15000 | | pageLoadTimeout | 网页加载超时(毫秒) | 15000 |

当某项为 false 时,对应 CLI 子命令不会注册。

使用

# 搜索
openclaw ddg-search search "OpenClaw 插件开发"
openclaw ddg-search search "TypeScript" --limit 5

# 获取网页 Markdown
openclaw ddg-search get-page "https://example.com/article"

Agent 调用

Agent 需通过 exec 工具执行:

openclaw ddg-search search "关键词"
openclaw ddg-search get-page "https://..."

需在 Agent 配置中允许 exec 工具,并确保 openclaw 可执行。

前置条件

  • 需安装 Chrome 浏览器(Playwright 使用系统 Chrome)
  • 或运行 npx playwright install chromium 安装 Chromium

License

MIT © LSTM-Kirigaya