command-line utility for managing default applications on macOS https://github.com/NoahKamara/Urigami
  • Swift 97.3%
  • Shell 2.7%
Find a file
2025-01-31 19:39:48 +01:00
.github/workflows chore: update build ci 2025-01-31 19:39:48 +01:00
Sources fix: handle missing CFBundleURLName 2025-01-31 15:19:57 +01:00
.gitignore Initial Commit 2025-01-26 21:15:49 +01:00
.swiftformat chore: add swiftformat & format 2025-01-27 01:46:53 +01:00
build.sh chore: add build script 2025-01-26 23:35:13 +01:00
LICENSE Initial commit 2025-01-26 21:14:29 +01:00
Package.resolved feat: init 2025-01-26 21:15:49 +01:00
Package.swift chore: add swiftformat & format 2025-01-27 01:46:53 +01:00
README.md feat: add hints for more detail 2025-01-27 01:10:25 +01:00
release.sh chore: update release script 2025-01-27 19:14:11 +01:00

Urigami

Urigami is a command-line utility for managing default applications on macOS. It allows you to get information about installed applications, find default apps for specific file types or URIs, and set default applications.

Installation

Homebrew

brew install noahkamara/homebrew-tap/urigami

Build

./build.sh # the executable will be at ./urigami

Usage

Urigami provides several subcommands:

urigami <subcommand>

Subcommands

  1. opens: Find the default app(s) for a given input
  2. appinfo: Get information about an installed application
  3. setdefault: Set the default app for a given input

Examples

Show metadata for Preview.app including

urigami appinfo Preview --uti 

Show applications that can open .png files

urigami opens .png 

Open pdf files in Arc by default

urigami setdefault .pdf Arc 

Contributing

Contributions welcome!