Day & Night Singapore Β· UTC+8
Pancha Angas Five Limbs
Rashi Signs
Muhurtas Auspicious & Inauspicious Timings
Grahas Planetary Positions Β· Sidereal
Special Yogas Today Auspicious combinations
Lagna Chart North Indian Β· Diamond Style
Planet Positions Sidereal Β· Lahiri Ayanamsa
| Planet | Rashi | Degree | State | |
|---|---|---|---|---|
| Loading planetary positions⦠| ||||
Active Yogas
Current Ghati & Pal Live since sunrise
Vedic Calendar Current cycle
| Samvatsara60-year cycle | Krodhi |
| AyanaSolar half-year | Uttarayana |
| RituSeason | Grishma (Summer) |
| MasaLunar month | Vaishakha |
| PakshaFortnight | Shukla (Waxing) |
| Vikram SamvatEra | 2083 |
| Shaka SamvatEra | 1948 |
Gregorian β Vedic Converter Date conversion
Conversion uses Amanta system with sunrise reckoning. Tithi at chosen date's sunrise.
Tithi Progress Pratipada
Tithi length varies with the Moon's instantaneous angular speed relative to the Sun β from ~20 to 27 hours. Anchored at local sunrise.
System Architecture
End-to-end view of how a date + lat/lon request flows from the user, through the API gateway and compute layer, down to public-domain ephemeris sources, and back as a Panchang JSON document.
Request & Data FlowUser β Frontend β API β Compute β Sources
Tech StackLayer by layer
Component Treesrc/
apps/web/ βββ routes/ β βββ Today.tsx # Panchang dashboard β βββ Detail.tsx # Tithi / Nakshatra detail β βββ Calendar.tsx # Monthly festivals β βββ Kundali.tsx # Lagna chart β βββ Search.tsx βββ components/ β βββ PanchaAngas.tsx # 5-limbs card β βββ DayArc.tsx # Sun/moon arc SVG β βββ MuhurtaGrid.tsx β βββ PlanetStrip.tsx β βββ NorthChart.tsx # Diamond SVG β βββ FestivalCard.tsx βββ lib/ β βββ api.ts # typed client β βββ geo.ts # geolocation + tz β βββ i18n.ts # sa/hi/en/ta/te/ml βββ main.tsx services/compute/ βββ engine.py # orchestrator βββ panchang/ β βββ tithi.py β βββ nakshatra.py β βββ yoga.py β βββ karana.py β βββ muhurta.py βββ astro/ β βββ swisseph_wrapper.py β βββ sunrise.py # USNO SPA β βββ ayanamsa.py # Lahiri default βββ festivals/ βββ rules.json βββ resolver.py
Data Pipeline & Computation
Every value rendered in the Panchang tab is computed at request time from four open sources. No commercial almanac text is ingested β only longitudes, sunrise times, and public-domain rules.
- Role
- Primary source for Sun & Moon ecliptic longitudes, planetary positions, ayanamsa.
- License
- AGPL / Open-source mode
- Access
pyswissephbinding Β· binary.se1files on local disk- Cadence
- Sub-millisecond at request time
- Output
- Ξ»_sun, Ξ»_moon (sidereal, Lahiri), planet longitudes & speeds
- Role
- Cross-validation of planetary positions; high-precision DE441 ephemeris reference.
- License
- U.S. Govt Β· Public domain
- Access
- REST API Β· batched nightly for next 30 days
- Cadence
- Nightly cron Β· cached
- Output
- RA/Dec β ecliptic Ξ»/Ξ² Β· used to flag SE drift > 0.01Β°
- Role
- Local sunrise, sunset, twilight times β anchor for tithi/nakshatra at sunrise.
- License
- U.S. Govt Β· Public domain
- Access
- Re-implemented from published SPA paper (Reda & Andreas, NREL)
- Cadence
- Computed per request from lat/lon/date
- Output
- Sunrise, sunset, solar noon, civil twilight
- Role
- Julian Date conversion, ΞT, Lahiri ayanamsa, lunar phase calculation.
- License
- Public-domain formulas
- Access
- Implemented inline in
astro/meeus.py - Cadence
- Inline at request time
- Output
- JD β Gregorian, ΞT correction, ayanamsa offset
Computation RulesStandard open formulas
engine.py Β· main loopPseudocode
Ingestion & CronDaily 00:30 UTC pre-warm
Database Schema
PostgreSQL 16 β normalised reference tables for tithi/nakshatra/yoga/karana, a wide panchang_day fact table for fast dashboard reads, and a rules-based festival_rules resolver. PostGIS for location.
API & Sample Responses
REST Β· OpenAPI 3.1 Β· all timestamps ISO-8601 in UTC with local-offset preserved. Click any endpoint to expand its parameter table and a sample JSON response.
Style Guide
Traditional Panchangam palette grounded in saffron, maroon, and gold β softened on a parchment background. Cormorant Garamond for headings, DM Sans for UI, JetBrains Mono for numerals, Tiro Devanagari for vernacular text.