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

node-red-contrib-fox-admin

v1.0.3

Published

Fox Control 系统管理控制台,支持设备管理、网络配置、防火墙管理

Readme

Fox Control 系统管理控制台

Node-RED 运行时插件,提供系统管理控制台功能。

功能特性

  • 登录认证:安全的密码登录系统
  • 设备管理:修改主机名、查看系统信息
  • 网络管理:查看网络接口、配置网络参数
  • 防火墙管理:启用/禁用防火墙、添加防火墙规则
  • 站点部署:上传 ZIP 包进行站点部署

支持的系统

  • Debian 11/12
  • Ubuntu 20.04/22.04
  • Kylin V10
  • openEuler 22.03

安装

插件已安装在 Node-RED 的 node_modules 目录中,无需额外安装。

使用方法

  1. 启动 Node-RED
  2. 访问 http://your-node-red-ip:port/foxadmin/
  3. 使用默认密码登录:foxcontrol@123
  4. 修改密码:设置环境变量 FOX_ADMIN_PASSWORD

环境变量

  • FOX_ADMIN_PASSWORD:管理员密码(默认:foxcontrol@123)
  • FOX_SESSION_SECRET:会话密钥(默认:fox-admin-secret-key-2024)

API 接口

认证相关

  • POST /foxcontrol_api/admin/login:登录
  • POST /foxcontrol_api/admin/logout:登出
  • GET /foxcontrol_api/admin/check-auth:检查认证状态

系统管理

  • GET /foxcontrol_api/admin/system/info:获取系统信息
  • PUT /foxcontrol_api/admin/hostname:修改主机名

网络管理

  • GET /foxcontrol_api/admin/network/interfaces:获取网络接口
  • GET /foxcontrol_api/admin/network/connections:获取网络连接
  • PUT /foxcontrol_api/admin/network/config:配置网络

防火墙管理

  • GET /foxcontrol_api/admin/firewall/status:获取防火墙状态
  • PUT /foxcontrol_api/admin/firewall/enable:启用防火墙
  • PUT /foxcontrol_api/admin/firewall/disable:禁用防火墙
  • POST /foxcontrol_api/admin/firewall/rule:添加防火墙规则

站点部署

  • POST /foxcontrol_api/admin/deploy/upload:上传并部署站点

注意事项

  • Node-RED 需要以 root 用户运行才能执行系统管理命令
  • 网络配置修改后可能需要重启网络服务
  • 防火墙规则修改立即生效
  • 部署的站点会解压到 Node-RED 的 public/UI 目录