Submitting a trigger
If you’d like to share your trigger with other Tuple users, you can submit it to the official directory.
Community triggers that are shown in the directory live in a GitHub repository, tupleapp/community-triggers.
Each trigger is reviewed by someone at Tuple and given our blessing.
For your trigger to be included in the directory, it must be written in either Bash, Ruby, Python, JavaScript or AppleScript. Other languages aren’t supported at this time, but we’ll gladly take suggestions – drop us an email at support@tuple.app.
As well as your trigger’s code, we need three extra things to publish it in the directory – an icon, a README, and a config.json configuration file.
This must:
assets/icon.png
(DALL·E is pretty good at generating these.)
This must:
README.md
config.json
This must be a JSON file located at config.json
containing metadata related to your trigger that we’ll show in the directory. It’s a JSON file in the following format:
{
"name": "Trigger Name",
"description": "Trigger Description",
"platforms": ["macos", "windows"],
"language": "bash"
}
It must have the following content:
Key | Type | Description |
---|---|---|
name | string | A snappy, concise name for your trigger, e.g. “Drop tables” |
description | string | A short description of what your trigger does, e.g. “Drops all your database tables in production” |
platforms | array of macos , linux , windows | The platforms your trigger will run on |
language | one of bash , python , nodejs , ruby , applescript | The scripting language your trigger is written in |
Once you’ve prepared your metadata, you’re ready to submit your trigger to us for review. To do that:
triggers
directoryFrom there, we’ll run some automated tests to make sure your trigger is valid, and then we’ll review it. If everything looks good, we’ll merge your pull request and your trigger will be published in the directory.