项目作者: tracy2811

项目描述 :
Chinese book reader with popover CE dictionary
高级语言: JavaScript
项目地址: git://github.com/tracy2811/ce-reader.git
创建时间: 2021-04-21T21:09:39Z
项目社区:https://github.com/tracy2811/ce-reader

开源协议:

下载


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:
    1. npm install
    2. 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
    1. 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.