# kuckboy1994/mp_canvas_drawer

:rocket: 微信小程序上canvas绘制图片助手，一个json就制作分享朋友圈图片

Repository: https://github.com/kuckboy1994/mp_canvas_drawer
Canonical: https://ross.abutalabs.com/products/mp_canvas_drawer
Language: JavaScript
License: MIT
License Family: permissive
Topics: mp, canvas, drawer, wxapp, mpvue, wepy, xiaochengxu
Last push: 2019-11-14T08:04:34+00:00

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

## Adoption (not part of the score)
Stars 1717, forks 261 (observed 2026-08-28T04:05:26.388583+00:00)

## What it is
A WeChat mini-program canvas drawing component that generates shareable images from a single JSON configuration. It supports drawing text, images, rectangles, and saving the rendered result as a picture for sharing to WeChat Moments.

## Use cases
- generate share poster images in a WeChat mini-program
- draw text and images onto canvas with one JSON config
- create WeChat Moments share cards with QR codes
- render multiple share images in sequence
- add text styling like bold, underline, and ellipsis truncation on canvas
- save a composed canvas as an image to the phone album

## When to choose
- you are building a WeChat mini-program and need programmatic poster/share image generation
- you want a declarative JSON-driven drawing API instead of raw canvas code
- you need text features like line wrapping, ellipsis, strikethrough, underline, and bold
- you use mpvue or wepy and want a compatible port

## When to avoid
- you are not targeting WeChat mini-programs
- you need actively maintained software - the last release was in 2019
- you need complex layouts, gradients, or advanced canvas effects beyond its feature set
- your project uses a modern mini-program canvas API that the component does not support

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, ui-components, graphics
- domain: messaging-platforms, frontend, web-development, graphics
- platform: -
- tags: weapp, mini-program, canvas-drawing, share-image, mpvue, wepy, poster-generator, wechat, javascript

## Member repositories
- kuckboy1994/mp_canvas_drawer (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:26.388583+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-30T03:34:13.360621+00:00, confidence not recorded.
  - readme: https://github.com/kuckboy1994/mp_canvas_drawer (fetched 2026-08-28T04:05:26.388583+00:00, sha 9392d5a15623)
- Data as of 2026-08-30T08:39:29.467469+00:00.
