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

@slicenfer/claudio

v0.1.2

Published

Claudio · 私人电台 DJ,跑在你自己的机器上

Downloads

78

Readme

claudio

私人电台 DJ,跑在你自己的机器上。喊一声,他选歌、合成报幕、起 mpv,立刻返回不阻塞。

npm i -g @slicenfer/claudio
brew install mpv ffmpeg     # 系统依赖(缺了 claudio 会提示)

claudio init                # 选音乐源、填 key
claudio login               # 终端扫码登录
claudio import              # 拉我喜欢歌单(30-60s)
claudio install-skill       # (可选)让 Claude Code 自动用 claudio
claudio play "今天周一,写代码写吐了,来点能撑住的"

命令

| 命令 | 干嘛 | |---|---| | claudio play "<一句话>" | 一句话给 DJ,他出 3 首+报幕,起播放器 | | claudio play "<一句话>" -n 5 | 出 5 首 | | claudio play "<续杯>" | 已经在播:append 到当前队列,不重启 | | claudio next | 跳下一首 | | claudio stop | 关播放器 | | claudio status | 看现在在播什么、队列里还有啥 | | claudio lyrics -f | 跟着歌走显示当前歌词 |

播放器 detached,开了立即返回——你接着写代码,他在后台放。剩 1 首时自动续杯。

音乐源

claudio init 第一个问题选:

  • netease(默认):体验最好,cookie 永不过期、有逐首播放统计 → DJ 选歌画像最准
  • qq:QQ 音乐,需要绿钻账号才能播大部分歌(非绿钻歌曲会自动 skip);首次 play 会多 1-2 秒(启动本地 sidecar)

切源不丢数据:cookie 和 liked 都按源分文件存(~/.claudio/cookie.netease / cookie.qq / liked.netease.json / liked.qq.json)。

给 Claude Code / Codex 用

跑一下:

claudio install-skill

会装一份 skill 到 ~/.claude/skills/claudio/SKILL.md,让 agent 在 vibecoding 时自动调 claudio play——你说"换首"、"放点慢的",它直接喊 DJ,不再问你。

状态

  • 状态目录 ~/.claudio/config.jsonmpv.sockmpv.logstate.jsonmemory.jsonltts/
  • 想看 DJ 选歌的理由:tail -f ~/.claudio/memory.jsonl 里有 picks[].why

故障

  • × 一首都没解析出可播链接 → cookie 过期,重 claudio login;QQ 用户也可能没绿钻
  • 报幕不出声 → 装 ffmpeg
  • × 没在播 但确实开过 → mpv 被 kill 了,claudio stop 清状态再重 play

License

MIT