macOS
brew install codesnaplocal Homebrew formula metadata
安装
brew install codesnaplocal Homebrew formula metadata
nix profile install nixpkgs#codesnapnixpkgs package indexes · pkgs/by-name/co/codesnap/package.nix · 来源: api.github.com
sudo pacman -S codesnapArch Linux sync databases · codesnap · 来源: geo.mirror.pkgbuild.com
scoop install extras/codesnapScoop official bucket manifest trees · bucket/codesnap.json · 来源: api.github.com
概览
Generates code snapshots in various formats
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
codesnap | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/codesnap-rs/codesnap
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/codesnap来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.