small-tou/js2image
一个可以把js源代码压缩成一个ascii字符画的源代码的工具,压缩后的代码仍可运行 (A tool can compress JavaScript code to any ascii image and still run normally ) observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 49
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3907
- days_rel: n/a
- days_push: 310
- n_releases_24m: 0
Adoption not part of the score
1547 stars · 113 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
js2image is a Node.js tool and CLI that compresses JavaScript source code into ASCII art shapes (e.g., a Christmas tree) while keeping the resulting code executable. It uses GraphicsMagick to process a source image and rewrites the JS so the code visually forms the image.
Use cases
- compress javascript source code into an ascii art picture
- make my website's js render as a christmas tree
- obfuscate js code into a fun shape that still runs
- convert a js file into ascii art from the command line
- generate runnable ascii-art javascript via a node api
When to choose
- you want a novelty/fun transformation of JS code into an image-shaped but runnable form
- you're on Linux or macOS and can install GraphicsMagick
- you want both a CLI and a Node.js API for the transformation
When to avoid
- you need guaranteed production-safe minification - output is not 100% guaranteed to run
- you're on Windows, which is not supported
- you need real code obfuscation or size optimization rather than visual novelty
Facets
cli-tool · maturity maintenance
cli developer-tools graphics compression developer-tools graphics cli javascript ascii-art code-obfuscation novelty graphicsmagick command-line nodejs linux macos
1 source
- readme: https://github.com/small-tou/js2image · fetched 2026-08-28 · 17dd9c713854
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| small-tou/js2image | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="small-tou/js2image")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem