See the birth Nakshatra, Pada and traditional ruling planet.
How this works
The sidereal Moon longitude is divided into 27 equal segments, each containing four Padas. Birth time and correct time zone matter near boundaries.
Approximate geocentric Sun/Moon calculations using the existing Meeus-based engine and a linear Lahiri ayanamsa. Near sign/Nakshatra boundaries, verify with a precise ephemeris. This is not a full Kundli.