renhuai123/ziwei-doushu

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 45 minutes ago
Type:Library / SDKCategory(s):Education & Research ToolsScience & Industry
Added to GitGenius on September 16th, 2026
Created on May 1st, 2026
Open Issues & Pull Requests: 19 (+0)
GitHub issues: Enabled
Number of forks: 856
Total Stargazers: 4,172 (+0)
Total Subscribers: 20 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 45.8 hours
Mean response time: 4.5 days
90th percentile: 11.5 days
Tracked items: 21

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 18
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 98 days
Stale 30+ days: 17
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 2

Top labels

No label distribution available yet.

Detailed Description

Ziwei Doushu is an open-source chart calculation engine for Purple Star Astrology, a traditional Chinese divination system.

The project implements a complete computational system for generating and interpreting Purple Star Astrology charts based on the Tian Ji framework. It provides the core algorithms needed to calculate natal charts, including a four-transformations system that maps astrological influences, a knowledge base of chart patterns and their interpretations, and original classical text data that grounds readings in traditional sources. The engine handles the mathematical foundations that convert birth data into astrological configurations.

Developers building Chinese astrology applications or divination tools should consider this project if they need a reliable, open implementation of Purple Star Astrology calculations rather than building from scratch. The inclusion of classical text data and pattern knowledge bases distinguishes it from a bare calculation library, making it suitable for applications that aim to provide both computational accuracy and interpretive depth. The project is built in TypeScript and includes a Next.js-based homepage, suggesting it is designed for integration into web applications.

The project shows active development with regular commits addressing bug fixes, feature additions, and documentation improvements. Work spans across core calculation logic, the knowledge base system, and the web interface. The maintainer responds to issues and incorporates user feedback into updates. Development activity indicates ongoing refinement of both the computational engine and the supporting reference materials.