SkillAgentSearch skills...

Pdf

Rendering Republik articles with ReactPDF

Install / Use

/learn @orbiting/Pdf
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Render Mdast as PDF

Implemented with react-pdf.

yarn
yarn run dev

open http://localhost:3007/example

Env

API_URL=https://api.republik.ch/graphql
FRONTEND_BASE_URL=https://www.republik.ch
ASSETS_SERVER_BASE_URL=https://cdn.republik.space

You can create a local .env file which will be auto loaded.

Documents sequencer fetcher

This project includes a script that runs a batch of PDF generation processes. To run it, provide your session cookie as API_COOKIE:

FIRST=500 CONCURRENCY=1 API_COOKIE=connect.sid=s%... node test/renderToFile.js

With DOTENV=1 you can also use your .env file.

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks1

Languages

JavaScript

Security Score

70/100

Audited on May 22, 2024

No findings