Automic VaultAutomic Vault

brew

Install codesnap with Homebrew, Nix, pacman, scoop

Generates code snapshots in various formats. Version 0.13.4 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install codesnap

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#codesnap

nixpkgs package indexes · pkgs/by-name/co/codesnap/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S codesnap

Arch Linux sync databases · codesnap · source: geo.mirror.pkgbuild.com

Windows

Scoopverified · 92%
scoop install extras/codesnap

Scoop official bucket manifest trees · bucket/codesnap.json · source: api.github.com

overview

Package summary

Generates code snapshots in various formats

Commands and aliases

  • codesnap

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020s: Project develops as a Rust CLI and library for code snapshots.
  • 2020s: README documents Cargo, Arch Linux, Nix/NixOS, and Homebrew installation paths.
  • 2026: Homebrew formula distributes CodeSnap 0.13.4.

Related projects

  • Related projects include syntect for syntax highlighting, Sublime Text syntax definitions and themes, Rust Cargo packaging, and web/editor tools that create code images for documentation or social sharing.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
codesnapcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.13.4
manager updated2026-06-15
local dataok
upstreamcurrent
latest detectedv0.13.4

https://github.com/codesnap-rs/codesnap

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:codesnap
Version0.13.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/codesnap
Homepagehttps://codesnap-docs.netlify.app/
Repositoryhttps://github.com/codesnap-rs/codesnap
Upstream docshttps://codesnap-docs.netlify.app/
LicenseMIT
Source archivehttps://github.com/codesnap-rs/codesnap/archive/refs/tags/v0.13.4.tar.gz
Last updated2026-06-15T10:20:13-04:00
Pulseupdated
Build dependenciespkgconf, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecodesnap
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

codesnap

nix profile install nixpkgs#codesnap
  • normalized package name match
  • Matched by: Codesnap
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/codesnap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

codesnap 0.13.4-1

Pure Rust tool for generating beautiful code snapshots

https://github.com/codesnap-rs/codesnap

sudo pacman -S codesnap
  • License: MIT
  • Architecture: x86_64
  • 2 dependencies
  • normalized package name match
  • Matched by: Codesnap
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: codesnap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

extras/codesnap

scoop install extras/codesnap
  • normalized package name match
  • Matched by: Codesnap
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/codesnap.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment