Tools › Other › ziwei-doushu

ziwei-doushu

Open-source Purple Star astrology engine with 674,976 birth charts

📦 Other ★ 18.6k +87 this week Beginner

What it is

An open-source engine and knowledge base for Zi Wei Dou Shu (Purple Star astrology), based on Ni Haixia's Tian Ji system, with full charting algorithms, the four-transformation system and classical text data. Aimed at astrology enthusiasts and developers building chart-reading products.

How it works

Turns a birth date, hour and place into a full chart, correcting for true solar time and China's 1986–1991 daylight saving years. Ships a deterministic data set of 674,976 charts (every date from 1950 to 2026) with 13 written readings each, generated from fixed rules rather than a model so output is reproducible. It is a plain web app: clone, npm install, npm run dev; a test suite checks 768 charts against the rules on every push.

Use cases

  • Build a chart-reading website or app on top of the open engine and data set.
  • Use the deterministic chart outputs as ground truth for testing astrology features.
  • Generate reference readings for research or content about Purple Star astrology.
  • Power an astrology API or bot that returns consistent results for any birthday.

💰 Business opportunities

  • Launch a freemium hosted reading service while the engine and knowledge base stay open.
  • Sell API access or bulk chart generation to app developers in the astrology niche.
  • Create localized content or courses built on the CC BY 4.0 data set with attribution.

Featured in 1 video

Top 10 GitHub Repos This Week | Nov 2 – Nov 8 | Agents Get a Workplace

Full Stack · 2026-11-09

Similar tools

yoinks

Terminal video downloader with no shady ads

📦 Other ★ 7.2k +10 wk TypeScript

Roadmap.sh

Interactive roadmaps for developer skills and career paths

🎓 Education & Learning ★ 372.3k +61 wk TypeScript

OpenCode

Open-source AI coding agent you can customize and self-host

🛠️ Coding & Developer Tools ★ 227.6k +247 wk TypeScript

Excalidraw

Infinite hand-drawn-style whiteboard you can embed anywhere

🎨 Design, Media & Content ★ 135.9k +51 wk TypeScript

paperclip

Org chart, budgets and review stages for your agent workforce

🤖 AI Agents & Assistants ★ 114.6k +201 wk TypeScript

Bun

Fast all-in-one JavaScript runtime and toolkit

🌐 Web & App Development ★ 96.7k +10 wk Rust