A template for creating Alfred Workflows with KotlinJS
-
Clone this repository
-
Build it via
./gradlew build
-
Add symlink from Alfred workflow directory to the
workflow_resources
directory- You can find out the Alfred workflow directory by righ-clicking any of the workflows you have and choosing
Open in Finder/Terminal
- You can find out the Alfred workflow directory by righ-clicking any of the workflows you have and choosing
-
At this point you should have a fully functional workflow that you can invoke via
this
keyword. It'd appendIs Awesome
to your input and would allow you to copy the result to clipboard or paste it into the frontmost application -
Now you can edit the workflow settings/details directly in Alfred
npm install -g <name>