Freeze is a command-line tool that generates images of code and terminal output in PNG, SVG, and WebP formats.
The tool solves the problem of creating visually appealing screenshots of code snippets and terminal sessions for documentation, presentations, and social media. It works by reading source code or capturing ANSI terminal output and rendering it as an image with syntax highlighting and customizable styling. Users can pipe code directly to the tool, read from files, or use the --execute flag to capture live terminal command output.
Freeze suits developers and technical writers who need to embed code examples or terminal sessions in blogs, documentation, or presentations. The tool's interactive mode provides an accessible way to experiment with styling options without memorizing command-line flags, and configuration files allow settings to be saved and reused across projects. The interactive TUI and extensive customization options make it practical for users who want fine-grained control over appearance without leaving the terminal.
The project maintains active development with regular updates to its build pipeline and test coverage. The codebase demonstrates consistent attention to output quality, as evidenced by maintained golden test files for visual regression testing across multiple output formats. Development activity shows responsiveness to the tool's core functionality, with ongoing refinement of both the command-line interface and the interactive customization experience.