Jose Lara
Lara Vision

Follow

Lara Vision

Follow
Generating media content on the fly

Generating media content on the fly

Jose Lara's photo
Jose Lara
·Jan 26, 2023·

2 min read

A significant component of my project involves creating media content for the user. This includes various formats suitable for Instagram stories, formatted for optimal display on social media platforms, and even sets of images that can be shared as a series.

The system utilizes Puppeteer to interact with a web browser and process HTML pages, generating PNG or PDF outputs. It is built on the serverless framework, which enables efficient and cost-effective deployment and execution of the code through AWS Lambda.

Can it be better? Yes, always.

I am planning to conduct an experiment to explore the combination of two different technologies with the goal of increasing efficiency in the process.

I came across the Satori library while searching for a tool to create a graph image for my personal website. It offers various options for exporting the image, including SVG, PNG, and PDF. It appears to be a good choice for my needs.

I was interested in experimenting with a new language and wanted to explore the recent trend of Rust. To learn more about it, I came across a helpful blog post by Shuttle. Now, I'm planning to see what I can create using Rust.

Here are a few examples of what we need to produce. I'll be back with the code source after I finish up my Rust app to produce these on the fly for the client.

Stay tuned.

 
Share this