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

@lmliheng/use-suanjiayun

v0.1.0

Published

Get into a rented suanjiayun GPU container — the console's WebShell or the direct SSH port from the 终端SSH/SFTP连接 panel — around the 2020 menu gateway that authenticates but never attaches, install what the base image is missing, and hand the port-opening

Readme

use-suanjiayun

在算家云(suanjiayun.com)租来的 GPU 容器上接通服务的流程,做成 Adelie 插件。

平台把实例藏在自己的控制台后面:容器端口默认不对外,文档里写的那个 ssh 账号@地域.suanjiayun.com -p 2020 是个菜单网关——密码能过、菜单能列出你的实例, 但选完就再也不回应(实测 xn-a / xn-e 都一样)。这个插件把「哪条路走得通、哪条路别浪费时间」 写清楚,并给出容器里安装、校验、后台常驻、开放端口的固定套路。

安装到 Agent

Adelie → Plugins 插件库 → 从 npm 导入,填包名:

@lmliheng/use-suanjiayun

装到某个 Agent 后,它的技能列表里会出现 suanjiayun。

技能做了什么

skills/suanjiayun/:

| 文件 | 用途 | | --- | --- | | SKILL.md | 完整流程:认清平台模型 → 选通道 → 体检 → 装东西 → 控制台开放端口 → 验证 | | reference/pitfalls.md | 逐字证据:网关选实例后的原始字节、端口映射探测表、镜像实测表、WebShell 粘贴问题、sshd 不重读配置 | | templates/probe-container.sh | 只读体检一行版(含十六进制端口解码,容器里常常没有 ss/netstat) | | templates/install-adelie.sh | 完整范例:镜像下包 → sha256 校验 → 离线安装 → setsid nohup 起服务 → 自检 | | templates/password-ssh.py | 没有 sshpass 时用密码 SSH 跑命令(Windows/MSYS 尤其有用),也能开 PTY 驱动交互菜单 |

三条最常踩的

  1. 别在 2020 网关上耗时间:认证通过 ≠ 能进容器。要直连就向用户要 【终端SSH/SFTP连接】弹窗里的「主机 + 端口」,两项一起要(只给端口号经常对不上主机)。
  2. 容器里直连 GitHub Releases 会卡:走 https://gh-proxy.com/https://github.com/..., 并一律 sha256 校验后再装。
  3. 容器端口不会自动对外:最后一步是用户在控制台 实例 →【开放端口】→【对外开放端口】→ 打开开关 →【获取访问地址】(需实名认证)。

许可

Apache-2.0