Platypus is a developer tool that creates native Mac applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs. This is done by wrapping the script in a macOS application bundle along with an executable binary that runs the script.
Platypus makes it easy for you to share your scripts with people unfamiliar with the command line interface, without programming for the macOS APIs — with a few clicks you can create your own native Mac application. Creating installers, maintenance applications, login items, launchers, automations and droplets is very easy using Platypus.
- Supports shell scripts, Perl, Python, PHP, Ruby, Swift, Expect, Tcl, AppleScript or any other user-specified interpreter
- Can execute scripts with root privileges via the Security Framework
- Can display graphical feedback of script execution as progress bar, text window with script output, droplet, WebKit HTML rendering or status item menu
- Supports dragging and dropping files or text snippets on the app, which are then passed to the script as arguments
- Can create applications that are handlers for URI schemes
- Can create applications that run in the background (LSUIElement)
- Set own application icon or select from presets
- Set app's associated file types, identifier, version, author, etc.
- Graphical interface for bundling support files with script
- Command line tool for automation or integration into a build process
- "Profiles" can be used to save configurations
- Built-in script editor, or linking with external editor of choice
- Extensive documentation and many built-in examples to help you get started
Platypus is free, open-source software distributed under the terms of the three-clause BSD license. It is written in Objective C/Cocoa. The source code is available on GitHub.
If Platypus makes your life easier, please make a donation to support continued development.
The latest version is Platypus 5.2, released on March 3rd 2017. Platypus and Platypus-generated applications require Mac OS X 10.7 or later, and are 64-bit Intel binaries.
If you want to target 10.6 and/or 32-bit systems, version 4.9 continues to work just fine. If you want to target 10.4 and PowerPC, you can use version 4.4.
For help with development, you can subscribe to the Platypus Developer Mailing List and send in your query, or maybe give the documentation a once-over again.