Jay Guru Dev - Shakahari Sadachari Bal Sangh - Balak Saptahik Patrika is a spiritual web platform dedicated to sharing the teachings of Baba Jai Gurudev. It serves as a digital "Patrika" (magazine) offering bilingual spiritual articles, satsang videos, and resources for millions of followers worldwide.
This project is a modern, high-performance static website built to deliver spiritual content effectively across all devices. It features a devotional "Glassmorphism" aesthetic, seamless bilingual support (Hindi/English), and accessibility tools like Text-to-Speech.
Target Audience: Devotees, spiritual seekers, and the vegetarian community.
The project adheres to a "Vanilla" philosophy for maximum performance, longevity, and ease of maintenance.
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Styling: Custom CSS with CSS Variables, Flexbox, Grid, and Glassmorphism effects.
- Logic: Pure Vanilla JS (No frameworks like React or Vue).
- Build Tools: Python 3 (for static content generation).
- Deployment: GitHub Pages (Custom Domain: satsangvachansatsangseva.online).
satsang_vachan_satsang_seva/
โโโ assets/ # Static assets
โ โโโ styles.css # Global styles, variables, and themes
โ โโโ script.js # Core application logic (UI, TTS, Media)
โโโ content/ # Raw content source
โ โโโ input.md # Markdown source for new issues
โ โโโ video_script.md # Video production scripts
โโโ issues/ # Generated static pages
โ โโโ index.html # Archive/Listing of all issues
โ โโโ [date]/index.html # Individual issue pages
โโโ tools/ # Automation scripts
โ โโโ generate_issue.py # Python script to compile MD -> HTML
โโโ index.html # Main Landing Page
โโโ videos.html # Dedicated Video Gallery
โโโ latestUpdate.md # Changelog and update tracking
โโโ project_structure.md # Detailed documentation of file relationships
โโโ CNAME # Custom domain configuration
- ๐จ Devotional Glassmorphism UI: A serene, modern interface featuring deep purple gradients, gold accents, and frosted glass effects to create a spiritual ambiance.
- ๐ฎ๐ณ/๐ฌ๐ง Bilingual Toggle: Instantly switch content visibility between Hindi and English or view both side-by-side.
- ๐ฃ๏ธ Text-to-Speech (TTS): Integrated Web Speech API reader with customizable rate, pitch, and voice selection for accessibility.
- ๐ฅ Optimized Video Player: Custom-built YouTube embeds with:
- Lazy loading (thumbnail first).
- Auto-pause logic (stops other videos when one plays).
- JSON-LD VideoObject Schema injection for SEO.
- Devotional "Play" button styling.
- โก High Performance:
- Zero external JS dependencies.
- Lazy loading for all images and iframes.
- Minimal DOM footprint.
- ๐ Instant Search: Client-side real-time search with text highlighting.
- ๐ฑ Fully Responsive: "Mobile-First" design using CSS Grid/Flexbox to ensure perfect rendering on phones, tablets, and desktops.
Since this is a static site, setup is incredibly simple.
- A modern web browser (Chrome, Firefox, Edge, Safari).
- (Optional) Python 3.x if you intend to generate new issue pages.
- Clone the repository:
git clone https://github.com/YourUsername/satsang_vachan_satsang_seva.git cd satsang_vachan_satsang_seva - Serve the files:
- VS Code: Install the "Live Server" extension and click "Go Live".
- Python: Run
python3 -m http.server 8000and openhttp://localhost:8000.
To create a new "Patrika" issue from Markdown:
- Edit
content/input.mdwith your article content (supports custom tags like[body_hi],[body_en]). - Run the generator script:
python3 tools/generate_issue.py
- The new HTML page will be generated in the
issues/directory.
The site is configured for GitHub Pages.
- Branch:
main - Custom Domain:
satsangvachansatsangseva.online - Configuration: The
CNAMEfile in the root ensures traffic is correctly routed.
To deploy changes, simply push to the main branch:
git add .
git commit -m "Update content"
git push origin main- SEO: Extensive use of Semantic HTML (
<article>,<section>,<nav>), Meta tags, and JSON-LD Structured Data for videos. - Accessibility: ARIA labels for interactive elements, keyboard navigation support, and high-contrast text.
- Efficiency:
loading="lazy"on all media.- Debounced search input to prevent layout thrashing.
- Event delegation for handling dynamic content.
- PWA Support: Add a Service Worker and Manifest for offline reading.
- Backend Integration: Transition to a CMS for easier content management without Git.
- Newsletter: Email subscription integration.
- Dark/Light Mode: Toggle for reading preference (currently optimized for Dark Devotional theme).
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
Distributed under the MIT License. See LICENSE for more information.
Spiritual inspiration for a better life.