Szekeres Géza
Szekeres Géza
BBuildShip
Created by jamelo#2709 on 7/14/2024 in #❓・buildship-help
Hello, how do I use npm packages in buildship, how do I install them? For example, I need to use Pu
anyhow guys, I made a node that works, feel free to use or customize: import jimp from "jimp"; export default async function addImageOverlay({ imageUrl, targetWidth = 320, quality = 75, outputFormat = 'jpeg' }: NodeInputs,{logging}: NodeScriptOptions) : NodeOutput { const image = await jimp.read(imageUrl); image.resize(targetWidth, jimp.AUTO).quality(quality); const mime = image.getMIME(); const base64String = await image.getBase64Async(mime); return base64String;
} All u need is to upload the bas64 return to your storage
23 replies
BBuildShip
Created by jamelo#2709 on 7/14/2024 in #❓・buildship-help
Hello, how do I use npm packages in buildship, how do I install them? For example, I need to use Pu
same issue here.. tried with sharp first, than jimp, none of the worked, having the same error above @dbrwk did you find any solution? I'm looking for a simple thumbnailer
23 replies
BBuildShip
Created by jeevankc17 on 4/20/2024 in #💬・general
jeevankc17 - Can we able to extract all code at...
Hi Gaurav! Any updates on code soure export? Thanks, Geza
4 replies
BBuildShip
Created by Szekeres Géza on 7/3/2024 in #❓・buildship-help
Streaming assistant in Loop
@Gaurav Chadha I have updated your Streaming Assistant node, added Promise for Stream Handling and now the function assistant awaits the handleStream completion.. please check and consider update so others could use this as well:
8 replies
BBuildShip
Created by Szekeres Géza on 7/3/2024 in #❓・buildship-help
Streaming assistant in Loop
Hi @Gaurav Chadha! I am aware what is the problem, however it seems like your Streaming Assistant node returns without waiting the final result.. I've tried to use "await" before your handleStream functions but still, it should return with the node only .on("end") or .on("error").. Btw the link you sent seems to be broken. Thanks in advance!
8 replies
BBuildShip
Created by Szekeres Géza on 5/23/2024 in #❓・buildship-help
Timeout via Postman
Tried with bubble.io, giving me ESOCKETTIMEDOUT
3 replies
BBuildShip
Created by Szekeres Géza on 1/24/2024 in #❓・buildship-help
Return from a Repeat
Thank you for you answer! What is you gut-feeling about the near future? Days, weeks, months? Is there any public roadmap or backlog to see what's scheduled? The reason why I ask, because it really blocks the return and all the repeats has to be waited, which makes the runtimes static and long.. Plus you charge with running times I suppose, so it is also weird..
4 replies
BBuildShip
Created by Szekeres Géza on 1/24/2024 in #❓・buildship-help
Return from a Repeat
Basically any option for GOTO functionality would do.. any ideas anyone?
4 replies