Run ruby code to generate signed URLs

Hi guys,

I need help with the following.
I’m trying to allow my users to generate signed urls. I have the Ruby code to generate the urls but was wondering how to let the users run it inside my Bubble app.

Here’s the documentation: https://github.com/yongfook/bannerbear-signed-url-examples

Anyone has done this before or could help me out?
Thanks a lot!

Anyone? :slight_smile:

Are you trying to run authentication and time limits on a URL?

What’s your use case?
I’ll try to help you.

You can easily do both the above natively with bubble since bubble can’t run ruby.

1 Like

Hi Chris,
Thanks for trying to help.
The usecase is synchronous image generation using signed URL’s. (Documentation is here)
I want the ruby code to run after user click a button and I wan’t the ruby code to take values from Bubble variables…

I think the easiest way is by creating an API to run the code somewhere else but then it is not “instant”.

Thanks in advance for your help :slight_smile:

There is a Node.js script that you can use in your custom plugin:

What @lottemint.md said I’d agree with.

Use the custom plugin route and create the plugin with node.

1 Like