Skip to content
Back

Is a Node.js package that downloads binaries possible/allowed on Appwrite Cloud?

  • 0
  • Functions
  • Cloud
memoonlite
30 Apr, 2024, 18:34

Hello everyone! πŸ‘‹

I'm thinking of adding text to a photo using a cloud function on Appwrite Cloud. I found NPM package called node-canvas:

https://www.npmjs.com/package/canvas

The description states that binaries will be download for macOS, Linux and Windows. I was wondering: Is it possible/allowed to use this package on Appwrite Cloud?

(Please note that I haven't tried to add this package yet, because I thought it's better to hear everyone's thoughts on this first. 😊)

I'm not a huge fan of the fact that it uses binaries actually. I was wondering how Appwrite Cloud deals with this and if I'll run into problems, since I don't have access to the underlaying operating system.

TL;DR
Developers are wondering if they can use the node-canvas NPM package, which downloads binaries for macOS, Linux, and Windows, on Appwrite Cloud to add text to images. They are concerned about potential issues with using binaries on the platform due to lack of access to the underlying operating system. Solution: Appwrite Cloud does not allow downloading binaries, so using this package may not be compatible. Consider alternative solutions that do not rely on downloading binaries.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more