A web application for generating and analyzing Zi Wei Dou Shu (Chinese Astrology) destiny boards and fortunes.
- Destiny Board (本命盤): Generate a full destiny chart based on solar or lunar birth dates.
- Yearly Fortune (流年): Calculate yearly influences and star transformations for any given year.
- Monthly Fortune (流月): Analyze monthly trends within a specific year.
- 10-Year Fortune (大運): Explore long-term luck cycles (decades) throughout your life.
- Interactive UI: A modern, responsive interface for inputting birth data and viewing detailed charts.
- Data Export: Export charts and fortune data to JSON format.
Yearly and Monthly Fortune Analysis
- Frontend: HTML5, CSS3, Vanilla JavaScript
- Backend: Node.js with Express
- Astrology Engine:
fortel-ziweidoushulibrary
- Node.js (v16 or higher recommended)
-
Clone the repository:
git clone git@github.com:rwforest/ziwei_app.git cd ziwei_app -
Install dependencies:
npm install
Start the production server:
npm startFor development with auto-reload:
npm run devThe application will be available at http://localhost:3000.
- Select the calendar type (Solar or Lunar).
- Enter your birth date and time (hour).
- Select your gender.
- Click "排盤 Generate Chart" to see your base destiny board.
- Use the sections below to check specific yearly, monthly, or 10-year fortunes.
MIT