macOS
brew install infatlocal Homebrew formula metadata
安装
brew install infatlocal Homebrew formula metadata
nix profile install nixpkgs#infatnixpkgs package indexes · pkgs/by-name/in/infat/package.nix · 来源: api.github.com
概览
Tool to set default openers for file formats and url schemes on macOS
历史
infat is a macOS-native CLI for declaratively managing file-extension, Uniform Type Identifier, and URL-scheme opener associations. It turns a Finder preference chore into a scriptable dotfiles-style command.
The project appeared publicly in 2025 and moved quickly through alpha, beta, and 1.x releases. The README describes it as a single-binary macOS-first tool built around NSWorkspace, Launch Services, and UTType, with TOML configuration for extensions, types, and schemes.
The release notes show a notable rewrite at version 3.0.0 in September 2025, moving the implementation to Rust and adding URL-scheme inspection support. The README later notes that GitHub became a mirror while development management moved to Tangled.
Adoption is narrow but natural for the Homebrew audience: infat is aimed at macOS power users, administrators, and dotfile maintainers who want repeatable default-app settings across machines. The input package metadata shows Homebrew and Nix packaging.
Users run infat info to inspect openers, infat set to bind an app to an extension, type, or URL scheme, or provide a TOML config at $XDG_CONFIG_HOME/infat/config.toml. That makes it useful in setup scripts for default browsers, editors, image viewers, mail handlers, and other app-association preferences.
infat is interesting as a small package because it wraps a very platform-specific macOS preference surface in a package-manager-friendly CLI. It sits beside older tools such as duti, but adds URL schemes and a declarative TOML workflow that fits dotfiles culture.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
infat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/philocalyst/infat
安装元数据
| 软件包键 | brew:infat |
|---|---|
| 版本 | 3.1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/infat |
| 主页 | https://github.com/philocalyst/infat |
| 仓库 | https://github.com/philocalyst/infat |
| 上游文档 | https://github.com/philocalyst/infat#readme |
| 许可证 | BlueOak-1.0.0 |
| 源码归档 | https://github.com/philocalyst/infat/archive/refs/tags/v3.1.2.tar.gz |
| 最后更新 | 2026-05-12T09:42:18+01:00 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | infat |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
infat
nix profile install nixpkgs#infat来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.