yashha / percollate-api

A basic api to serve percollate as an web api

Home Page:https://readtheweb.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Public API to transform website content to pdf using the percollate package .

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# incremental rebuild (webpack)
$ npm run webpack
$ npm run start:hmr

# production mode
npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

API

  • GET: /load.pdf
    • Query: mutiple url queries possible
      other queries are other options of percollate

About

A basic api to serve percollate as an web api

https://readtheweb.de/

License:MIT License


Languages

Language:TypeScript 66.3%Language:HTML 27.1%Language:Dockerfile 6.6%