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

designctl

v0.2.0

Published

MiniMax Design 服务器命令行客户端:生图 / 视频 / 音乐 / LLM 对话(流式)/ MCP。npm 安装即用,配置 endpoint + API Key 即可。

Readme

designctl

MiniMax Design 服务器命令行客户端。npm 安装即用,配两个环境变量就能生图、 生成视频/音乐、和 LLM 对话(流式),还内置 MCP server。

npm install -g designctl

export DESIGN_ENDPOINT=https://design.daheishu.com   # 服务器地址
export DESIGN_API_KEY=sk-...                         # 管理面板创建的 API Key

用法

# 模型目录
designctl models ls

# 生图(同步等图;-o 保存)
designctl image gen "太空中的霓虹绿机器恐龙踩着披萨冲浪" -o dino.png
designctl image gen "赛博朋克城市夜景" --model g-image-2 --size 16:9

# 视频(慢模型,--wait 轮询到完成)
designctl video gen "海滩日落航拍" --model wan3.0-video --wait

# 音乐
designctl music gen "轻快的夏日民谣" --wait

# LLM 对话(MiniMax-M3,默认流式打字机效果)
designctl chat "用一句话解释光合作用"
designctl chat "翻译成英文:今天天气不错" --no-stream
designctl chat "继续" --system "你是一个简洁的助手"

# 多轮会话(历史存 JSON,回答后自动写回)
designctl chat "记住我叫小明" --continue session.json
designctl chat "我叫什么?" --continue session.json

# 查询异步任务
designctl task query <task_id>

# MCP server(给 Claude Desktop 等 MCP 宿主用)
designctl mcp

平台支持

windows-amd64 / linux-amd64 / darwin-amd64 / darwin-arm64(Go 静态二进制,无运行时依赖)。

从源码构建

git clone https://github.com/opensymph/design
cd design/src/tools/designctl
go build -o designctl .
./build-npm.sh   # 交叉编译全平台并组装 npm 包