Published on

Using Remix Resource Routes with RemotionHow to create dynamic videos using Remix Resource Routes and Remotion

Authors

Yesterday I read a message from @kentcdodds in the Remix Discord about using a Remix Resource Route to create a dynamic video with Remotion. Since we am currently working on a project where we are createing dynamic Social Media Content I was intrigued by that idea. So I started trying it out.

Pretty fast I found a guide on the Remotion docs site on how to server render a video using their API. This looked really great since the only thing to do there was to update the code so it could be running inside a Remix Resource Route. Using the public GitHub API the needed data is fetched and then passed to the Remotion API to render the video.

The final deployed version is accessible here and you can find the code inside the GitHub Repo.