Skip to content

5iCruise/epubreader

 
 

Repository files navigation

🚧 Under Construction 🚧

Tag LastCommit Nodejs Version Licence

EpubReader powered by Node.js & AngularCLI

version: 0.1.0
· Project based on epub.js
· Fork Repo BookReaderAngular

Preparation

  • DevEnvironment: Node.js v14.16.1 + AngularCLI v11.2.8 + Win32 x64
  • DevLang: HTML, TypeScript, JS, CSS
  • DevTool: Visual Studio Code

Deployment of DevEnvironment

  1. Install Node.js (LTS version)
  • Visit the official website of Node.js
  • Download the stable version according to your OS, Win x64 installer
  • Install the msi to your system in the default directory
  • Run command node version or use where node to locate the installation directory

if no TypeScript (optional, globe)

npm install -g typescript
  1. Install AngularCLI by NPM source
  • Run node -v npm -v to check the node.js version
  • Run npm install -g @angular/cli
  • Run ng v to confirm the result
  • if fail, install it again
npm uninstall -g angular-cli
npm install -g @angular/cli@latest 

or locate the directory of your project, then Run

npm i --save-dev @angular-devkit/core

Git

Clone the repo https://github.com/5iCruise/epubreader

Build and Commit

Run ng build to build the project.

The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Deployment Server locally

Run ng serve for a dev server.

visit http://localhost:4200/

Deployment by Github pages

ng build --prod --output-path docs --base-href /EpubReader/

When the build is complete, make a copy of docs/index.html and name it docs/404.html . Commit your changes and push.

On the GitHub project page, configure it to publish from the docs folder.

Then visit https://darkwarrior2025.xyz/epubreader/

Preview

main

navigation

search

search reslut

theme

ToDoList

  • vecel.app 部署应用;
  • 改进 书签、文摘 功能,实现 本地化 存储;
  • 创建 Docker Image;
  • 创建 Electron 项目 (本地化/离线);
  • 部署轻量化PWA, 实现部分资料的在线存储;

See More

-EOF-

Languages

  • TypeScript 68.4%
  • HTML 11.0%
  • CSS 8.4%
  • SCSS 8.1%
  • JavaScript 4.1%