VibeHunt
Back to browse

carbon-now-cli

Generate beautiful images of your code.

Source

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

Sign in to leave a review.

Loading reviews…

Similar apps