Thirukkural

A serverless app that sent one Thirukkural couplet a day. No longer hosted; the code is on GitHub.

2025. Built with Angular, AWS CDK, Lambda, DynamoDB, Cognito, EventBridge, SES, CloudFront.

Source

The Thirukkural is a classic of Tamil literature with 1,330 couplets. I wanted a quick way to read and search it, and to get one couplet a day.

The app was fully serverless, with all infrastructure defined in TypeScript using the AWS CDK. It is no longer hosted, but the source is on GitHub.

  • Angular on S3 behind CloudFront, with every couplet and chapter page pre-rendered.
  • Node.js on Lambda and API Gateway, with DynamoDB in a single-table design.
  • Sign-in through Cognito with Google.
  • EventBridge triggered a daily email through SES, and web push (VAPID) delivered the day’s couplet at 8 AM, no account needed.
  • It installed as a PWA and worked offline, with Vitest tests for both the code and the infrastructure.

It started in 2022 as a single Lambda function and grew from there.

All projects