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-bizwechat-image

v0.0.5

Published

上传图片到企业微信平台,返回图片url到node-red

Readme

#基于企业微信节点的图片上传补丁节点,可生成返回图片url供后续使用.

就是把原企业微信节点的临时素材上传功能拆出来小改了下,版权归属原作者@FlashSoft. 先要安装了企业微信节点,再安装这个,安装后会看到面板里多了一个上传图片节点. 企业微信节点有上传临时素材节点,但返回的是素材的媒体ID,不是直接的url,这个是返回的url. 有什么用呢,好像也没啥用,当图床? 好处是在微信中发图片url链接访问比较快,毕竟图片存在微信服务器里,而且点击链接后,微信不会弹出"非微信官方网页,请确认是否继续访问."的页面.


###### 以下为企业微信官方文档介绍

上传图片得到图片URL,该URL永久有效 返回的图片URL,仅能用于图文消息正文中的图片展示,或者给客户发送欢迎语等;若用于非企业微信环境下的页面,图片将被屏蔽。 每个企业每月最多可上传3000张图片,每天最多可上传1000张图片 图片文件大小应在 5B ~ 2MB 之间.


各人自行测试,我测试时使用范围没有限制,复制url到电脑浏览器可以打开图片,复制到手机浏览器用流量也可以打开图片.
范例流程

[
    {
        "id": "20ca8e2608570347",
        "type": "tab",
        "label": "流程 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "6873e21f435665d6",
        "type": "bizwechat-configurator",
        "name": "家庭通告板",
        "port": "30001",
        "corpid": "wwaAAAAAAAAAAAAA",
        "agentid": "1000003",
        "corpsecret": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
        "url": "http://www.xxxxxxx.com",
        "token": "ccccccccccccccccccccccccccccccccc",
        "aeskey": "ddddddddddddddddddddddddddddddddddddddd",
        "client_id": "",
        "client_secret": ""
    },
    {
        "id": "2f4c544bf5d50bcb",
        "type": "debug",
        "z": "20ca8e2608570347",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 610,
        "y": 360,
        "wires": []
    },
    {
        "id": "cc79f5c47fe76990",
        "type": "file in",
        "z": "20ca8e2608570347",
        "name": "",
        "filename": "",
        "format": "",
        "chunk": false,
        "sendError": false,
        "encoding": "none",
        "allProps": false,
        "x": 420,
        "y": 200,
        "wires": [
            [
                "58d07d2e96ef8827"
            ]
        ]
    },
    {
        "id": "5ccf309821487ebc",
        "type": "inject",
        "z": "20ca8e2608570347",
        "name": "",
        "props": [
            {
                "p": "filename",
                "v": "/home/3.jpg",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 290,
        "y": 160,
        "wires": [
            [
                "cc79f5c47fe76990"
            ]
        ]
    },
    {
        "id": "58d07d2e96ef8827",
        "type": "bizwechat-image",
        "z": "20ca8e2608570347",
        "name": "",
        "bizwechat": "6873e21f435665d6",
        "x": 500,
        "y": 280,
        "wires": [
            [
                "2f4c544bf5d50bcb"
            ]
        ]
    }
]