# jasondu/wxa-plugin-canvas

小程序海报组件-生成朋友圈分享海报并生成图片

Repository: https://github.com/jasondu/wxa-plugin-canvas
Canonical: https://ross.abutalabs.com/products/wxa-plugin-canvas
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: wxapp, canvas, weapp, weixin
Last push: 2024-05-08T07:27:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3095, "days_push": 847, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3186, forks 487 (observed 2026-08-28T04:07:48.018864+00:00)

## What it is
A WeChat Mini Program component that generates shareable poster images (e.g., for Moments sharing) rendered on canvas from simple JSON configuration of blocks, texts, images, and lines. It is distributed via npm or source copy and used as a custom component in wxml.

## Use cases
- generate share posters in a WeChat mini program
- create QR code poster images from config
- render canvas images for朋友圈 sharing
- compose text, images, and blocks into a downloadable picture
- programmatically generate poster images in weapp

## When to choose
- you build WeChat Mini Programs and need poster/share image generation with minimal setup
- you want declarative JSON-driven canvas rendering instead of manual canvas code

## When to avoid
- you target platforms other than WeChat Mini Programs
- you need complex dynamic layouts beyond blocks, texts, images, and lines

## Facets
- artifact type: plugin
- maturity: maintenance
- function: image-processing, ui-components, graphics
- domain: messaging-platforms, frontend, web-development
- platform: cross-platform
- tags: weapp, miniprogram, canvas, poster-generation, qr-code, share-image, wechat, javascript

## Member repositories
- jasondu/wxa-plugin-canvas (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:48.018864+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:59.962983+00:00, confidence not recorded.
  - readme: https://github.com/jasondu/wxa-plugin-canvas (fetched 2026-08-28T04:07:48.018864+00:00, sha 832d88c1eb2b)
  - registry_npm: https://registry.npmjs.org/wxa-plugin-canvas (fetched 2026-08-29T09:39:12.453573+00:00, sha 40af445408ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
