carbon-now-cli
Generate beautiful images of your code.
carbon-now-cli is a command‑line utility that creates high‑quality images of source code by leveraging the Carbon service directly from the terminal. It accepts input from a file, standard input, or the clipboard, automatically detects the language, and can output PNG or SVG files at various resolutions. Users can run it with a single command, pipe code into it, or invoke an interactive mode to adjust settings such as theme colors, export type, and line range.
The tool is aimed at developers who want to generate shareable, aesthetically pleasing code snippets without leaving their workflow. It supports batch processing with concurrency, can copy the resulting image to the clipboard, open it in a browser, or display it in terminals that allow image rendering. Presets can be saved and reused, and the command line offers flags for fine‑grained control over start and end lines, rendering engine, and headless operation.
What distinguishes carbon-now-cli is its ability to produce the original Carbon image (not a DOM screenshot), cross‑OS clipboard handling, and extensive configurability while remaining a stable, actively maintained package available through common Node.js package managers.
Reviews
Loading reviews…
Similar apps
Terminals & CLI
freeze
Generate images of code and terminal output.
Terminals & CLI
pageres-cli
Capture website screenshots.
Terminals & CLI
img2ascii
Convert images to ASCII art.
Markdown Editors
marp
Export Markdown to HTML/PDF/Powerpoint presentations.
Terminals & CLI
clevercli
Collection of ChatGPT powered utilities.

Version Control & Git
diff2html-cli
Create pretty HTML from diffs.