freeze: Create Images of Code and Terminal Output

Summary
Freeze turns source code and terminal output into polished PNG, SVG, or WebP images. It suits developers who need consistent visuals for documentation, tutorials, presentations, or sharing command-line results.
At a glance
- Language
- Go
- License
- MIT
- Stars
- 4.9k
- Forks
- 107
- Added to OSRepos
- November 14, 2025
- Last analyzed
- October 3, 2026
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.
Overview
Freeze is a Go command-line tool for rendering source files and terminal output as images. It helps developers create shareable, styled code and terminal screenshots without manually arranging them in an image editor.
It can read code from files or standard input, and can capture ANSI-formatted output from a command. An interactive mode and configuration files let users adjust the appearance for repeated use.
Key Features
- Render code files or standard input as images.
- Capture terminal command output with the
--executeflag. - Export PNG, SVG, and WebP images.
- Customize syntax theme, font, line numbers, background, padding, and window styling.
- Save and reuse settings through JSON configuration files.
- Adjust settings in an interactive terminal interface.
- Capture terminal UI states by piping
tmux capture-paneoutput into Freeze.
Use Cases
- Developers can create consistent code visuals for documentation and tutorials.
- Educators and technical writers can prepare readable code examples for slides or articles.
- CLI maintainers can share formatted command output in release notes or support discussions.
- Terminal UI developers can capture a chosen application state for documentation or bug reports.
Project Facts
- Language: Go
- License: MIT
- Stars: 4.9k
- Forks: 107
- Topics: none listed
- Archived: No
Getting Started
Install with Go:
go install github.com/charmbracelet/freeze@latest
For other installation options and usage details, see the README.
Alternatives
- VHS: VHS scripts and records terminal sessions as GIFs or videos, while freeze creates static images of source code or terminal output.
Considerations
Freeze is a command-line utility, so users need to be comfortable working in a terminal. Its output is intended as a visual rendering, not an editable code document. Check the README for installation options and the full list of supported customization settings.
Source repository
Open the original repository on GitHub.
22 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

e2a: Email API for Applications and AI Agents
September 29, 2026
e2a provides an email API and relay for applications and AI agents. It supports transactional sending, inbound mailboxes, and agent replies, with optional human review and hosted or Docker-based deployment.

router: Route AI Requests to the Best Model
September 28, 2026
weave-os/router is a Go proxy that routes AI requests across configured model providers, while accepting Anthropic, OpenAI, and Gemini API formats. It suits developers who want model choice and routing behind one endpoint, including agent and coding-tool users.

ksail: Create and Operate Kubernetes Clusters
September 27, 2026
KSail is a Go-based toolkit for creating and operating Kubernetes clusters across local, nested, and cloud providers. It brings provisioning, GitOps, secrets, cluster operations, and AI interfaces into one tool, for developers and platform teams who want a unified workflow.

Memoh: Give AI Agents Dedicated Cloud Computers
September 26, 2026
Memoh is a multi-agent platform that gives each agent an isolated, always-on workspace with a desktop, browser, network access, and long-term memory. Use your own API keys or host agents such as Claude Code and Codex, either in Memoh Cloud or on your own infrastructure.