A Yijing Commentary Shipped as an Offline Reader: 3 MB APK, Embedded Fonts, Build Pipeline
A developer wrote a 72-section commentary on the Yijing (Book of Changes) totaling about 505,000 Chinese characters, then built one Markdown source into four outputs: a reading page, a 704-page print PDF, an offline Android reader, and an indexed website. The reading page was made fully self-contained by subsetting a webfont to only the codepoints the book uses, including the hexagram and trigram symbol blocks that a CJK-only subset would miss. The Android app is a WebView shell wrapping that same HTML file with no permissions and network loads blocked, and it was assembled with command-line Android build tools since Android Studio was unavailable. The author also split the book into per-hexagram web pages with canonical URLs and descriptions to make the long text searchable. Several build issues were described, including a missing platform package and a misleading mobile-width rendering test.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in