macOS
brew install codesnaplocal Homebrew formula metadata
brew
Generates code snapshots in various formats. Version 0.13.4 via Homebrew; verified 2026-06-15.
install
brew install codesnaplocal Homebrew formula metadata
nix profile install nixpkgs#codesnapnixpkgs package indexes · pkgs/by-name/co/codesnap/package.nix · source: api.github.com
sudo pacman -S codesnapArch Linux sync databases · codesnap · source: geo.mirror.pkgbuild.com
scoop install extras/codesnapScoop official bucket manifest trees · bucket/codesnap.json · source: api.github.com
overview
Generates code snapshots in various formats
history
CodeSnap is a Rust command-line tool and library for rendering code snippets into visual snapshots such as PNG, SVG, HTML, and text-style outputs.
The project README describes CodeSnap as a pure Rust renderer that generates snapshots through a graphics engine rather than network or browser-based rendering. It provides both a CLI and a Rust library API.
Distribution has spread through Rust and system package channels: the README documents Cargo installation, precompiled binary installation, Homebrew, Nix/NixOS, and Arch Linux packaging, while source_facts also lists Scoop packaging.
Users run codesnap against a source file to generate an output image or use the Rust library builder API inside another project. The tool supports themes, line numbers, watermarks, backgrounds, scaling, breadcrumbs, clipboard integration, and multiple output formats.
For package-manager users, CodeSnap is a compact example of a modern Rust CLI that turns a social or documentation task into a local, reproducible binary. Its significance is strongest in the cross-packaging story: Cargo, Homebrew, Nix, Arch, and Scoop all make it reachable without a web app.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
codesnap | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/codesnap-rs/codesnap
install metadata
| Package key | brew:codesnap |
|---|---|
| Version | 0.13.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/codesnap |
| Homepage | https://codesnap-docs.netlify.app/ |
| Repository | https://github.com/codesnap-rs/codesnap |
| Upstream docs | https://codesnap-docs.netlify.app/ |
| License | MIT |
| Source archive | https://github.com/codesnap-rs/codesnap/archive/refs/tags/v0.13.4.tar.gz |
| Last updated | 2026-06-15T10:20:13-04:00 |
| Pulse | updated |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | codesnap |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
codesnap
nix profile install nixpkgs#codesnapcodesnap 0.13.4-1
Pure Rust tool for generating beautiful code snapshots
https://github.com/codesnap-rs/codesnap
sudo pacman -S codesnapextras/codesnap
scoop install extras/codesnapsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.