# manycore-maas/Painter

小程序生成图片库，轻松通过 json 方式绘制一张可以发到朋友圈的图片

Repository: https://github.com/manycore-maas/Painter
Canonical: https://ross.abutalabs.com/products/painter
Homepage: https://painterjs.github.io/
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2024-03-12T01:34:51+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2983, "days_push": 905, "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 4475, forks 590 (observed 2026-08-28T04:08:51.052370+00:00)

## What it is
Painter is a JSON-driven canvas drawing library for WeChat mini programs (also usable in Node and HTML5) that renders images from a declarative 'palette' spec. It abstracts away the pain of the mini-program Canvas API, supporting text, images, rectangles, QR codes, gradients, shadows, rounded corners, and layout features.

## Use cases
- generate shareable poster images in a wechat mini program
- draw images from  templates on canvas
- create wechat moments share cards with qrcode
- render customizable image templates without touching canvas api
- generate posters with text, images and rounded corners
- dynamically edit and redraw canvas content via drag

## When to choose
- you build WeChat mini programs and need programmatic image/poster generation
- you want declarative JSON templates instead of imperative canvas code
- you need features like gradients, shadows, borders, and QR codes in generated images

## When to avoid
- you need server-side high-volume image rendering (node support is still TODO)
- your project is not a WeChat mini program or simple HTML5 canvas app
- you need complex shapes beyond text, image, and rectangle

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, graphics, templating, ui-components
- domain: image-processing, web-development, cross-platform
- platform: browser
- tags: wechat-miniprogram, canvas, -driven-rendering, poster-generation, qrcode, share-image, wechat, nodejs, javascript

## Member repositories
- manycore-maas/Painter (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:51.052370+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-29T18:20:34.795332+00:00, confidence not recorded.
  - readme: https://github.com/manycore-maas/Painter (fetched 2026-08-28T04:08:51.052370+00:00, sha b34168a1f579)
  - homepage: https://painterjs.github.io/ (fetched 2026-08-29T09:07:19.421991+00:00, sha 41614e92fd7f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
