True Solar Time built in
Longitude correction and equation-of-time adjustments are integrated instead of treated as an afterthought.
@openfate/bazi-engine is the TypeScript calculation layer behind
accurate Four Pillars software: True Solar Time correction, lunar conversion,
Da Yun cycles, and branch interaction detection in one package.
Most Bazi calculators get the tricky parts wrong. This engine exists for teams that need reproducible chart output inside apps, automations, CRM tooling, research workflows, and AI analysis products.
Longitude correction and equation-of-time adjustments are integrated instead of treated as an afterthought.
Accept standard solar input or lunar dates, including leap months, without bolting on a second conversion layer.
Return pillars, day master, cycles, and interactions in JSON-ready shapes that are easy to render or hand off to AI systems.
The engine works especially well when you need deterministic calculations first and interpretation second.
Generate accurate charts inside dashboards, CRMs, or client-reporting systems.
Compare charts for matchmaking, relationship analysis, or team-fit workflows.
Feed structured chart data into your own prompt stack or reasoning pipeline.
Use explainable output for teaching, auditing, and reproducible experimentation.
This microsite is designed to be deployed directly from the repository using GitHub Pages, so the repo has a public documentation surface beyond the README.
If you want more than a landing page, the natural next step is an interactive browser demo that runs the engine directly and publishes example charts.