Bhairav Aaradhyaa
Full-stack spiritual tech platform with dual payments and Puppeteer SEO

Bhairav Aaradhyaa is a spiritual tech platform I built from scratch to make Bhairava worship accessible to practitioners across India and the world. The frontend acts as the single source of truth for all spiritual content: 65 Bhairava divine forms with mantras, iconography, and philosophical significance, 45 Sanskrit stotras with transliterations and translations, 35 shastra stories, 23 articles, and 19 tattva deep-dives on spiritual philosophy.
The core challenge was handling two completely different payment ecosystems within a unified checkout. Indian users pay in INR through Instamojo, and international users pay in GBP through Stripe. The backend uses MaxMind GeoIP detection to route users to the correct payment gateway automatically. Both gateways verify payments through webhook signatures: HMAC-SHA256 for Stripe and SHA1 MAC for Instamojo.
The japa (mantra counting) feature works offline-first. Users can track mantras without internet, and the counter syncs sessions to the backend when connectivity returns. It includes streak gamification, achievement badges, and session statistics like average bead speed.
The life purpose questionnaire runs a 6-step scoring algorithm across 3 dimensions and recommends a personalised Bhairava form with a confidence score. Users who pay get access to a full sadhana tracker for 11, 40, or 90-day practice journeys with daily completion logging.
SEO was the hardest problem. Since the frontend is a single-page React app, search engines could not index any content. I built a Puppeteer-based pre-rendering pipeline that launches headless Chrome, navigates to each of the 192 routes, waits for React to render fully, and saves the resulting HTML as static files. Google indexing went from 0 pages to full coverage.
The backend runs Express 5 with TypeScript strict mode, Prisma ORM on Neon.tech serverless PostgreSQL, Firebase Admin SDK for authentication, and Brevo for transactional emails with custom HTML templates.
Key Features
- 65 Bhairava forms with mantras, iconography, and philosophy
- 45 Sanskrit stotras with transliterations and translations
- Dual payment processing with geo-based routing (Stripe + Instamojo)
- Puppeteer pre-rendering pipeline for 192 pages
- Offline-first japa counter with streak gamification
- Life purpose questionnaire algorithm with confidence scoring
- Sadhana tracker for 11/40/90-day practice journeys
- Firebase Auth with Google OAuth support
- GDPR-compliant data export and account deletion
Tech Stack
Next project
ContentForge