shuimo07/xiaoliuren
Casts a Xiao Liu Ren reading from time, numbers or a seeded random draw and answers conclusion-first with the six-palace layout and a plain verdict.
Three casting modes: time (solar or lunar), numbers (one to three numbers mapped to month, day and hour) and random, which is seeded so a reading is reproducible. The answer is conclusion-first — a plain-language verdict and advice, then the six-palace layout with auspiciousness, five elements, direction, celestial spirit and verse; the question you asked is echoed in the conclusion but never changes the math. Configuration covers the calendar, late-zi hour rollover, disclaimer text and random source. The core is dependency-free pure functions with a built-in compact lunar table, usable as a library (castTime, castNumbers, castRandom) or from a CLI as well as through the agent tool, and the package ships a browser widget — a divination-glyph button pinned to the app's top-right corner that collapses into a dot.
Install
dsh plugin --profile web add github:shuimo07/xiaoliurenThe install line from the README's DSH integration block, which then appends an insert row for the xiaoliuren tool to the profile's cordis.patch.yml. The README also ships a Windows one-command installer (scripts/install-dsh.ps1) that runs the same plugin add and writes the row idempotently. A full restart of dsh web is required — a browser refresh is not enough, because the client-plugin graph is composed at server boot.
Compatibility
Node >= 18 (22 recommended) and pnpm if you build from source. The committed lib/ output is loaded through main: lib/index.js, so the plugin installs and runs without a build. Verified after restart with dsh --profile web --dump-config | grep -i xiaoliuren, or by loading the plugin's client.js from the web origin.
Details
- Repo: shuimo07/xiaoliuren
- Category: Just for Fun
- Stars: 3
- Version: MIT; no npm package — install from GitHub
Alternatives
Tkingxiao/I-am-Yuike · luumod/dsh-achievements · yushi-xxh/dsh-homepage-skin