Renhuai123/ziwei-doushu
Repository · https://github.com/renhuai123/ziwei-doushu
紫微斗数开源排盘引擎 — 基于倪海厦《天纪》体系,含完整排盘算法、四化系统、格局知识库、古籍原文数据
First seen by Oriel on .
AI summary
ziwei-doushu is an open-source Zi Wei Dou Shu chart engine and knowledge base, paired with a v4.0 interpretation dataset of 674,976 charts and 8,774,688 deterministic interpretation segments.
- The TypeScript engine supports true solar time correction, China’s 1986–1991 daylight-saving intervals, configurable leap-month and late-Zi-hour rules, transformations, flying stars, and more than 1,100 pattern rules.
- The v4.0 dataset covers real birth dates from 1950–2026 and contains 13 interpretation dimensions per chart; it is 161 MB compressed and 56.6 GB uncompressed.
- Interpretations are generated deterministically without AI, but the dataset does not include birthplace-based true solar time correction or age-adjusted website text.
- The repository includes a runnable demo, but its interpretation library, AI prompts, backend APIs, user system, and commercial interface are not open source.
- Code is MIT-licensed and datasets are CC BY 4.0 with attribution; the collection of Ni Haixia’s quotations is CC BY-NC-SA 4.0 and cannot be used commercially.
#typescript #astronomy #open datasets #traditional chinese astrology
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Stars
Total repository stars at each observation.
- GitHub Trending: 13,653, latest observation ; +7,104 over observed period since
Stars gained (1d)
Daily star gain reported by GitHub Trending. A change compares two daily values; it is not additional stars between observations.
- GitHub Trending: 941, latest observation ; +394 over observed period since
Forks
Total repository forks at each observation.
- GitHub Trending: 2,640, latest observation ; +1,296 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| GitHub Trending | renhuai123/ziwei-doushu | https://github.com/Renhuai123/ziwei-doushu Read discussion |