Skip to content

oacore/reader

Repository files navigation

CORE PDF Reader

CORE Reader is a full-featured PDF viewer with enhancements especially for academic papers built on top of PDF.js

Installation & Preview

The project requires Node.js and NPM package manager.

After cloning this repository you will need to generate Github Token with package read permission here in order to download our @oacore packages from Github NPM registry.

export NPM_TOKEN=<github_token_with_packages_read_permission>
npm install      # to install all dependencies
npm run dev      # to start simple development server

Open localhost:3000 to preview.

Production deployment

For using on production you need to run these commands:

npm install        # to install all dependencies
npm run build      # to build all files for next server (stored in .next folder)
npm run start      # to start simple development server

Server starts listen on 0.0.0.0:3000