Digital Tiranga: Celebrating India’s Pride in the Digital Age

Adityakale
4 min readJan 31, 2025

--

link: https://host.digitaltiranga.in/

Introduction

In the era of digital transformation, patriotism has also found a new and innovative way to shine. Digital Tiranga is a unique web application designed to let users host the Indian national flag interactively and celebrate the spirit of 26th January (Republic Day) and 15th August (Independence Day) with pride.

Beyond just flag hosting, this web platform enables users to participate in quizzes, generate custom certificates, and be a part of a live counter tracking the number of people who have raised the digital Tiranga. This initiative beautifully combines technology with nationalism, making it an engaging experience for every Indian.

How Digital Tiranga Was Built

Despite being a DevOps engineer with a strong background in Python, the creator of Digital Tiranga learned HTML and JavaScript just days before starting this project. However, the passion for technology and patriotism fueled this remarkable journey.

The web application is built using:

  • Backend: Flask (Python)
  • Frontend: HTML, JavaScript
  • Hosting & Deployment: AWS (using Docker and ECS with auto-scaling)
  • Database: Local storage in the user’s browser for session management

As a DevOps professional, the developer ensured smooth deployment by containerizing the application in Docker, pushing it to Amazon Elastic Container Registry (ECR), and hosting it using Amazon ECS. DNS certificates and load balancing are handled directly via AWS ECS, ensuring high availability and performance.

Key Features & Challenges Overcome

1. Live Counter Without Page Refresh

One of the major challenges was ensuring that the live counter updates dynamically without users needing to refresh the page. This was efficiently handled using WebSockets, enabling real-time updates as users hosted the flag.

2. Preventing Repeated Flag Hosting

To maintain the integrity of the event, users are restricted from hosting the flag multiple times. This was implemented using local storage in the browser, ensuring each user gets one chance per session to participate.

3. Restricting Repeated Quiz Attempts & Certificate Downloads

Similar to the flag hosting restriction, local storage was used to prevent users from taking the quiz multiple times or re-downloading their certificates once generated.

4. Zero-Lag National Anthem Playback

To enhance the immersive experience, the national anthem Vande Mataram plays instantly when a user raises the flag. The audio file is hosted at /music/song.mp3, though slight refinements are still being worked on for seamless execution.

Application Endpoints

  • / — Main page for interactive flag hosting, quiz, and certificate generation
  • /about — Information on why Digital Tiranga was created
  • /instagram — Link to the official Instagram page
  • /music/song.mp3 — Auto-playing national anthem upon flag hoisting

Instagram: The Power of Social Media

One of the most fascinating aspects of this project is its rapid growth on Instagram. In just 2 days, the team:

  • Created 30+ posts and reels
  • Gained 150+ real followers organically
  • Reached 15,000+ digital flag hostings

To create authentic content, the team gathered videos from friends & connections encouraging participation. Additionally, they captured local vendors selling flags and used AI-generated images and videos to enhance engagement.

Project Budget: How It Was Done for Just ₹500

One of the most inspiring aspects of Digital Tiranga is its minimal budget yet massive impact. Here’s the complete cost breakdown:

  • Domain Purchase: ₹507
  • Instagram Account: ₹0
  • AWS Hosting: ₹0 (Using a free-tier AWS account, which will be surrendered post-event)

Despite such a low budget, 15,000+ people participated in flag hosting, showcasing the incredible power of social media and community engagement in India.

Conclusion: A Tech-Driven Patriotism Revolution

Digital Tiranga is an excellent example of how technology can be leveraged to foster national pride and unity. The use of Flask, JavaScript, Docker, AWS, and local storage has created a seamless and interactive experience for users, making flag hosting a memorable and shared digital celebration.

This project is open-source, and the source code is available on GitHub for developers to explore, contribute, and improve.

📢 Follow the official Instagram page and be a part of the Digital Tiranga movement! 🇮🇳🚀

GitHub & Social Links

🔗 GitHub: [Link to source code] 🔗 Instagram: [Link to Instagram page]

--

--

Adityakale
Adityakale

Written by Adityakale

Software Engineer with expertise in CI/CD, containerization, and infrastructure monitoring.

No responses yet