Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, winget 安装 bash-snippets

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bash-snippets

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#bash-snippets

nixpkgs package indexes · pkgs/by-name/ba/bash-snippets/package.nix · 来源: api.github.com

Windows

Windows Package Manager已验证 · 92%
winget install --id TheCryptTeam.Crypt -e

Windows Package Manager source index · TheCryptTeam.Crypt · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Collection of small bash scripts for heavy terminal users

命令和别名

  • bak2dvd
  • bash-snippets
  • cloudup
  • crypt
  • cryptocurrency
  • currency
  • geo
  • lyrics
  • meme
  • movies
  • newton
  • qrify
  • short
  • siteciphers
  • stocks
  • taste
  • transfer
  • ytview

历史

项目历史与用法

bash-snippets is a collection of small Bash scripts for terminal-heavy users. Its package-manager identity is a grab bag of shell conveniences: install once, get many tiny commands for weather-like lookups, media, crypto, QR codes, GitHub gists, file transfer, and other everyday terminal tasks.

项目历史

The official README presents Bash-Snippets as a dependency-light collection of small Bash scripts tested on macOS and Linux, with some Windows 10 testing in the official developer Bash instance. The project ships many independent commands, including `crypt`, `currency`, `geo`, `gist`, `lyrics`, `meme`, `movies`, `newton`, `qrify`, `stocks`, `transfer`, and `ytview`.

The project is community-script shaped rather than framework shaped. The README includes per-tool sections, screenshots, author credits for individual tools, and a maintainer note asking for help, which is typical for a useful personal toolkit that grew into a packaged collection.

采用历史

Adoption is visible mainly through packaging and the number of bundled commands. The batch input lists Homebrew and Nix packages, and also notes a Winget mapping for the `crypt` tool. That split reflects how individual snippets can become useful enough to travel separately from the original collection.

The repository's tag list shows a long v1.x series, indicating incremental releases rather than a single one-off script dump.

使用方式

Users install the package to put the bundled scripts on PATH, then call the individual commands directly. The README documents examples such as encrypting and decrypting files with `crypt`, converting currencies with `currency`, managing GitHub gists with `gist`, generating QR codes with `qrify`, and uploading files with `transfer`.

The `gist` tool is the notable credentials surface: its official guide uses `~/.config/gist.conf` for GitHub-related configuration, so that file is both configuration and credential-bearing state.

为什么软件包爱好者会关心

bash-snippets is not historically central like Bash itself, but it is package-nerd significant as a specimen of the shell-script bundle. Package managers turn a loose collection of personal productivity scripts into a repeatable installable toolset, while also surfacing the maintenance risk of API-backed scripts whose external services can change.

It also captures a particular era of command-line culture: small Bash wrappers over web APIs, clipboard-friendly transformations, and terminal toys packaged as serious conveniences.

时间线

  • 2010s: Bash-Snippets develops as a multi-command Bash toolkit for terminal users.
  • 2010s: v1.0.0 and subsequent v1.x tags establish release packaging.
  • 2020s: Homebrew and Nix package the collection; Winget maps the `crypt` tool separately.

Related projects

  • Related projects are the tools and services wrapped by the snippets: OpenSSL for `crypt`, GitHub Gist for `gist`, transfer.sh-style upload workflows, QR generation services, and other small Unix command-line helpers.

来源

  • Official README describes Bash-Snippets as small Bash scripts for heavy terminal users with no dependencies.
  • Official README documents macOS/Linux testing, partial Windows testing, bundled tools, examples, and maintainer note.
  • Official gist README documents `~/.config/gist.conf` usage.
  • Official tag list shows a v1.x release series.
  • input.source_facts.package-manager lists Homebrew, Nix, and Winget package mappings.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/gist.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/gist.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bak2dvdcli全局可执行文件
bash-snippetscli全局可执行文件
cloudupcli全局可执行文件
cryptcli全局可执行文件
cryptocurrencycli全局可执行文件
currencycli全局可执行文件
geocli全局可执行文件
lyricscli全局可执行文件
memecli全局可执行文件
moviescli全局可执行文件
newtoncli全局可执行文件
qrifycli全局可执行文件
shortcli全局可执行文件
sitecipherscli全局可执行文件
stockscli全局可执行文件
tastecli全局可执行文件
transfercli全局可执行文件
ytviewcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.23.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.23.0

https://github.com/alexanderepstein/Bash-Snippets

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:bash-snippets
版本1.23.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bash-snippets
主页https://github.com/alexanderepstein/Bash-Snippets
仓库https://github.com/alexanderepstein/Bash-Snippets
上游文档https://github.com/alexanderepstein/Bash-Snippets#readme
许可证MIT
源码归档https://github.com/alexanderepstein/Bash-Snippets/archive/refs/tags/v1.23.0.tar.gz
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebash-snippets
Version Scheme0
Revision0
Conflicts With
  • cheat
  • expect
  • pwned
  • todoman
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

bash-snippets

nix profile install nixpkgs#bash-snippets
  • normalized package name match
  • 匹配方式:Bash Snippets
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ba/bash-snippets/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Nix92%

geo

nix profile install nixpkgs#geo
  • installed executable or alias match
  • 匹配方式:Geo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ge/geo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget92%

TheCryptTeam.Crypt

winget install --id TheCryptTeam.Crypt -e
  • installed executable or alias match
  • 匹配方式:Crypt
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: TheCryptTeam.Crypt from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment