
盘面是算出来的,
解读是有出处的。
本站所有盘面——八字干支、紫微星曜、黄历宜忌、行星黄经——全部由公开的历法、星历与排盘算法实时计算;所有解读文字或出自公有领域典籍原文,或来自写在代码里、可逐条查验的规则表。不凭话术,不编故事。每个结果还配一段「大白话解读」:把盘面翻译成人话,依据就是同屏的数据。
介绍页免登录;开始测算需注册/登录(手机号 + 密码)。右上角可切换 English。
Charts are computed.
Readings have sources.
Every chart on this site — Bazi pillars, Ziwei stars, almanac suitable/avoid lists, planetary longitudes — is computed live by open calendar, ephemeris and charting algorithms. Every reading either quotes public-domain classics verbatim or comes from rule tables written in the code, checkable line by line. No patter, no invented stories. Each result also carries an "In Plain Words" reading that translates the chart into everyday language, based only on the data on the same screen.
The intro is open to browse; calculators need a free account (phone + password). Switch language at the top right.
算法说明与数据出处
本站的口径:盘面 = 算法输出,零人工干预;解读 = 古籍原文或显式规则模板。以下逐模块写明来源,规则表均在本项目代码中可查。
中式命理
- 八字 / 黄历 / 择日宜忌:历法库 lunar-javascript(作者 6tail,MIT 许可证),负责农历换算、四柱干支、藏干、十神、大运、黄历宜忌、冲煞、吉神凶煞、彭祖百忌。五行分布计数口径:天干各计 1、地支藏干各计 1。晚子时(23:00 后)日柱按该库默认 sect 口径处理。
- 紫微斗数:排盘库 iztro(作者 SylarLong,MIT 许可证)输出十二宫星曜与生年四化,本站原样呈现,不做二次加工。
- 周易:经文(卦辞、爻辞)逐字录自维基文库《周易》(公有领域古籍),繁体呈现并注出处;白话简释只转述字面义与通行注疏共识,不作断言。起卦为铜钱法(通行规则):三钱之和 6 老阴、7 少阳、8 少阴、9 老阳,动爻变、取互卦,规则在代码 lib/zhouyi.js。
- 每日生肖运势:模板规则 = 当日日支与本命支的六合/三合/冲/害/刑关系 + 日干五行与本命支五行生克,规则表在 lib/calendar.js,同日同结果。
- 合婚:规则加总制(基础 50 分):生肖六合 +12、三合 +10、相冲 −12、相害/相刑 −8;日主五行相生 +8、比和 +6、相克 −4;五行互补每项 +4(封顶 +8);年柱纳音相生 +7、比和 +5、相克 −6。每一分都在结果中列明依据。
- 结婚择日:筛选规则 = 黄历宜「嫁娶」(历法库)∧ 不冲双方生肖 ∧ 非三娘煞(农历初三、初七、十三、十八、廿二、廿七,通行说法)∧ 非杨公忌(通行十三日表,与历法库佛历节日表一致,以库的判定为准);排序按当日吉神(天德、月德、天喜等)数量。结果区另给出剔除统计(按首个命中的规则计数)。
- 姓名测算(五格剖象):康熙笔画数据源为两个开源数据集交叉验证(hunterlau2020/bename 的康熙笔画数据,BSD-2-Clause;Ficere/tianji,MIT),两源一致才收录;简体字形按大陆通行口径取康熙繁体笔画(如 刘→劉 15 画)。五格公式与 81 数理吉凶用五格剖象通行规则表(与 shunshi-ai/naming-mcp 的 shuli-81 数据交叉核对),规则在 lib/wuge.js。
- 起名:候选字库为精选常用字,字的拼音与释义来自 chinese-xinhua 字典数据集(MIT),五行归属以 bename 康熙数据自带五行字段为准(各家口径不一,本站只用这一家并在此注明)。补益口径为简法:按八字五行分布的缺失/最弱元素选字,完整扶抑用神判断不在本站口径内。
西式占星
- 个人星盘:行星地心视黄经由星历库 astronomy-engine(作者 Don Cross / cosinekitty,MIT 许可证)计算;上升与天顶由地方恒星时 + 出生地经纬度按标准天球公式计算。出生城市库含中国主要城市与世界主要城市(90+,带经纬度与标准时区偏移);出生时间按出生地所在时区的标准时偏移换算为 UTC,本站不做夏令时与历史时区校正,个别日期可能与专业占星软件有数分钟级差异。
- 每日星座运势:规则 = 当日月亮落座元素 × 太阳星座元素关系 + 日月黄经差的月相阶段,模板在 lib/astro.js,同日同星座同结果。
- 星座配对:规则 = 四元素相性(同元素/火风/土水相生/异组)+ 黄道相位(同星座、六合、刑、拱、梅花、对宫、相邻)+ 同模式加分,逐项列依据加总定级,规则在 lib/astro.js。
塔罗
- 牌义:以 A. E. 韦特《The Pictorial Key to the Tarot》(1909 年,公有领域)的占卜义为底整理,白话简释只转述原义;牌图为 1909 年 Rider-Waite 公版扫描(Wikimedia Commons,公有领域),逐张核实授权后自托管。
- 抽牌:可复现的种子随机——每日一抽以「用户 + 日期」为种子(同人同日同牌);占卜抽牌以点击洗牌时生成的种子为准,种子随结果展示,可复算核查。解读 = 牌位含义 × 该牌正逆位牌义的模板组合,并展示原始牌义关键词。
大白话解读的规则(本轮新增)
每个结果区的「大白话解读」由 lib/reading.js 按下列显式规则,从同屏盘面数据组合生成;不调用任何生成式模型,不添加盘面没有的断言,不判断吉凶命运:
- 八字:总述 = 日主 + 五行计数排序(最旺/缺失);要点 = 日主五行底色、十神分组计数(天干十神 + 藏干首位,分比劫/食伤/财/官杀/印五组,各组配固定人话释义)、当前所在大运的天干十神。明确不判强弱喜忌。
- 紫微:总述 = 命宫主星组合(命宫无主星时按通行规则借对宫迁移宫,并注明)+ 命主/身主/五行局;要点 = 每颗命宫主星的固定星性释义与亮度、四化逐条落宫释义(禄=资源、科=名声、权=掌控、忌=卡点)、身宫所在宫位的领域、当前大限落宫。
- 黄历:总述 = 宜/忌条数对比 + 值神;要点 = 宜前五、忌前五、冲煞对象、吉神/凶煞计数、所在节气区间。
- 每日一卦:只做结构解读——上下卦五行生克关系 + 内(下卦)外(上卦)分工;卦辞原文照录,不另编断语。
- 生肖运势:把 12 行规则结果按基调(吉/慎/平)聚合点名,每行的完整依据仍在表中。
- 合婚:总述 = 总分与分档 + 最大加分项/最大扣分项;要点逐条复述四条规则中最高、最低与互补项的原依据。
- 择日:总述 = 扫描天数与入选数;要点 = 剔除统计(宜嫁娶/冲生肖/三娘煞/杨公忌各自剔除数)、第一名候选的吉神数与排序规则。
- 姓名测算:总述 = 五格吉凶计数 + 人格/总格评级 + 三才判定;要点 = 人格的查表过程、三才生克的人话翻译、其余三格的权重说明。
- 起名:总述 = 补益方向的推导(八字五行分布);要点 = 第一名候选用字与方向的对应、硬性过滤规则(人格/地格/总格/三才任一为凶即淘汰)。
- 个人星盘:总述 = 太阳/月亮/上升三件套落座的固定释义;要点 = 十行星的元素计数与模式计数、水星/金星/火星落座指引。不做相位断言。
- 每日星座运势:总基调 = 元素关系 × 月相;分项扩写只用三项真实输入——状态(月亮落座元素)、沟通(月亮落座元素 + 模式)、务实事项(月相基调)、关系(元素关系原文)。
- 星座配对:总述 = 三条规则的得分构成;要点逐条复述规则原文。
双语说明
- 英文界面的盘面与中文版完全一致:八字/黄历由同一历法库计算(黄历可译字段用该库自带英文输出,吉神凶煞、彭祖百忌、九星等专名保留原文并标注);紫微固定以中文排盘、英文仅作宫名/星名的展示映射;干支在英文下给拼音。
- 英文「In Plain Words」解读由英文模板按同一套规则组合生成,不是中文机翻。
- 经文(卦辞、爻辞)与数理名等古典原文在英文下照录中文并附英文说明,属有意保留。
以上开源库与数据集的许可证全文随各项目仓库发布;本站仅按其许可证使用数据与代码。
Methodology & Data Sources
Our rule: charts = algorithm output, zero manual intervention; readings = classical texts quoted verbatim, or explicit rule templates. Sources per module below; every rule table lives in this project's code.
Chinese Arts
- Bazi / Almanac / Date selection: the lunar-javascript library (by 6tail, MIT) handles lunar conversion, the four pillars, hidden stems, Ten Gods, luck cycles, almanac suitable/avoid lists, clashes, auspicious/ominous spirits and Pengzu taboos. Five-element counting rule: each Heavenly Stem counts 1, each hidden stem in the branches counts 1. The late-Zi hour (after 23:00) follows the library's default sect convention.
- Ziwei Doushu: the iztro library (by SylarLong, MIT) produces the twelve palaces and birth-year transformations; we present its output unchanged. Charts are always computed in Chinese; English is a display mapping for palace/star names, so both languages show the identical chart.
- I Ching: judgment and line texts are transcribed verbatim from the Wikisource Book of Changes (public-domain classic), shown in the original Chinese with sources noted. Casting uses the standard coin method: sums 6 = old yin, 7 = young yang, 8 = young yin, 9 = old yang; changing lines transform, and the nuclear hexagram is derived — rules in lib/zhouyi.js.
- Daily zodiac: template rules = the relation between today's day branch and each sign's branch (Liuhe harmony / Sanhe triad / clash / harm / punishment) plus the five-element relation between the day stem and the sign's branch. Rule tables in lib/calendar.js; same day, same result.
- Compatibility (Hehun): additive rules on a base of 50 — zodiac Liuhe +12, Sanhe +10, clash −12, harm/punishment −8; Day Master element generation +8, same element +6, control −4; element complement +4 each (capped +8); year Nayin generation +7, same +5, control −6. Every point lists its basis in the result.
- Wedding dates: filters = the almanac lists "wedding" as suitable ∧ no clash with either partner's zodiac ∧ not a Sanniang day (lunar 3/7/13/18/22/27, traditional) ∧ not a Yanggong day (the traditional 13-day table, as judged by the library); ranking by the day's count of auspicious spirits (Tiande, Yuede, Tianxi…). The result also reports removal statistics, counted by the first rule that hit.
- Name test (Wuge): Kangxi stroke counts are cross-validated between two open datasets (hunterlau2020/bename, BSD-2-Clause; Ficere/tianji, MIT) and only included where both agree. The five-grid formulas and the 81-number ratings use the standard Wuge rule table (cross-checked against shunshi-ai/naming-mcp's shuli-81); rules in lib/wuge.js.
- Name generation: the character pool's pinyin and meanings come from the chinese-xinhua dictionary dataset (MIT); element attribution follows bename's Kangxi data (schools differ; we use this one source and say so). The supplement rule is the simplified one — supply the element(s) missing or weakest in the Bazi distribution; a full favourable-element judgement is out of scope here.
Western Astrology
- Natal chart: geocentric apparent planetary longitudes are computed by astronomy-engine (by Don Cross / cosinekitty, MIT); Ascendant and Midheaven use local sidereal time and the birthplace coordinates by the standard spherical formulas. The city database holds 90+ Chinese and world cities with coordinates and standard-time offsets. Birth times are converted to UTC with the city's standard-time offset; daylight-saving and historical time-zone changes are not modelled, so individual dates can differ from professional software by a few minutes.
- Daily horoscope: rules = the element relation between today's Moon sign and your Sun sign, plus the moon phase from the Sun–Moon elongation. Templates in lib/astro.js; same day, same sign, same result.
- Sign compatibility: rules = element compatibility (same / Fire–Air / Earth–Water / different groups) + zodiac aspects (same sign, sextile, square, trine, quincunx, opposition, adjacent) + same-modality bonus, summed into a level with each item listed. Rules in lib/astro.js.
Tarot
- Meanings: based on A. E. Waite's The Pictorial Key to the Tarot (1909, public domain); card images are the 1909 Rider–Waite public-domain scans (Wikimedia Commons), licence-checked card by card and self-hosted.
- Drawing: reproducible seeded randomness — the daily draw is seeded by "user + date" (same person, same day, same card); spread draws use the seed generated when you shuffle, shown with the result for verification. (The tarot module is being upgraded in parallel; its card texts are currently presented in Chinese with English card names.)
How the "In Plain Words" readings are generated
Each result's plain-words panel is assembled by lib/reading.js from the same screen's chart data, using the explicit rules below. No generative model is involved; nothing is asserted that the chart does not contain; no fate verdicts are made:
- Bazi: summary = Day Master + the element tally ranked (strongest/missing); points = the Day Master's element as base colour, Ten-Gods group counts (stem gods + lead hidden-stem gods, in five groups with fixed plain descriptions), and the current luck cycle's stem Ten God. Day Master strength and favourable elements are deliberately not judged.
- Ziwei: summary = the Life palace's major-star combination (an empty Life palace borrows the opposite Travel palace by the standard rule, and says so) + soul/body stars + element bureau; points = each Life-palace star's fixed character note and brightness, each transformation's palace (Lu = resources, Ke = fame, Quan = control, Ji = sticking point), the Body palace's domain, and the current decadal palace.
- Almanac: summary = suitable vs. avoid counts + the day god; points = first five suitable, first five to avoid, the clashed zodiac, auspicious/ominous counts, and the solar-term interval.
- Daily hexagram: structure only — the five-element relation between the upper and lower trigrams and their inner/outer roles; the judgment text is quoted, never re-verdicted.
- Daily zodiac: the twelve rule rows aggregated by tone (good / caution / neutral), each sign named; full bases stay in the table.
- Compatibility: summary = total score and band + the largest plus and minus; points restate the top, bottom and complement rules with their original bases.
- Wedding dates: summary = days scanned vs. selected; points = removal statistics (no-wedding / zodiac clash / Sanniang / Yanggong) and the top candidate's auspicious-spirit count and ranking rule.
- Name test: summary = favourable/unfavourable grid counts + Person/Total ratings + Sancai verdict; points narrate the Person grid's lookup, translate the Sancai generation/control chain, and note the other grids' weights.
- Name generation: summary = how the supplement direction derives from the Bazi distribution; points = the top candidate's character-to-direction mapping and the hard filters (any "Unfavourable" Person/Earth/Total grid or Sancai eliminates a name).
- Natal chart: summary = fixed notes for the Sun/Moon/Ascendant signs; points = element and modality counts across the ten planets, plus pointers to Mercury/Venus/Mars placements. No aspect judgements.
- Daily horoscope: overall tone = element relation × moon phase; the expanded sections use only the three real inputs — state (Moon-sign element), communication (Moon-sign element + modality), practical focus (phase tone), relationships (the element-relation text).
- Sign compatibility: summary = the three rules' score composition; points restate each rule's text.
About the bilingual edition
- English charts are identical to the Chinese ones: Bazi/almanac come from the same library (its built-in English output is used for translatable almanac fields; spirit names, Pengzu taboos and the nine-star string are traditional proper nouns, kept in Chinese and labelled); Ziwei is always computed in Chinese with an English display mapping; stems and branches get pinyin in English mode.
- The English "In Plain Words" readings are generated from English templates under the same rules — not machine-translated from the Chinese.
- Classical texts (hexagram judgments and line texts) and traditional table names are intentionally kept in the Chinese original, with English explanation around them.
Licences for the open-source libraries and datasets above are published with their respective projects; this site uses their data and code under those licences.