Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, pacman, scoop 安装 codesnap

查看 codesnap 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install codesnap

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#codesnap

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

Arch Linux pacman已验证 · 92%
sudo pacman -S codesnap

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

Windows

Scoop已验证 · 92%
scoop install extras/codesnap

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

概览

软件包摘要

Generates code snapshots in various formats

命令和别名

  • codesnap

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
codesnapcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.13.4
管理器更新时间2026-06-15
本地数据OK
上游当前
检测到的最新版本v0.13.4

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:codesnap
版本0.13.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/codesnap
主页https://codesnap-docs.netlify.app/
仓库https://github.com/codesnap-rs/codesnap
上游文档https://codesnap-docs.netlify.app/
许可证MIT
源码归档https://github.com/codesnap-rs/codesnap/archive/refs/tags/v0.13.4.tar.gz
最后更新2026-06-15T10:20:13-04:00
Pulseupdated
构建依赖pkgconf, rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

codesnap

nix profile install nixpkgs#codesnap
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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