Skip to content

hamen/pay

 
 

Repository files navigation

Donation Prank App

A Progressive Web App that mimics Apple Pay for prank donations.

Features

  • 🎭 Apple Pay-like UI with NFC animation
  • 💰 Donation tracking with localStorage
  • 🔊 Sound effects and haptic feedback
  • 📱 PWA support (installable on mobile)
  • 🌙 Dark theme with sparkle effects

How to Deploy to GitHub Pages

  1. Create a GitHub repository

    git init
    git add .
    git commit -m "Initial donation app"
    git branch -M main
    git remote add origin https://github.com/yourusername/donation-app.git
    git push -u origin main
  2. Enable GitHub Pages

    • Go to repository Settings → Pages
    • Source: Deploy from a branch
    • Branch: main
    • Folder: / (root)
  3. Access your PWA

    • Your app will be available at: https://yourusername.github.io/donation-app
    • HTTPS is automatically provided by GitHub Pages
    • PWA install will work properly on Android Chrome

Local Development

python3 -m http.server 8000
# Open http://localhost:8000

Files

  • index.html - Main app
  • manifest.json - PWA configuration
  • sw.js - Service worker for offline support
  • applepay.mp3 - Sound effect
  • top.png - Header background
  • icon-*.png - App icons

PWA Features

  • ✅ Manifest with proper icons
  • ✅ Service worker for offline caching
  • ✅ Standalone display mode
  • ✅ Installable on mobile devices
  • ✅ Works offline after installation

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 93.3%
  • JavaScript 6.7%