Skip to main content
Back to trending

ziwei-doushu

Open-source Zi Wei Dou Shu charting engine — based on the system in Ni Haixia's The Book of Heaven, with complete charting algorithms, a Four Transformations system, a pattern knowledge base, and original classical-text data.

Translated from Chinese · show original

紫微斗数开源排盘引擎 — 基于倪海厦《天纪》体系,含完整排盘算法、四化系统、格局知识库、古籍原文数据

  • bazi
  • chinese-astrology
  • divination
  • fortune-telling
  • nextjs
  • open-source
  • purple-star-astrology
  • typescript
  • zi-wei-dou-shu
  • ziwei-doushu
View on GitHub
Stars
5,114
Forks
994
+ today
—
Created
6mo

Ranking data as of November 24, 2026 (UTC).

Overview

Open-source Zi Wei Dou Shu charting engine — based on the system in Ni Haixia's The Book of Heaven, with complete charting algorithms, a Four Transformations system, a pattern knowledge base, and original classical-text data.

The project is written in TypeScript and has 994 forks. It was created 6mo ago.

Installation
git clone https://github.com/Renhuai123/ziwei-doushu.git
cd ziwei-doushu
# see README for setup