Two licenses, one repository
This repository contains two distinct kinds of work, each under its own license. Please respect both when reusing or redistributing.
Source code · MIT License
The application source code — everything under src/app/, src/components/, src/lib/, scripts/, and the build configuration — is under the MIT License. You may freely use, copy, modify, merge, publish, distribute, sublicense, and sell the software, subject only to retaining the copyright notice and the full license text.
The MIT License does not cover the editorial content or seed data in this repository; that material is licensed separately under CC BY-SA 4.0, described below.
Content & data · CC BY-SA 4.0
All editorial content, bilingual translations, concept essays, herb / formula / pattern / acupoint / meridian / classical-text entries, and the relationship graph data — everything under src/data/seed/, all long-form prose under src/app/[locale]/about/ and src/app/[locale]/concepts/, and any rendered entity page — is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
You are free to:
- Share — copy and redistribute the material in any medium or format.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
- Attribution — give appropriate credit to "Bencaodian Editorial / 本草典编辑部", provide a link to the license, and indicate if changes were made.
- ShareAlike — if you remix, transform, or build upon the material, distribute your contributions under the same license as the original.
- No additional restrictions — do not apply legal or technological measures that legally restrict others from doing anything the license permits.
Full license text: https://creativecommons.org/licenses/by-sa/4.0/legalcode
Recommended attribution
When citing or republishing content from Bencao Dian, please use a credit line like:
Bencaodian Editorial / 本草典编辑部. Bencao Dian: A Bilingual Knowledge Graph of Traditional Chinese Medicine. https://bencaodian.org. CC BY-SA 4.0.
Third-party assets
- 霞鶩文楷 LXGW WenKai —— developed by the typeface designer Lxgw, derived from the Japanese Klee typeface, distributed under the SIL Open Font License 1.1. The font is vendored as woff2 subset chunks in
public/fonts/lxgw-wenkai/; the upstream license travels with the files. - Inter & Fraunces — the Latin variable web fonts, both under the SIL Open Font License 1.1.
No warranty
The content in this repository is provided for educational and scholarly reference only. It is not medical advice. Chinese herbs and acupuncture have powerful pharmacological and clinical effects; some are frankly toxic. Always consult a qualified TCM practitioner working in coordination with your treating physician before any therapeutic use. Bencaodian Editorial makes no warranty of fitness for any particular clinical purpose.