A beautiful, offline-capable Nepali Patro (Bikram Sambat calendar) web app built as a Progressive Web App (PWA).
- 📅 Full Nepali BS calendar (2080–2086 supported)
- 🌙 Dark / Light mode (persisted across sessions)
- 🌐 English ↔ नेपाली instant language toggle
- 🇳🇵 25+ official Nepal public holidays highlighted in red
- 🌙 Approximate Tithi (lunar day) shown on date tap
- 📌 Add & persist custom events (pink-highlighted dates)
- ⏳ Next 29 days & Previous 29 days panels (holidays + events combined)
- 📆 Month picker — tap month name to jump to any month/year
- 📲 Installable as a PWA — works fully offline
- 💾 Dark mode, language & events all saved in
localStorage
vikram-calendar/
├── index.html # Main app (HTML + CSS + JS, single file)
├── manifest.json # PWA web app manifest
├── sw.js # Service worker (offline / cache-first)
├── icons/
│ ├── icon-192.png # Home screen icon (Android)
│ ├── icon-512.png # Splash screen icon (Android)
│ ├── apple-touch-icon.png # Home screen icon (iOS)
│ ├── favicon-32.png # Browser tab favicon
│ └── favicon-16.png # Browser tab favicon (small)
├── .nojekyll # Disables Jekyll on GitHub Pages
└── README.md # This file
- Open the site in Chrome → tap "Add to Home Screen" banner or ⋮ menu → "Install app"
- Open the site in Safari → tap Share ⎙ → "Add to Home Screen"
Just open index.html in any modern browser. For PWA features (service worker, install prompt) you need HTTPS or localhost:
# Python built-in server
python3 -m http.server 8080
# Then open http://localhost:8080MIT — free to use, modify and distribute.