Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.09 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.09 KB

CE-Reader

Enjoy reading your favorite Chinese books without constantly looking up dictionary.

The Chinese-English dictionary CC-CEDICT is used to tokenze text, and create popover translation.

Sample books/stories: 活着, 成语故事

Quick Start

To get this project up and running locally on your computer:

  1. Set up a Nodejs development environment.
  2. Enter the following commands in the root of your clone of this repo:
    npm install
    DEBUG=reader:* npm run dev   #For linux
    
  3. Open a browser to http://localhost:3000/ and start reading.

Add New Book

To add a new book:

  1. Create a folder new_book_name under public folder
    mkdir public/new_book_name
    
  2. Put every chapter of this book inside this new_book_name folder.

Note: Every chapter must be a plain text file, use utf-8 encoding.