Skip to content

Your Alfred friendly framework, for developing Alfred workflows in TypeScript/JavaScript 🥷

License

Notifications You must be signed in to change notification settings

Avivbens/fast-alfred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Amazing Alfred Workflows! 🥷

fast-alfred - Your Alfred friendly framework, for developing Alfred workflows in TypeScript/JavaScript.


npm npm GitHub

"Buy Me A Coffee"

Installation

npm install fast-alfred

The Reason

fast-alfred lets you think about the functionality, rather than the boilerplate.

It provides you with a convenient way to manage your workflow, apply proper versioning, and bundle it into a .alfredworkflow file.

The Hard Time When Developing Alfred Workflows In Node.js

According to Alfred's official community, it is not a best-practice to include any external dependencies at installation time, so all of your code and its dependencies should be included in the workflow file.

Alfred Gallery requires you to upload a .alfredworkflow file, which is a zip archive containing all the necessary files for your workflow to run.

In order to accomplish this task, we need to bundle our code into a single file and include it in the workflow.

The Solution

fast-alfred allows you to bundle your production code into a few scripts, and include them in the workflow. All bundle options are configurable, via a .fast-alfred.config.cjs file at the root of your project.