Sources and licences
Every source this edition was built from, with its licence. Last updated September 20, 2026
Heart Sutra is operated by Technologies InstantHPI Inc. The list below is the record kept for this title; a licence says what may be done with the material it covers, and the material is used here under that licence.
Where a bundled font was fetched from Google Fonts, the record shows the address with the dot in
brackets (fonts.googleapis[.]com) so that this page itself asks nothing of any other host.
Nothing on this page is fetched: it is a record of provenance.
Sources and licences
Everything under data/, title.json and assets/fonts/ is built by one script, _scripts/build-data.cjs. Nothing is hand-edited: when a derived value is wrong it is corrected in _scripts/corrections.json, each entry carrying its reason, and the script is run again. The script fetches each source once and keeps it verbatim under _scripts/.cache/. Model-answer caches are under _scripts/.cache/deepseek/; live interface strings are cached separately under _scripts/.cache/ui/. A rebuild needs no model calls only when every required cache is present; a cache miss can make a paid request.
The text
The sutra is the Chinese translation by 玄奘 (Xuanzang), 般若波羅蜜多心經, Taisho Shinshu Daizokyo volume 8, text T0251, in traditional characters: 260 characters, the classic length of this recension, plus the title. It comes from the proofread Taisho page 864 on Chinese Wikisource, which carries the {{PD-old}} tag, so the text is in the public domain. The page wikitext names the edition and is kept in the cache as well.
The transcription was checked against an independent copy: the Chinese Wikipedia article on 般若波羅蜜多心經 (CC BY-SA 4.0; the sutra text in it is itself public domain). Both copies reduce to the same 260-character stream, so the two agree character for character.
Sources that were tried first and could not be used, for the record:
- CBETA (https://cbetaonline.dila.edu.tw/zh/T0251) served no text to this build and its terms are CC BY-NC-SA, which does not fit this project.
- The SAT Taisho page (https://21dzk.l.u-tokyo.ac.jp/SAT2018/T0251_.html) fills its text from a script at run time; the public-domain text was therefore taken from Wikisource instead of SAT.
- The Japanese Wikisource copy of the same text answered with an error page at the time of the build.
The words
The 95 distinct words are the ones a student writes: Buddhist terms stay whole (般若, 波羅蜜多, 菩薩, 五蘊, 舍利子), the negated pairs of the sutra are split (不生 / 不滅, 不垢 / 不淨, 不增 / 不減), and the transliterated Sanskrit of the mantra keeps its four parts. DeepSeek proposed a first segmentation and this build adjudicated it: every word of more than one character must be a CC-CEDICT headword, one of the listed Sanskrit terms, or a compound recorded with its reason in corrections.json.
- Pinyin (
tl) is the CC-CEDICT reading of the word where the dictionary has it, otherwise the reading of each - The Japanese reading (
tlja) is the Sino-Japanese on-yomi of each character from KANJIDIC2, written in Hepburn - Frequency ranks are counted by this project from the public-domain texts the series teaches (the complete
character. Six character readings and one whole-word reading are explicitly corrected in corrections.json, each with its reason. Whole-word corrections take precedence over dictionary entries; character corrections apply when the build falls back to individual characters. Tone sandhi is not written.
with long vowels marked. Where a character has several on-yomi, DeepSeek was asked which one the sutra is read with; the answer is accepted only if KANJIDIC2 lists it, and is cached. The choices: 一 イチ (ichi), 三 サン (san), 上 ジョウ (jō), 不 フ (fu), 世 セ (se), 乃 ナイ (nai), 亦 ヤク (yaku), 佛 ブツ (butsu), 依 エ (e), 切 サイ (sai), 咒 シュ (shu), 垢 ク (ku), 增 ゾウ (zō), 夢 ム (mu), 大 ダイ (dai), 如 ニョ (nyo), 子 シ (shi), 實 ジツ (jitsu), 度 ド (do), 怖 フ (fu), 想 ソウ (sō), 提 ダイ (dai), 揭 ケイ (kei), 明 ミョウ (myō), 是 ゼ (ze), 有 ウ (u), 法 ホウ (hō), 涅 ネツ (netsu), 淨 ジョウ (jō), 無 ム (mu), 生 ショウ (shō), 盡 ジン (jin), 相 ソウ (sō), 眼 ゲン (gen), 礙 ゲ (ge), 神 ジン (jin), 究 ク (ku), 竟 キョウ (kyō), 罣 ケイ (kei), 耨 ドウ (dō), 聲 ショウ (shō), 自 ジ (ji), 舍 シャ (sha), 色 シキ (shiki), 若 ニャ (nya), 薩 サツ (satsu), 藐 ビョウ (byō), 虛 コ (ko), 蜜 ミツ (mitsu), 行 ギョウ (gyō), 說 セツ (setsu), 諦 テイ (tei), 道 ドウ (dō), 遠 オン (on), 阿 ア (a), 除 ジョ (jo), 香 コウ (kō). One character of the sutra, 說, has no entry of its own in KANJIDIC2, because Japanese writes it 説; the reading is taken from that Japanese form, which carries the on-yomi the sutra is read with.
西遊記 from Chinese Wikisource, the Wang Bi 道德經 and this sutra itself), by work/han-frequency.cjs, which keeps every Han character and ranks them by how often they occur, most frequent first, ties broken by code point. Reached through the CC-CEDICT traditional/simplified pairs. The rank of a word is the rank of its rarest ranked character, so the number always names the hardest character in the word. Unranked symbols in the source lines (6): ,, 。, !, ;, 、, :. Word ranks use only ranked Han characters; punctuation has no rank.
The renderings
The English word glosses are the model's own wording, with CC-CEDICT senses supplied as hints in the prompt. The shipped strings match the cached model answer; they are not imported dictionary gloss entries. The English and French line translations, French word glosses, and French and Chinese interface wordings were also produced by DeepSeek (deepseek-flash) for this project. Chinese word glosses were generated and remain in the cache, but are not shipped: the content layers are English and French; Chinese is an interface option. Model-answer caches are under _scripts/.cache/deepseek/; the live interface strings are cached under _scripts/.cache/ui/<lang>.json. The French and Chinese live-interface cache files are present in this checkout. The English and French content renderings are named in data/languages.json and title.json as "InstantHPI (2026), machine-assisted". They are plain and literal: the sutra text, not a commentary.
The strokes and the font
Stroke shapes for all 116 distinct characters are vector strokes and medians in Hanzi Writer format, taken from Make Me a Hanzi, whose stroke data is derived from the Arphic fonts and is distributed under the LGPL-3.0 and the Arphic Public License.
Make Me a Hanzi has no outline at all for 罣, so the build composes that character from the centre lines Make Me a Hanzi gives its two halves, 罒 above 圭, and from nothing else. Each half is fitted into its region of the character and one round pen, the same width for both halves, is swept along the lines to make the drawn outlines; the stroke order is theirs, five strokes then six. Nothing but Make Me a Hanzi draws this title.
The app typeface is Noto Serif TC, subset by Google Fonts to the 338 characters this title can print, under the SIL Open Font License 1.1. The licence text is kept beside the font as assets/fonts/NotoSerifTC-OFL.txt; the fetched subset is assets/fonts/NotoSerifTC.woff2.
Every source
| source | licence | what is taken from it | URL | cache file | fetched |
|---|---|---|---|---|---|
| wikisource-page | Public domain. The page is a proofread transcription of the Taisho Shinshu Daizokyo (大正新脩大藏經) page 864, volume 8, and carries the {{PD-old}} tag. | the sutra body of Xuanzang's translation (Taisho T0251), traditional characters, 260 characters | https://zh.wikisource.org/w/index.php?title=Page:SSID-10510986_%E5%A4%A7%E6%AD%A3%E6%96%B0%E4%BF%AE_%E5%A4%A7%E8%97%8F%E7%B6%93_%E7%AC%AC8%E5%8D%B7%C2%B7%E8%88%AC%E8%8B%A5%E9%83%A8%E5%9B%9B.pdf/864&action=raw | _scripts/.cache/wikisource-T0251-page864.raw.wikitext | 2026-09-30 |
| wikisource-raw | Public domain ({{PD-old}}; Taisho edition of 1924-1934) | the page wikitext, which transcludes the proofread Taisho page and names the edition | https://zh.wikisource.org/w/index.php?title=%E8%88%AC%E8%8B%A5%E6%B3%A2%E7%BE%85%E8%9C%9C%E5%A4%9A%E5%BF%83%E7%B6%93_(%E7%8E%84%E5%A5%98)&action=raw | _scripts/.cache/wikisource-心經-玄奘.raw.wikitext | 2026-09-30 |
| wikipedia-zh | CC BY-SA 4.0 (Chinese Wikipedia article 般若波羅蜜多心經; the sutra text itself is public domain) | an independent punctuated copy of the same Xuanzang text, used to cross-check the transcription character by character, plus the Sanskrit romanisation and the traditional explanations of the mantra words | https://zh.wikipedia.org/api/rest_v1/page/html/%E8%88%AC%E8%8B%A5%E6%B3%A2%E7%BE%85%E8%9C%9C%E5%A4%9A%E5%BF%83%E7%B6%93 | _scripts/.cache/wikipedia-zh-心經.html | 2026-09-30 |
| cedict | CC BY-SA 4.0 (Creative Commons Attribution-ShareAlike 4.0, as distributed by MDBG) | traditional/simplified pairs, pinyin with tone numbers, and English senses supplied as gloss-prompt hints; shipped English word glosses use cached model wording | https://www.mdbg.net/chinese/export/cedict/cedict_1_0_ts_utf-8_mdbg.txt.gz | _scripts/.cache/cedict_1_0_ts_utf-8_mdbg.txt.gz | 2026-09-30 |
| kanjidic2 | CC BY-SA 4.0 (Electronic Dictionary Research and Development Group) | on-yomi (ja_on) readings for the Japanese shakyo transliteration (tlja) | http://www.edrdg.org/kanjidic/kanjidic2.xml.gz | _scripts/.cache/kanjidic2.xml.gz | 2026-09-30 |
| frequency | none needed: the corpus is public domain (the complete 西遊記 from Chinese Wikisource, the Wang Bi 道德經 and Xuanzang's 心經) and the count is this project's own | character frequency ranks, counted by this project from the same texts the series teaches | built in this repository; no network fetch | work/frequency/han-pd.json | 2026-10-02 |
| makemeahanzi | LGPL-3.0 (code) and Arphic Public License (font-derived stroke data), as distributed by Make Me a Hanzi | vector strokes and medians in Hanzi Writer format for every distinct character of the sutra but one, 罣, which the build composes here from the centre lines Make Me a Hanzi gives 罒 and 圭 (see the note above) | https://raw.githubusercontent.com/skishore/makemeahanzi/master/graphics.txt | _scripts/.cache/makemeahanzi-graphics.txt | 2026-09-30 |
| noto-css | SIL Open Font License 1.1 (Noto Serif TC, Google Fonts) | the CSS naming the single woff2 subset that carries every character this title needs | https://fonts.googleapis[.]com/css2?family=Noto+Serif+TC:wght@400&text=<the characters this title needs> | _scripts/.cache/noto-serif-tc-70b1f80b.css | 2026-10-02 |
| noto-woff2 | SIL Open Font License 1.1 (Noto Serif TC, Google Fonts) | the woff2 subset, copied to assets/fonts/NotoSerifTC.woff2 | https://fonts.gstatic[.]com/l/font?kit=XLYzIZb5bJNDGYxLBibeHZ0BnHwmuanx8cUaGX9aMOpGIZIDSsMNbtzTTxl2TVGw3GdYixsZTjOJ8vlxwcnFyjiXzhgVHIONkNX8WZHk1TxN_y_kDZWI0amnc237UdIZ9c5PaevXM6P47HUf3gSZA0CB-25hkf0MZypTRgKboVm78Q_IRboVg2qVPq3CYvrzFRaSeKoP8OWuuHw-0oew9qyIA6TMsADwBPNvMLGUSessjxv7OB1Dm9ZRTjk-2WejpugHMoYq9hWfbhHQ2PKYgEYt0ZpxSHmysKagkgFSX21h7nsu-aP7yvrkwu0LQRjOsaqI5_6pHIBkhT1JqkZ-dLq1MqMuvX5VaJseDTKS2R-JIv5FP1675zRC2_DWGJc8XrYqN7Ln57w65uXcEKXUXxmNB41tgSmNCOu44hITJv67nyBgmW1N08qhc6qObu9q_zKyswfZZ0AhEl7qSLIs70vF5oG__CZ8KhIb0lh0JinwwlQiqzOb5WikVWaq7hvZKf9uHEdz3xCDT9Zm0k4WKJdHftfm9sMiq7OhlKS--1kUQdQmBj-qb_ZaFiJRvMtQWmHLg5Nz9SgZ9jMNMHi6EwynU64YfrR4lEPZP2yn88-qzFKWRDQ7FD158dpooIDw6JWpWJZA4mv68tfaW-5k_8h-I4vHJJgl8_dzD_eONISrbP3xuEbbWfiFSs5iFcYh4j9vXk0tKhAKK4fyk_xX9rYOkte5A2LI4vOkb90VGXSZjsk7vQ-Ojkt3wnTSF4IR9SOblF7l7ssCjjW6eUtQ1Ykr8VBmOpCriIPwWQxs4hEXZ7OGzDxTOHGOHH5E1BrFgx2drPbpCf8FK-YcbJhu6mASH3l6ZbuYCOAwjnDEiGbW4pdkHRBZbpEve76r0zsoP1RfGxVQYRWxCqk5bggFkWtNpEbDIhwTNg_6bK9LqayMLj7IJiPvtZfABVuBAYE-N0GE0e-LJud3zA9PU6IY0mDXYr5AJITcc3fdOoomJsglNXgnT97qMHf8tcd3hXs9d9tnFnwr_G8jiMMFy2io8uBSX62kppze3LNIE-TEOkehL7LrJciShNQEKXBfxJhDASWp6BDvcH4Rx5IhqdntUba20Rsc-kqNwFVLGyzUXn0cirLBO8EXlQQo3-nHp8F2c15FyscrbBIv6xD98Ox2Yy6-zpmoilxZjqM3YZhMjRZK1Sp50WAmihs1IIe9Bck9SlmQL_1MPLCnodZ2eZBA6EbWD3MK9AfnFb-ufK__7JdPx6Eml0wE2RY5oHzuZQf4oa-TCuHXZ2nz5iMJIciB5uUMtN1vjeeFdPCAiknavKnHEuv7Vr4UiCQs5_nL3cjsCSEV5Al88bexlkwa88J70Bht0SZPmUObEMCNa0as18EBPRkj&skey=dafe25338141b30f&v=v37 | _scripts/.cache/NotoSerifTC-70b1f80b.woff2 | 2026-10-02 |
| noto-ofl | SIL Open Font License 1.1 text | the licence file, copied to assets/fonts/NotoSerifTC-OFL.txt | https://raw.githubusercontent.com/notofonts/noto-cjk/main/Serif/LICENSE | _scripts/.cache/NotoSerifTC-OFL.txt | 2026-09-30 |
How to rebuild
node titles/heart-sutra/_scripts/build-data.cjs
node work/check-title.cjs heart-sutra
The first command rebuilds every file in data/, title.json and the font files from the caches; the second is the independent validator. Preserve the caches: deleting a model-answer cache can trigger a separately billed request on the next run. New model calls require explicit cost approval.
Contact
Questions about a source or a licence? Email info@instanthpi.ai.