GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - AbizarDholkawala/Happy-Diwali: An aesthetic Diwali greeting experience featuring glowing diyas, music & shareable links.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
music
music
 
 
public
public
 
 
src
src
 
 
.firebaserc
.firebaserc
 
 
.gitignore
.gitignore
 
 
.oxlintrc.json
.oxlintrc.json
 
 
README.md
README.md
 
 
firebase.json
firebase.json
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
vite.config.js
vite.config.js
 
 

Repository files navigation

šŸŖ” Shubh Deepawali Digital Diya Greeting Experience

A modern, contest-grade interactive Diwali digital greeting web application. Create, customize, and share personalized Diwali greetings with glowing digital diyas, festive music, firecrackers, and shareable links with zero database setup.

Live Demo React Vite Firebase


✨ Features

  • šŸŽ Interactive 3D Surprise Gift Box Unboxing:

    • When opening a shared greeting link, recipients are greeted by an interactive, glowing 3D festive gift box with a satin ribbon bow and anticipation wobble (Duolingo quest reward style).
    • Tapping or clicking the box bursts confetti and fireworks, smoothly unlocks background audio across iOS and Android, and reveals the personalized greeting card.
    • Creators can choose from 4 distinct festive gift box designs (Ruby Square, Emerald Hamper, Saffron Round, and Prem Heart).
  • šŸŽØ 3-Step Interactive Greeting Builder:

    • Names: Enter the recipient's name and optional sender signature.
    • Heartfelt Wishes: Write your own custom message or choose from curated quick Diwali presets.
    • Festive Customization: Choose between 4 distinct Diya styles (Classic Clay, Ornate Festival, Modern Minimalist, Lotus Petal), 4 surprise gift box styles, adjust diya counts (1 to 7), and select from 4 atmospheric background themes (Ethereal Glow, Festive Red, Celestial Blue, Garden Green).
  • šŸ”— Zero-Database URL Sharing:

    • Entire greetings are compressed into URL query strings (?g=...) using LZ-String + URL-safe Base64 encoding.
    • Instant sharing via Instagram (copies link & opens Instagram), WhatsApp, X, and the Native Mobile Share Sheet (navigator.share).
    • No database, no logins, and zero tracking — permanent and lightweight.
  • šŸŽ† Interactive & Ambient Firecrackers:

    • Touch & Click Explosions: Tap or click anywhere on the screen (Android, iOS, or PC) to spawn multi-colored sparklers with dynamic physics.
    • Ambient Rockets & Finale Fireworks: Atmospheric fireworks burst gracefully in the background.
    • Interactive Love Note: Floating blended transparent badge "Show some love by tapping the screen" with a one-time golden shimmer that reacts to taps.
  • šŸŽµ Festive Diwali Music Player:

    • Compact gold vinyl & diya SVG music pill in the lower right.
    • PC Hover Animation: Automatically expands on hover to display currently playing song, equalizer, and play/pause controls; clicking opens the full diwali music drawer.
    • Slide-out side drawer with playback controls: Play, Pause, Seamless Loop, Previous, Next, Volume Slider, and interactive track scrubber.
    • 5 Curated Festive Tracks:
      1. Divine Bansuri (1:31)
      2. Soulful Sitar (2:20)
      3. Temple Dawn (2:08)
      4. Festive Joy (2:39)
      5. Deepavali Aarti (4:44)
    • Mobile Compliant: Direct touchend user-activation compliance for seamless unmuted playback on Android and iOS.
    • Web Audio Raga Synthesizer Fallback: Built-in procedural Tanpura and Bansuri synthesizer that generates authentic Indian classical raga ambient music offline if audio files are unavailable.
  • šŸ“ø High-Resolution PNG Card Download:

    • Client-side pure HTML5 Canvas export generating 1080Ɨ1350 (4:5 portrait) greeting cards ready for Instagram stories, WhatsApp statuses, and print.
    • Guaranteed typographic spacing, centered diya lighting, and decorative borders.
  • šŸ“± Mobile-First Responsive Design:

    • Built to fit within 1 screen frame at 100% zoom with zero awkward vertical scrollbars on initial load.
    • Deep OLED dark background (#0A0A0F) with golden amber glow and shimmering glassmorphism.

šŸ› ļø Tech Stack

  • Framework: React 19
  • Bundler & Dev Server: Vite 8
  • Icons: Lucide React
  • Compression: LZ-String
  • Styling: Modern Vanilla CSS (CSS Grid, Flexbox, Custom Properties, Glassmorphism)
  • Graphics & Audio: HTML5 2D Canvas API + Web Audio API
  • Hosting: Firebase Hosting (Google Edge CDN)

šŸ“ Project Structure

Diwali/
ā”œā”€ā”€ public/
│   ā”œā”€ā”€ audio/              # Preloaded MP3 audio tracks (1.mp3 - 5.mp3)
│   └── favicon.svg         # Golden diya SVG favicon
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ components/
│   │   ā”œā”€ā”€ BokehBackground.jsx      # Ambient glowing festival particles
│   │   ā”œā”€ā”€ DiyaSVG.jsx              # Vector diya models with flame animations
│   │   ā”œā”€ā”€ FirecrackerEffects.jsx   # Touch-activated & ambient fireworks engine
│   │   ā”œā”€ā”€ GiftBoxReveal.jsx        # 3D interactive surprise gift box with ribbon & unboxing
│   │   ā”œā”€ā”€ GreetingView.jsx         # Cinematic shared greeting view
│   │   ā”œā”€ā”€ MusicPlayer.jsx          # Floating pill & slide-out side music drawer
│   │   ā”œā”€ā”€ PreviewModal.jsx         # Zoomable, fixed-size card preview dialog
│   │   ā”œā”€ā”€ RangoliSVG.jsx           # Sacred geometric festive floor patterns
│   │   └── ShareModal.jsx           # Share modal with WhatsApp, links & PNG export
│   ā”œā”€ā”€ utils/
│   │   ā”œā”€ā”€ audioEngine.js           # Audio controller & procedural raga synth
│   │   ā”œā”€ā”€ canvasCard.js            # Pure Canvas 1080x1350 PNG export engine
│   │   └── codec.js                 # URL greeting compression / decompression
│   ā”œā”€ā”€ App.jsx                      # Main controller (Creator & Greeting router)
│   ā”œā”€ā”€ index.css                    # Ethereal Glow theme & responsive design system
│   └── main.jsx                     # Application entry point
ā”œā”€ā”€ firebase.json                    # Firebase SPA rewrite & header configuration
ā”œā”€ā”€ vite.config.js                   # Vite config with HTTP range audio streaming
└── package.json

šŸš€ Getting Started

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/AbizarDholkawala/Happy-Diwali.git
    cd Happy-Diwali
  2. Install dependencies:

    npm install
  3. Start the local development server:

    npm run dev

    Open your browser at http://localhost:5173 (or the port indicated in your terminal).

  4. Build for production:

    npm run build

🌐 Deployment (Firebase Hosting)

  1. Install Firebase CLI:

    npm install -g firebase-tools
  2. Login to Firebase:

    firebase login
  3. Deploy:

    npm run build
    firebase deploy --only hosting

šŸ“„ License

This project is open-source and available under the MIT License.


Wishing you and your family a joyous, prosperous, and bright Deepavali! šŸŖ”āœØ

About

An aesthetic Diwali greeting experience featuring glowing diyas, music & shareable links.

shubhdeepawali.web.app

Topics

diwalifireworksgreetingmusic-playershareable-links

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.