Skip to content

About

Event-driven AWS pipeline: uploading a text file to S3 triggers Lambda, which translates it into 7 languages with AWS Translate. Includes input validation, structured logging and error handling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Serverless File Translation System

Live Demo

🔗 Try the live demo — a lightweight version of this system deployed on Vercel for easy testing (uses a public translation API in place of AWS Translate, since Vercel doesn't run AWS infrastructure).

For more details take a look at : (https://github.com/mancitizen17/file-translator) The architecture below is what's actually deployed on AWS.

Overview

Developed a serverless application that automatically processes and translates text files using AWS S3 and AWS Lambda. The system triggers a Lambda function whenever a file is uploaded, processes the content, and stores translated outputs.

Architecture

S3 Bucket → Lambda Trigger → Text Processing → AWS Translate → Output Storage

Features

  • Event-driven architecture using AWS S3 and Lambda
  • Automatic translation of uploaded text files
  • Support for multiple target languages
  • File validation to process only .txt files
  • Structured logging and error handling for reliability

Tech Stack

  • AWS S3
  • AWS Lambda
  • AWS Translate
  • Node.js

Key Improvements

  • Added input validation to prevent invalid file processing
  • Implemented structured logging for better debugging
  • Enhanced error handling for robustness

How It Works

  1. Upload a .txt file to the S3 bucket
  2. Lambda function is triggered automatically
  3. File content is translated into multiple languages
  4. Translated files are stored in the translations/ folder

About

Event-driven AWS pipeline: uploading a text file to S3 triggers Lambda, which translates it into 7 languages with AWS Translate. Includes input validation, structured logging and error handling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages