mplewis/src2png
📸💻 Turn your source code into beautiful syntax-highlighted images. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3281
- days_rel: n/a
- days_push: 1317
- n_releases_24m: 0
Adoption not part of the score
2179 stars · 56 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js CLI tool that converts source code files into syntax-highlighted PNG images using Prism and headless Chrome via Puppeteer. It is aimed at producing high-quality code screenshots for presentations and documentation.
Use cases
- turn source code into a syntax-highlighted image
- create code screenshots for a presentation
- generate PNG images of code snippets
- share code as a beautiful image
- screenshot syntax-highlighted code for slides
When to choose
- You need pixel-perfect, high-quality code screenshots rendered by a real browser engine
- You want syntax highlighting for many languages via Prism
- You are preparing slides or blog images of code
When to avoid
- You need a library/API for programmatic integration rather than a CLI
- You want a maintained tool with recent updates
- You cannot install headless Chrome, ImageMagick, and the Fira Code font
Facets
cli-tool · maturity maintenance
image-processing cli developer-tools developer-tools graphics cli cross-platform syntax-highlighting code-screenshots puppeteer prism presentations command-line nodejs macos linux
1 source
- readme: https://github.com/mplewis/src2png · fetched 2026-08-28 · 76e9b80e2225
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mplewis/src2png | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem