Hello, I am new to trigger.dev and I was wondering if it is possible to run trigger.dev in a node.js script. Although I believe it may not be possible, I would like to confirm this.
Here is my idea: I have a node.js script that can translate the audio of a YouTube video to English. I have written the code in a plain JavaScript file that I want to execute on a lambda function.
I am interested in using trigger.dev to perform "long running jobs" like downloading YouTube videos, transcribing using the Whisper API, using Eleven Lab for generating audio, and using ffmpeg to combine the new audio with the video in a serverless manner.
My question is whether I can define and trigger a trigger.dev job in a node.js script or if I will need to use something like nest.js or next.js ?