Renhuai123/ziwei-doushu
紫微斗数开源排盘引擎 — 基于倪海夏《天纪》体系,含完整排盘算法、四化系统、格局知识库、古籍原文数据 observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 89
- Release rhythm 51
- Longevity 8
Flags: young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 124
- days_rel: 118
- days_push: 70
- n_releases_24m: 1
Adoption not part of the score
3707 stars · 794 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An open-source Zi Wei Dou Shu (Purple Star Astrology) chart calculation engine based on Ni Haixia's Tianji system, written in TypeScript with a Next.js frontend. It includes complete charting algorithms, the Si Hua flying-star system, a pattern knowledge base, classical text data, and a 518,400-sample chart dataset for AI fine-tuning and RAG.
Use cases
- generate a zi wei dou shu natal chart from a birth date and time
- fine-tune a small language model on fortune-telling input-output pairs
- build a RAG retrieval source for Chinese astrology chatbots
- compare chart pattern rules after modifying the patterns knowledge base
- research purple star astrology chart combinations statistically
- read and search classical zi wei dou shu texts
- compare two people's charts for relationship analysis
When to choose
- you need a programmatic Zi Wei Dou Shu charting engine with a permissive MIT license
- you want a large labeled chart dataset for LLM fine-tuning or RAG
- you want to build a Chinese astrology web app on Next.js
When to avoid
- you need Western astrology or BaZi-only charting
- you need the hosted AI interpretation prompts, backend APIs, or user/payment systems, which are not open-sourced
- you need a non-TypeScript/JavaScript implementation
Facets
library · maturity active
data-science nlp rag data-generation sdk artificial-intelligence education tutorials cross-platform zi-wei-dou-shu chinese-astrology divination fortune-telling bazi nextjs dataset chart-generation classical-texts natural-language-processing typescript nodejs web-server
2 sources
- readme: https://github.com/Renhuai123/ziwei-doushu · fetched 2026-08-28 · b313542ef2c2
- homepage: https://metisziwei.com/ · fetched 2026-08-29 · b6764dc36cc7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Renhuai123/ziwei-doushu | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="Renhuai123/ziwei-doushu")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem