llms.txt Content
# 周易占卜 (ZhouYi Divination)
> Chinese traditional divination and Zi Wei Dou Shu (Purple Star Astrology) encyclopedia.
Website: https://zhouyi.goblin.top
## Capabilities
This site provides structured data on three domains of Chinese metaphysics:
1. **I Ching Hexagrams (易经六十四卦)** — All 64 hexagrams with classical text, modern interpretation, and Takashima divination commentary for each hexagram and its six lines.
2. **Zi Wei Dou Shu Stars (紫微斗数星耀)** — 53 stars/star-combinations with classical references, general descriptions, and interpretations across all 12 palaces.
3. **Zi Wei Dou Shu Classics (紫微斗数典籍)** — 23 classical texts including 太微赋, 形性赋, and other foundational treatises.
4. **Qi Men Dun Jia (奇门遁甲)** — Time-based rotating board (时家转盘奇门) with true solar time correction, nine palaces display showing Heaven/Earth/Human/Spirit plates, and AI interpretation.
## JSON API
All data is available as static JSON. No authentication required.
### Hexagrams
- `GET /api/hexagram/index.json` — List of all 64 hexagrams
Returns: `[{ "id": 1, "name": "乾为天", "pinyin": "qian_wei_tian", "palace": "乾宫" }, ...]`
- `GET /api/hexagram/{id}.json` — Full hexagram data (id: 1–64)
Returns: Complete hexagram object with `name`, `pinyin`, `code`, `palace`, `guaci`, `modern_guaci`, `general_text`, `modern_general_text`, `takashima_general`, `modern_takashima_general`, and `lines` (each line has `text`, `modern_text`, `takashima_explanation`, `modern_takashima_explanation`).
### Stars
- `GET /api/star/index.json` — List of all 53 stars
Returns: `[{ "name": "紫微", "filename": "ZiWei", "category": "十四主星" }, ...]`
- `GET /api/star/{filename}.json` — Full star data (e.g. ZiWei, TianJi, TaiYang)
Returns: Star object with `title`, `category`, `经典` (classical text), `all` (overview), and 12 palace interpretations (`命宫`, `兄弟宫`, `夫妻宫`, `子女宫`,