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

finch-remote-host

v1.2.0

Published

直接读写你服务器上的文件、跑命令,危险操作会被拦下。

Readme

远程主机

在 Finch 里管理自己的 Linux 与 Windows Server:让 Agent 通过 SSH 跑命令、看日志、查状态,危险操作先确认,所有动作留审计。

完整手册:https://yicode.tech/#/product?code=finchRemoteHost

功能特性

  • 主机与凭据配一次,所有会话共用;密码不进对话,Agent 也用不到明文
  • 支持 Linux 与 Windows Server:主机上选「系统」,命令按各自方言下发
  • 一条命令跑完,输出与退出码直接拿回来
  • 本机文件直接传到服务器(scp,走同一套凭据;只传单个文件,目录先压缩)
  • 删除、格式化、写裸盘、关机这类不可逆命令直接拒绝,连确认按钮都不给
  • 系统目录与密钥目录整棵子树受保护;/home、/opt、/srv、/var/lib 只保护到直属子目录,缓存与日志照常能清;Windows 上是 C:\Windows、C:\Program Files、C:\ProgramData 这些
  • 每台主机可选策略,从只读到全放开四档
  • 每次执行都写本机审计,事后能查
  • 长任务挂后台跑,随时看日志与退出码,不用守着终端;Linux 按进程组收尾,Windows 按父子关系收整棵树

使用场景

看一眼机器状态

问「这台机器磁盘还剩多少」,远端跑一条 df -h,结果直接贴回来。

重启服务但要先过目

它会先弹一张卡片,把目标机器与完整命令写清楚,你确认后才执行。

排查线上问题

日志、进程、端口一条条查,查到哪一步、跑了什么,审计里都有。

安装使用

  1. 在 Finch 里安装「远程主机」
  2. 打开小程序面板,新增主机:系统、地址、端口、用户名、认证方式(密钥或密码)
  3. 给这台主机选一个策略并保存
  4. 在对话里直接说要做什么,例如「看下 web-01 的磁盘还剩多少」

Windows Server 主机

Windows 上要先装 OpenSSH Server,管理员 PowerShell 里三步:

  • Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
  • Start-Service sshd 与 Set-Service -Name sshd -StartupType Automatic
  • 防火墙放行 22 端口:New-NetFirewallRule -Name sshd -DisplayName "OpenSSH Server" -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22

两个坑:

  • 本机管理员账号走网络登录会被 UAC 拦,报 Permission denied。测试机可开 LocalAccountTokenFilterPolicy=1,生产建议用普通账号或密钥
  • 命令在 PowerShell 里执行,输出已强制 UTF-8,中文不会乱码;只支持 PowerShell 写法,不提供 dir、type、cmd /c 这些 cmd 语法

联系方式