Skip to content

🖼 This repository contains the backend AWS Lambda source code to convert .svg images into .png or .jpeg images for the front-end website hosted at https://downloademoji.dev

Notifications You must be signed in to change notification settings

xsalazar/image-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖼 Image Converter

This repository holds both the Terraform infrastructure code as well as the simple Javascript application that runs inside the AWS Lambda function.

This application code is a basic image converter service that takes in a URL to a Twemoji SVG image and will convert it out to either a .jpeg or .png image at an arbitrary size. This application leverages the sharp library for quick, high-quality conversions.

The infrastructure supporting this backend application is a simple public API Gateway that forwards valid requests to the Lambda function.

This backend application is used to support the website https://downloademoji.dev for quick and reliable downloads of high-quality emoji.

Getting Started

This repository leverages VSCode's devcontainer feature to ensure all necessary dependencies are available inside the container for development.

Application

The application code for this repository is contained in the ./app directory.

To get started:

cd app/ && npm init

All application deployments are managed via GitHub Actions and the ./.github/workflows/deploy_application.yml workflow.

Infrastructure

The infrastructure code for this repository is contained in the ./terraform directory. The required Terraform version is 1.1.2. The AWS artifacts managed in this repository are illustrated below.

To get started:

cd terraform/ && terraform init

All infrastructure deployments are managed via GitHub Actions and the ./.github/workflows/deploy_infrastructure.yml workflow.

About

🖼 This repository contains the backend AWS Lambda source code to convert .svg images into .png or .jpeg images for the front-end website hosted at https://downloademoji.dev

Topics

Resources

Stars

Watchers

Forks

Sponsor this project