macOS
brew install ainlocal Homebrew formula metadata
安装
brew install ainlocal Homebrew formula metadata
nix profile install nixpkgs#ainnixpkgs package indexes · pkgs/by-name/ai/ain/package.nix · 来源: api.github.com
概览
HTTP API client for the terminal
历史
Ain is a terminal HTTP API client that uses template files to assemble requests and then delegates the actual call to curl, wget, or httpie. The README describes it as an alternative to Postman, Paw, or Insomnia for users who prefer files, folders, scripts, and pipes.
The public GitHub repository was created in October 2020. The project is written in Go and centers on a small `.ain` template format with sections such as Host, Query, Headers, Method, Body, Config, Backend, and BackendOptions.
Ain's design goal is explicit in the README: enable scripting of input and further processing of output through terminal pipes. Rather than building its own HTTP stack as the user-facing primitive, it makes curl, wget, or httpie the backend and focuses on request organization.
Official installation instructions cover `go install`, Homebrew, Scoop, AUR binary packages, and manual downloads from GitHub releases. The input package facts also list Homebrew, MacPorts, and Nix packages.
Homebrew listed version 1.6.0 as stable and reported 107 installs over 365 days when checked, suggesting a small but packaged Unix-tool audience.
Users write one or more `.ain` template files, pass them to `ain`, optionally provide variables, and receive output from the selected backend. Templates can be layered across files and directories, making it useful for API collections that still behave like shell files.
Ain has no separate credentials store in the official README. Secrets are normally represented through template variables, environment variables, `.env`-style workflows, scripts, or headers inside user-controlled `.ain` files.
Ain is a classic package-manager-friendly CLI: a single Go executable, no service account, no desktop app, and a plain-text file format. Its appeal is to users who want API-client ergonomics without leaving the shell or losing composability with find, fzf, pipes, curl, wget, and httpie.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
*.ain可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ain | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jonaslu/ain
安装元数据
| 软件包键 | brew:ain |
|---|---|
| 版本 | 1.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ain |
| 主页 | https://github.com/jonaslu/ain |
| 仓库 | https://github.com/jonaslu/ain |
| 上游文档 | https://github.com/jonaslu/ain |
| 许可证 | MIT |
| 源码归档 | https://github.com/jonaslu/ain/archive/refs/tags/v1.6.0.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ain |
| 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 软件包链接分开显示。
ain
nix profile install nixpkgs#ainain
sudo port install ain来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.