🍺 BREW Explorer

← all formulae

infat

brew install infat v3.1.2 BlueOak-1.0.0

Tool to set default openers for file formats and url schemes on macOS

6
30-day installs · #10162
112
90-day · #5332
361
365-day · #5875
410
★ GitHub stars · updated 4mo ago

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tool to set default openers for file formats and url schemes on macOS",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:51+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "infat",
  "github_default_branch": "canonical",
  "github_last_commit_at": "2026-04-19T02:16:58Z",
  "github_readme_excerpt": "# Welcome to Infat\n\n[![Rust Version](https://badgen.net/static/Rust/2024/orange)](https://swift.org)\n[![Apple Platform](https://badgen.net/badge/icon/macOS%2013+?icon=apple\u0026label)](https://developer.apple.com/macOS)\n\n\u003e [!WARNING]\n\u003e Infat is now managed in Tangled, rather than GitHub.\n\u003e You can file issues, PR, and all the bells and whistles, [over there](https://tangled.org/did:plc:w45df32pddkw6yywbsrl5r2u/infat)\n\u003e This will remain as a mirror you can stare and share :)\n\nInfat is an ultra-powerful, macOS-native CLI tool for declaratively managing both file-type and URL-scheme associations. Avoid the hassle of navigating sub-menus to setup your default browser or image viewer, and the pain of doing that *every time* you get a new machine. Setup the rules once, and bask in your own ingenuity forevermore. Take back control, and bind your openers to whatever. You. Want. Override everything! Who\u0027s going to stop you?\n\n---\n\n## Summary\n\n- List which apps open for a given file extension or URL scheme (Like when you double click a file in Finder)\n- Set a default application for a file extension or URL scheme  \n- Load associations from a TOML config (`[extensions]` `[types]` and `[schemes]` tables)  \n- Verbose, scriptable, and ideal for power users and admins  \n\n## Get Started\n\nGet started by installing Infat \u2014 jump to the [Install](#install) section below.\n\n## Tutorial\n\n### 1. Getting association information\n\n```shell\n# Show the default app for .txt files and all registered apps\ninfat info --ext txt\n```\n\n### 2. Setting a Default Application\n\u003e [!TIP]\n\u003e These aren\u0027t strict extensions, for example, yml and yaml extensions share a common resolver.\n\n```shell\n# Use TextEdit for .md files\ninfat set TextEdit --ext md\n\n# Use VSCode for .json files\ninfat set VSCode --ext json\n```\n\n### 3. Binding a URL Scheme\n\n```shell\n# Use Mail.app for mailto: links\ninfat set Mail --scheme mailto\n```\n\n### 4. Fallback types\n\n\u003e [!TIP]\n\u003e Openers are cascading in macOS. Most common file formats will have ",
  "github_repo": "philocalyst/infat",
  "github_stars": 410,
  "github_topics": [],
  "homepage": "https://github.com/philocalyst/infat",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 6,
  "installs_365d": 361,
  "installs_90d": 112,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BlueOak-1.0.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "infat",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 10162,
  "rank_365d": 5875,
  "rank_90d": 5332,
  "raw_hash": "140900e6ab934ff2",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/i/infat.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "3.1.2",
  "versioned_formulae": [],
  "why_use_this": null
}