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

cofluxd

v0.2.0

Published

coflux daemon 管理 CLI:装/起/停/升级 Rust daemon(supervisor + worker)

Readme

cofluxd

coflux daemon 的管理 CLI。daemon 是预编译的 Rust 二进制(supervisor 持 PTY + worker 频繁热升级,零 node 运行时);本 CLI 只负责装/起/停/升级——node 仅在你偶尔跑命令时用一下。

安装

npm i -g cofluxd

用法

cofluxd                 # 首次=交互式引导(问登记密钥/设备名,不问服务器地址),之后=看状态
cofluxd onboard         # 显式重新走交互式配置
cofluxd up              # 零参数即可:起服务后打印浏览器授权链接,登录确认即完成登记
cofluxd up --enroll-key <KEY>   # 走存量登记密钥流程(web「添加设备」给的命令)
cofluxd status          # 服务器/登记(含"等待授权")/服务状态
cofluxd logs -f         # 看 daemon 日志
cofluxd update          # 更新二进制并重启(worker 另可由 server 远程热升级)
cofluxd reload          # 改了 settings.json 后重启生效
cofluxd down            # 停止
cofluxd uninstall [--purge]   # 卸载(--purge 连二进制/配置/凭证一并删)

默认连公共服务 wss://api.coflux.dev/daemon(自托管用 --server 改;已保存的地址继续生效,非默认时会有醒目提示)。

不带 --enroll-key 时(推荐、默认):cofluxd up 起服务后会打印一个一次性授权链接,在浏览器用已登录的账号打开确认即可,无需先去 web 控制台生成密钥。仍可用 --enroll-key(从 web 控制台「添加设备」获取)走无头/脚本化登记。

配置

所有配置在 ~/.coflux/settings.jsonserverUrl / enrollKey / deviceName / shell,含密钥故权限 600),daemon 直接读这个文件。手改后 cofluxd reload 生效。

支持 macOS(launchd)/ Linux(systemd user service);服务崩溃自启、开机自启。

更多见 coflux 仓库