Freeze: Generate Stunning Images of Code and Terminal Output

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Freeze: Generate Stunning Images of Code and Terminal Output

Summary

Freeze is a powerful command-line tool developed by Charmbracelet that allows users to generate beautiful images of code snippets and terminal output. It supports various output formats like PNG, SVG, and WebP, and offers extensive customization options for themes, fonts, and window styles. This makes Freeze an excellent utility for creating high-quality visuals for documentation, presentations, or social media.

Repository Information

Analyzed by OSRepos on November 14, 2025

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

Freeze, a powerful command-line tool from Charmbracelet, empowers developers to effortlessly generate stunning images of code snippets and terminal output. Whether you need to create visuals for documentation, presentations, or social media, Freeze provides a highly customizable solution. It supports various output formats including PNG, SVG, and WebP, ensuring flexibility for different use cases. With features like syntax highlighting, interactive mode, and extensive styling options, Freeze makes capturing and sharing your code and terminal interactions both simple and visually appealing.

Installation

Getting started with Freeze is straightforward. You can install it using popular package managers or directly from source:

  • macOS or Linux (Homebrew):
    brew install charmbracelet/tap/freeze
    
  • Arch Linux (yay):
    yay -S freeze
    
  • Nix:
    nix-env -iA nixpkgs.charm-freeze
    
  • Go:
    go install github.com/charmbracelet/freeze@latest
    
  • Direct Download: Packages in Debian and RPM formats, as well as binaries for Linux, macOS, and Windows, are available on the official releases page.

Examples

Freeze offers simple commands to generate images of both code and terminal output.

Generate an image of code

To capture a code file, simply pass it as an argument:

freeze artichoke.hs -o artichoke.png

Generate an image of terminal output

You can also capture the ANSI output of any terminal command using the --execute flag:

freeze --execute "eza -lah"

Freeze is highly customizable, allowing you to adjust themes, fonts, borders, shadows, and more, either through command-line flags or an interactive TUI.

Why Use Freeze?

Freeze stands out as an essential tool for several reasons:

  • High-Quality Visuals: Create professional-looking images of your code and terminal sessions, perfect for blogs, tutorials, and presentations.
  • Extensive Customization: Tailor every aspect of your screenshots, including syntax highlighting themes, font families and sizes, line numbers, window controls, background colors, borders, padding, margin, and shadows.
  • Interactive Mode: Easily configure your desired styles with an intuitive interactive terminal user interface (TUI), which saves your preferences for future use.
  • Multiple Output Formats: Export your images as SVG, PNG, or WebP, providing flexibility for different platforms and needs.
  • Capture Terminal Output: Beyond static code, Freeze can execute commands and capture their ANSI output, making it ideal for demonstrating CLI tools.
  • TUI Screenshot Integration: Seamlessly integrate with tmux to capture complex terminal user interfaces, showcasing interactive applications with ease.
  • Open Source: Being an open-source project from Charmbracelet, it benefits from community contributions and transparency.

Links

Related repositories

Similar repositories that may be relevant next.

Declarative Agents: Profile-Driven LLM Agent Runtime in Go

Declarative Agents: Profile-Driven LLM Agent Runtime in Go

September 13, 2026

Declarative Agents by Nokia Bell Labs offers a profile-driven runtime and design patterns for building tool-augmented LLM agents. It allows defining agents, their tools, states, and transitions via YAML profiles, eliminating the need for code changes for workflow alterations. This Go-based framework promotes flexible and dependable agent development.

GoLLM AgentsDeclarative Programming
DeclarAgent: Declarative Runbook Executor for Safe AI Agent Workflows

DeclarAgent: Declarative Runbook Executor for Safe AI Agent Workflows

September 12, 2026

DeclarAgent is an innovative declarative runbook executor specifically designed for AI agents. It enables agents to validate, dry-run, and safely execute multi-step YAML workflows. This tool provides a structured, auditable, and secure way for LLM agents to interact with real CLI workflows, enhancing their operational safety and reliability.

GoAI AgentsAutomation
tunnel-client: Securely Connect Private MCP Servers to OpenAI Services

tunnel-client: Securely Connect Private MCP Servers to OpenAI Services

September 2, 2026

The `tunnel-client` is an OpenAI-developed client that enables secure connections between private or localhost Model Context Protocol (MCP) servers and OpenAI services like ChatGPT, Codex, and AgentKit. It allows developers to integrate their internal MCP servers without exposing them to the public internet, ensuring enhanced security and operational control. This tool is ideal for scenarios requiring secure access from private networks to OpenAI's powerful AI models.

GoOpenAIChatGPT
deja-vu: Retroactive Memory for AI Coding Agents

deja-vu: Retroactive Memory for AI Coding Agents

September 2, 2026

deja-vu is a powerful local-first tool that provides retroactive memory for AI coding agents, indexing past coding sessions from various agents, even those from before installation. This Go binary allows agents to recall relevant information without needing an LLM or embeddings by default. It enhances agent performance by providing context at the point of action, preventing repeated mistakes and improving efficiency.

GoAI Coding AgentsAgent Memory

Source repository

Open the original repository on GitHub.

22 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️