Scaffold out an Alfred workflow
$ npm install --global generator-alfred
With yo:
$ yo alfred
MIT © Sam Verschueren
Scaffold out an Alfred workflow
License: MIT License
Scaffold out an Alfred workflow
$ npm install --global generator-alfred
With yo:
$ yo alfred
MIT © Sam Verschueren
Hi, thanks for this repo.
Would appreciate some docs.
It's my first time creating an Alfred Workflow, got here through Alfy, but I didn't get how to create the actual workflow and connect it to the generated code?
Ran into an issue due to this referencing a version of Alfy that doesn't support Alfred 4. I updated my package.json to use alfy 0.9.1
to fix my issues:
$ npx alfy-init
Error: Command failed: alfred-link
Error: Alfred preferences not found at location /Users/josh/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist
at /Users/josh/git/joshstrange/<removed>/node_modules/resolve-alfred-prefs/index.js:15:10
at /Users/josh/git/joshstrange/<removed>/node_modules/execa/index.js:201:11
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: 1,
killed: false,
stdout: '',
stderr: 'Error: Alfred preferences not found at location /Users/josh/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist\n' +
' at /Users/josh/git/joshstrange/<removed>/node_modules/resolve-alfred-prefs/index.js:15:10\n',
failed: true,
signal: null,
cmd: 'alfred-link',
timedOut: false
}
Maybe we should ship the generated workflow with a custom icon? Maybe a scaled down version of the alfy icon?
Thanks for maintaining this library :)
alfy
becames ESM on 0.12.0.
I'd like to suggest updating the version of alfy
and adding type: module
to package.json of template.
And I think it might be better to add latest-version instead of adding specific version of alfy
I am quite new to node.js and javascript. I had the same issue with alfy. Can anyone help solve this?
Thank you for any help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.