sindresorhus / xbar

Simplifies BitBar app plugin creation
MIT License
353 stars 16 forks source link

Improve to handle installation? #32

Open chrisspiegl opened 2 years ago

chrisspiegl commented 2 years ago

I have been using the alfy package to develop some Alfred workflows.

Now I took a look at the xbar package you created and wondered if this could be improved to also make it possible to install xbar plugins via npm similar to the way this is handled with Alfred?

I already have some ideas but thought I might ask if this is something you are interested in building / integrating.

Cheers and Happy New Year 🎆

sindresorhus commented 2 years ago

Definitely possible. You just have to make a similar thing like with Alfred (alfred-link) where the package is linked to the correct location in an npm postinstall script. It's not something I want to work on as I don't use xbar anymore, but I'm happy to recommend a solution if you or someone decides to build it.

chrisspiegl commented 2 years ago

Thanks for letting me know @sindresorhus. I may be able to port the alfred-link one over and create something that works in a similar way.

Would it be interesting to do this inside this package or would it be better to separate these two into their own packages?

I will post here if and when I get to it.

sindresorhus commented 2 years ago

Separate package.