TypeScript · React · Vite · swisseph-wasm · PWA

PyJHora Web — a Vedic astrology desktop library, ported to the browser

An offline-capable web port of PyJHora, a Python/PyQt astrology library, built on the Swiss Ephemeris compiled to WebAssembly.

View project ↗

Context

PyJHora is a Python/PyQt desktop library implementing the calculations from Vedic Astrology – An Integrated Approach: panchanga, divisional charts, dozens of dasha systems and yogas, all on the Swiss Ephemeris. It only runs as a local Python install.

Problem

Putting it on the web meant either a server round-trip for every calculation or giving up offline use.

What I built

An AI-assisted port of the calculation engine to TypeScript that runs fully client-side. The Swiss Ephemeris is compiled to WebAssembly (swisseph-wasm) rather than reimplemented, so the astronomy stays exact. The panchanga, chart and dasha logic runs in a React/Vite PWA that installs and works offline.

Outcome

Live at the link above; the original library is at github.com/AmitPhulera/pyjhora. It was an experiment in how far an AI-driven port of a large, unfamiliar codebase can go, so some edges are still rough.