sindresorhus / alfy

Create Alfred workflows with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage with bun?

MartinMalinda opened this issue · comments

First of all, I'm loving Alfy so far ❤️

So there's this new awesome new runtime Bun: https://github.com/Jarred-Sumner/bun. And I'm thinking that Alfred workflows would be really nice to run in it - fast boot will make the UX even nicer and Bun also has some nice shortcuts to work with files, requests and so on.

So I'm wondering if there's a way to make that work? Could the node workflow be reused somehow?

You could specify the interpreter in the Script Filter directly.

But as I know current Bun does not fully support the Node.js things. See oven-sh/bun#159.