jangviktor-web/nihaixia-app
倪海厦汉唐中医 AI 辅助诊断安卓客户端 · AI 讲义问答·六经辨证智能问诊、伤寒论 394 条、金匮 433 篇、322 首经方、465 味本草、408 穴位、1257 例倪师医案、本草讲稿 335 篇、针灸讲稿 72 篇|可选「问倪师AI」:本地讲义检索 + 自配模型,默认关闭零联网;子午流注 / 灵龟八法 / 五运六气 / 小六壬 / 梅花易数 / 紫微斗数 / 易经 64 卦 / 八字四柱 / 周公解梦 / 小儿关煞 / 每日黄历 / 节气养生 / 玉匣记;离线优先、数据全本地、无需注册、无广告无内购无追踪,Flutter / Dart + Apache 2.0 开源免费。
What it solves
Traditional Chinese Medicine (TCM) study and assisted diagnosis is scattered across many books and hard to navigate. This app packages Ni Haixia's Ren Ji lecture series (Treatise on Febrile Diseases, Golden Cabinet, Yellow Emperor's Inner Canon, Acupuncture, Shennong's Herbal Classic) into one offline tool. It supports evidence-based six-meridian syndrome differentiation: a guided questionnaire automatically derives the syndrome type and the main classic formula. Everything is verifiable - 1257 medical cases link back to formulas, and classic texts are fully searchable offline. For learning, it also bundles folk-culture tools (Zi Wei Dou Shu charting, BaZi analysis, I Ching hexagrams, almanac) that are clearly separated from medical modules.
How it works
All knowledge is packaged inside the app, so the core features work fully offline with no registration. A self-developed six-meridian syndrome differentiation state machine plus a dual-track discrimination tree covers 322 formulas, and the diagnosis logic is verifiable and regression-tested. Patients describe symptoms in plain language; the app maps modern terms (like "fear of cold") to classical formulas. The optional "Ask Ni Shi AI" feature (default off, zero network requests when disabled) works differently from a generic chatbot: it first searches the local lecture database for matching passages, then sends those retrieved segments - with their sources - to a model endpoint you configure yourself (any OpenAI-compatible service, including free ones). The model is constrained to answer only from those segments; if nothing is found in the lectures it says so explicitly. Answers are audited: formula names that appear in the reply but not in the retrieved segments are flagged, so you can tell what is Ni Haixia's original content versus the model's own knowledge. Your API key is stored only on the device, and only your question plus retrieved lecture segments are sent.
Who it's for
TCM learners and enthusiasts who follow Ni Haixia's Ren Ji system and want a fully offline, no-registration reference for formulas, herbs, acupoints, classic texts, and medical cases. It runs on Android 7.0+ (a browser version also exists, though the web version requires an internet connection for first load and stores bookmarks/conversations only in the browser).
Highlights
- Offline-first and privacy-preserving: a ~82MB general APK packs all data locally; no network traffic at all when the AI feature is off.
- Large curated corpus: 322 formulas, 465 herbs (with Aconite split into raw and processed per Ni's system), 401 acupoints, 1327 classic texts, 1257 medical cases.
- Verifiable diagnosis: medical cases and formulas link bidirectionally, key diagnosis paths have regression tests, and AI answers cite which local lecture segments they came from.
- Completely free: Apache 2.0 license, no ads, no in-app purchases, no tracking.
- Optional AI with citation audit: answers come only from retrieved lecture segments with sources, and unattributed formula names are explicitly flagged.
Related
- Project
- Project
- Project
- Project