Skip to content

justinsilvestre/hanlib

Repository files navigation

hanlib

This is a project to make a library of free interactive texts for learners of classical/literary Chinese.

current focus

The current focus is to transcribe + format the content of the 1927 textbook Introduction to Literary Chinese by J. Brandt. This book is in the public domain in the US. You can access a digitized copy from a US IP address here:

The biggest challenge at the moment is transcribing the portions in mixed Chinese/Latin script. OCR tools can automate some of the process, but not all of it. If you have time, please consider helping out by transcribing the remaining "Vocabulary" and "Notes" chapters listed here.

texts   CC BY-NC-SA 4.0

The following license information applies to the texts in the texts folder.

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

development

To run the app locally:

  1. Install packages from the repository root directory

    npm install

  2. Run prebuild script

    npm run prebuild

  3. Run Next.js dev server

    npm run dev

After making changes to the files in the texts/ directory, you may need to run the prebuild script again.