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: 活着, 成语故事
To get this project up and running locally on your computer:
- Set up a Nodejs development environment.
- Enter the following commands in the root of your clone of this repo:
npm install DEBUG=reader:* npm run dev #For linux
- Open a browser to http://localhost:3000/ and start reading.
To add a new book:
- Create a folder
new_book_name
underpublic
foldermkdir public/new_book_name
- 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.