appsmith
appsmith copied to clipboard
[Feature] Import Custom JS libraries into Appsmith
Summary
Import additional JS libraries that I can use. Creating this issue as a placeholder
- Support CDN based and JS SDK
List of library support requested by users
- jsPDF
- https://www.npmjs.com/package/node-forge
- firebase-admin
- segment library
- https://github.com/digitalbazaar/forge
- firebase-auth
- JsonPath
- supabase js client for authentication and signup flows.
- mParticle
- Amplitude
- Datadog
- mathjax
- Danfo JS
- CryptoJS
- UZip
- JWT
- ESRI js
- axios
Please mention the library you would like to use with Appsmith using this feature.
A great reason why this feature is really important instead of us supporting different functions within the platform https://github.com/lodash/lodash/issues/5130#issuecomment-840494799
+1 for this request I'd like to be able to import custom JS library in the header I am trying to create a PDF label from custom data but I don't think it's possible as of now unless I can import jsPDF library.
A user has a need for node forge to be added. @hetunandu for the time being can we quickly add this to our list of default libs? https://www.npmjs.com/package/node-forge
A user has a need for node forge to be added. @hetunandu for the time being can we quickly add this to our list of default libs? https://www.npmjs.com/package/node-forge
Yes, it would be great to have a custom import for this 'node-forge' library for authentication workflows.
@Nikhil-Nandagopal Is there a way to add such libraries from the UI ?
@anvaynk we're currently working on the ability to add it from the UI. For now we're simply adding libraries on a case by case basis.
Sounds good. Thanks!
Waiting to get this feature out. Any update?
@vishalvijay we are working to launch this. Could you tell us the libraries you'd like to use? We can include them for you
Another user reported wanting to add firebase admin
Another user has requested this feature
PlaySimple would like to integrate the segment library using this feature
in a self hosted environment , how can I import libraries?
@morandalex unfortunately there is no way to do this right now. We will be working on this feature in Q1 of next year
+1 For this. My need is to add the crypto library for generating secure random tokens inside the application
@R-Peleg we have forge included which has some functions to generate secure tokens. Does this work for you? You can use it as {{forge.sha256.create().update("test").digest().toHex()}} This is the documentation for the library https://github.com/digitalbazaar/forge
A user wants to add https://ably.com
I'm using Supabase... but without the ability to import the supabase JS library.. it becomes a glorified cloud-hosted postgres instance.... so what's the point of using supabase instead of just hosting my own postgres instance anymore?
@paulochang exact same situation here. I'm not even sure that it's possible to authenticate with Supabase without using their lib..
One of the users on discord wanted to use https://github.com/nextapps-de/winbox inside Appsmith which needs this feature and also support for custom CSS addition as some libraries also need that.
https://discord.com/channels/725602949748752515/725609493974614076/922053078042165278
I'd be keen to add in https://unpkg.com/mqtt/dist/mqtt.min.js for MQTT communication via WebSockets.
An alternative solution would be some kind of WebSocket data source.
We have a request to send encrypted and signed messages to a persistent database and can only be done with a specific library. If we can somehow have support on this, that would be extremely great. :)
questo interessa anche a me
We have a use case where we have image and pdf files to package into a zip folder and initiate a download. If we could import libraries like JSZip, that would be great help for us. Especially with the new JS Editor on appsmith. Thanks! My use case at this moment involves only public JS libraries.
I need to install the AWS SDK so I can write custom data sources, using the JS Object feature in Appsmith.
I would like to build my own self-hosted AWS Management Console replacement, using Appsmith, since the AWS Management Console UI is terrible.
Appsmith looks really slick! Just learned about it a few moments ago and spun it up with Docker Compose, in seconds. ššš
It's currently impossible to communicate to any Google service which requires a signed JWT from a service account. This means it's impossible to consume API endpoints, cloud functions, etc. that are protected by an IAM service account.
The first step to solving this is being able to generate a signed JWT using a service account private key which means there's a need to import a third-party library for support. I'm sure there's more required - but this feature at least starts the process.
I'm using Supabase... but without the ability to import the supabase JS library.. it becomes a glorified cloud-hosted postgres instance.... so what's the point of using supabase instead of just hosting my own postgres instance anymore?
Yeah @Rishabh-Rathod , there are a lot of no-code/low-code backends platforms (perfect to pair with appsmith) that have their own js SDK.
Might it be easier to allow import of js lib from CDN instead of "installing"?
Hey folks! thank you for your attention on this issue. We're still wrapping up our current JS Editor which was a massive project but we'll be picking this up right after that!
Iām waiting to use this