<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tirth Doshi</title>
    <description>The latest articles on DEV Community by Tirth Doshi (@tirth_doshi_632aa87519d0c).</description>
    <link>https://dev.to/tirth_doshi_632aa87519d0c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4254549%2Fb5f8aa71-79c3-497d-845c-b92784fc36b9.jpg</url>
      <title>DEV Community: Tirth Doshi</title>
      <link>https://dev.to/tirth_doshi_632aa87519d0c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tirth_doshi_632aa87519d0c"/>
    <language>en</language>
    <item>
      <title>How We Built 24 Zero-Login Browser-Based Vedic Astrology Calculators in Pure JavaScript</title>
      <dc:creator>Tirth Doshi</dc:creator>
      <pubDate>Thu, 19 Nov 2026 22:17:46 +0000</pubDate>
      <link>https://dev.to/tirth_doshi_632aa87519d0c/how-we-built-24-zero-login-browser-based-vedic-astrology-calculators-in-pure-javascript-3e3h</link>
      <guid>https://dev.to/tirth_doshi_632aa87519d0c/how-we-built-24-zero-login-browser-based-vedic-astrology-calculators-in-pure-javascript-3e3h</guid>
      <description>&lt;p&gt;Most online Vedic astrology (Jyotish) tools require account sign-ups, route every birth chart through slow PHP backends, and default to generic approximations.&lt;/p&gt;

&lt;p&gt;At &lt;a href="https://www.tantricastro.com/" rel="noopener noreferrer"&gt;Tantric Astro&lt;/a&gt;, we rebuilt our entire suite of &lt;strong&gt;24 classical Jyotish calculators&lt;/strong&gt; to run 100% client-side in the browser with zero login and sub-100ms computation:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live Calculator Suite:&lt;/strong&gt; &lt;a href="https://www.tantricastro.com/calculators/" rel="noopener noreferrer"&gt;https://www.tantricastro.com/calculators/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Sidereal Ephemeris &amp;amp; True Citrapaksa Ayanamsa
&lt;/h2&gt;

&lt;p&gt;Western tropical calculators stop at geocentric tropical longitudes. Classical Jyotish requires subtracting the exact sidereal ayanamsa (precession offset) anchored to Spica (Chitra) at 180 degrees. We standardize all 24 tools on &lt;strong&gt;True Citrapaksa (Lahiri) ayanamsa&lt;/strong&gt;, ensuring sign boundaries, Nakshatra padas, and high-harmonic divisional charts stay consistent across every calculation.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Brihat Parashara Hora Shastra (BPHS) Divisional Chart Math
&lt;/h2&gt;

&lt;p&gt;In classical Parashari astrology, divisional charts (Vargas) subdivide each 30-degree zodiac sign into &lt;em&gt;N&lt;/em&gt; equal or uneven parts and map them to derived signs.&lt;/p&gt;

&lt;p&gt;For example, the &lt;strong&gt;D9 Navamsa&lt;/strong&gt; (9th harmonic, 3 degrees 20 minutes per pada) follows the BPHS Ch. 6 triad rule:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Movable signs (Aries, Cancer, Libra, Capricorn): count from the sign itself&lt;/li&gt;
&lt;li&gt;Fixed signs (Taurus, Leo, Scorpio, Aquarius): count from the 9th sign from it&lt;/li&gt;
&lt;li&gt;Dual signs (Gemini, Virgo, Sagittarius, Pisces): count from the 5th sign from it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We implemented deterministic pure-JS engines for all major Shodashavarga charts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.tantricastro.com/d3-chart-calculator/" rel="noopener noreferrer"&gt;D3 Drekkana Calculator&lt;/a&gt; (Parashara, Jagannatha, and Somnath variants)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.tantricastro.com/navamsa-d9-calculator/" rel="noopener noreferrer"&gt;D9 Navamsa Calculator&lt;/a&gt; (with Vargottama and Pushkara Navamsa detection)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.tantricastro.com/d10-chart-calculator/" rel="noopener noreferrer"&gt;D10 Dasamsa Calculator&lt;/a&gt; (career &amp;amp; Dashadikpala deities)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.tantricastro.com/d20-chart-calculator/" rel="noopener noreferrer"&gt;D20 Vimsamsa&lt;/a&gt;, &lt;a href="https://www.tantricastro.com/d24-chart-calculator/" rel="noopener noreferrer"&gt;D24 Siddhamsa&lt;/a&gt;, and &lt;a href="https://www.tantricastro.com/d60-chart-calculator/" rel="noopener noreferrer"&gt;D60 Shashtiamsa&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Jaimini Chara Karakas &amp;amp; Rahu Degree Inversion
&lt;/h2&gt;

&lt;p&gt;Unlike Parashari astrology, &lt;strong&gt;Jaimini Upadesha Sutras&lt;/strong&gt; ranks planets purely by their degrees within a sign (ignoring the sign index) to assign temporal significators (Atmakaraka, Amatyakaraka, Darakaraka).&lt;/p&gt;

&lt;p&gt;One subtle edge case many software implementations get wrong: because the lunar node &lt;strong&gt;Rahu&lt;/strong&gt; moves retrograde, its effective degree for the 8-Karaka scheme is inverted (&lt;code&gt;30 - degree_in_sign&lt;/code&gt;). We built dedicated browser tools for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.tantricastro.com/atmakaraka-calculator/" rel="noopener noreferrer"&gt;Atmakaraka Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.tantricastro.com/darakaraka-calculator/" rel="noopener noreferrer"&gt;Darakaraka Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.tantricastro.com/arudha-lagna-calculator/" rel="noopener noreferrer"&gt;Arudha Lagna &amp;amp; Upapada Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.tantricastro.com/ishta-devata-calculator/" rel="noopener noreferrer"&gt;Ishta Devata Calculator&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  4. Performance: Client-Side Zero-Backend Architecture
&lt;/h2&gt;

&lt;p&gt;Running astronomical calculations in vanilla JS with pre-indexed city timezone lookups cuts Time to First Byte (TTFB) and eliminates server bottlenecks during traffic spikes.&lt;/p&gt;

&lt;p&gt;You can explore the live calculator hub at &lt;a href="https://www.tantricastro.com/calculators/" rel="noopener noreferrer"&gt;tantricastro.com/calculators&lt;/a&gt;, browse the &lt;a href="https://www.tantricastro.com/blog/" rel="noopener noreferrer"&gt;complete Jyotish library&lt;/a&gt;, or read &lt;a href="https://www.tantricastro.com/what-is-tantric-astrology/" rel="noopener noreferrer"&gt;What Is Tantric Astrology?&lt;/a&gt; for the classical context behind these tools.&lt;/p&gt;

&lt;p&gt;Source directory on GitHub: &lt;a href="https://github.com/Tirthdoshi/tantric-astro-calculators" rel="noopener noreferrer"&gt;Tirthdoshi/tantric-astro-calculators&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
    </item>
  </channel>
</rss>
