A lightweight, beautiful web application designed to provide spiritual guidance and motivation through ancient wisdom from Bhagavad Gita and Ramayana.
- Ancient Wisdom Quotes: Inspirational verses from Bhagavad Gita and Ramayana
- Morning Thoughts: Uplifting messages tailored for Data Engineers
- Beautiful Imagery: Calming, inspirational visuals
- LocalStorage Caching: Quick access - works offline after first load
- Mobile-First Design: Perfect for quick phone access
- Time-Based Greetings: Personalized greetings based on time of day
- Zero Dependencies: Single HTML file, no build process needed
- Download
spiritual-compass.html - Double-click to open in your browser
- Bookmark the page for quick access
- Add to home screen on mobile for app-like experience
- Create a new GitHub repository (e.g.,
spiritual-compass) - Upload
spiritual-compass.html - Rename it to
index.html - Go to Settings → Pages
- Select "main" branch and save
- Your site will be live at
https://yourusername.github.io/spiritual-compass
- Go to netlify.com
- Drag and drop the
spiritual-compass.htmlfile (rename toindex.htmlfirst) - Get instant URL like
https://your-site-name.netlify.app - Free SSL certificate included
- Go to vercel.com
- Import project or upload file
- Deploy with one click
- Get URL like
https://your-project.vercel.app
- Upload to Google Drive
- Right-click → Share → Get link
- Make sure it's set to "Anyone with the link can view"
- Open on any device
- Open the website in Safari
- Tap the Share button (square with arrow)
- Scroll and tap "Add to Home Screen"
- Name it "Spiritual Compass"
- Tap "Add"
- Open the website in Chrome
- Tap the menu (three dots)
- Tap "Add to Home screen"
- Name it "Spiritual Compass"
- Tap "Add"
The app stores:
- Last Quote: So you see the same quote when you revisit (until you refresh)
- Last Image: Cached for quick loading
- Visit History: Tracks your spiritual journey
All data is stored in your browser - nothing is sent to any server. It's completely private and works offline after the first load.
Edit the bhagavadGitaQuotes or ramayanaQuotes arrays in the JavaScript section:
const bhagavadGitaQuotes = [
{
text: "Your custom quote here",
reference: "Chapter X, Verse Y",
source: "Bhagavad Gita"
},
// Add more...
];Modify the CSS variables at the top of the <style> section:
:root {
--primary: #8B4513; /* Main brown color */
--secondary: #D4A574; /* Light tan */
--accent: #FF6B35; /* Orange accent */
--bg-light: #FFF8F0; /* Background */
}Replace the SVG placeholder images with real image URLs:
const inspirationalImages = [
{
url: "https://your-image-url.com/sunrise.jpg",
title: "Sunrise",
message: "Your custom message"
}
];Note: For offline functionality, use base64-encoded images or host images on a CDN.
- Size: ~15KB (ultra-lightweight!)
- Dependencies: None - pure HTML/CSS/JavaScript
- Browser Support: All modern browsers (Chrome, Firefox, Safari, Edge)
- Mobile Optimized: Responsive design works on all screen sizes
- Offline Ready: Works after first load thanks to LocalStorage
- No Backend: 100% client-side, no server needed
- Morning Ritual: Open first thing in the morning for daily inspiration
- During Confusion: Quick access when feeling lost or depressed
- Before Important Work: Read a quote before starting data engineering tasks
- Bookmark It: Keep it one tap away on your phone
- Share It: Send the link to friends who might need spiritual guidance
This app is designed with love and understanding for those moments when the mind fluctuates and the path seems unclear. As a Data Engineer, your work requires focus and clarity - this tool helps you return to center when you need it most.
- 10+ Bhagavad Gita verses: On karma, dharma, mind control, and self-realization
- 8+ Ramayana teachings: On truth, patience, duty, and inner strength
- 7+ Morning thoughts: Tailored for engineers and seekers
- Add audio readings of quotes
- Include meditation timer
- Add more scriptures (Upanishads, Vedas)
- Daily quote notifications
- Journal feature to track thoughts
- Sanskrit transliterations
Free to use, modify, and share. May this bring peace to all who seek it.
"You have the right to work, but never to the fruit of work."
- Bhagavad Gita 2.47
This app was created to serve as a lighthouse when the fog of confusion rolls in. Your journey is sacred, and you're never alone on the path.
ॐ शान्तिः शान्तिः शान्तिः
Om Shanti Shanti Shanti
(Peace, Peace, Peace)