sindresorhus / xbar

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

Improved `image` and `templateImage` options #9

Open sindresorhus opened 8 years ago

sindresorhus commented 8 years ago

According to the BitBar docs those options accepts a base64 encoded image. We could be nice and handle the encoding for the user so they could either specify a Buffer or a filepath to an image.

https://github.com/matryer/bitbar#plugin-api

sindresorhus commented 8 years ago

@PedroFuentes Anything else you could think of that we could improve for the user in this module?

pedrofuentes commented 8 years ago

For the user to be able to provide a remote image (URL).

sindresorhus commented 8 years ago

Sure, we could easily do that.