mirror of
https://github.com/Stefanuk12/cgp-rip.git
synced 2026-08-14 20:54:44 +00:00
Convert an online CGP book to .pdf
- TypeScript 50.7%
- JavaScript 45%
- HTML 4.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| .npmignore | ||
| package.json | ||
| page.html | ||
| README.md | ||
| tsconfig.json | ||
CGP Rip
Convert an online CGP book to .pdf (not finished yet). This also works both as a CLI and package.
Archived
As I'm going into university, I no longer have need for this tool and therefore will no longer be maintaining it.
How it works
It downloads the background (jpg/png) and text (svg) of each page using your session id (you must own the book). Then, it combines them to form the actual page.
Usage
Usage: cgp-rip [options] [command]
Convert an online CGP book to .pdf
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
configure [options] <session-id> Configure in order to be able to use
rip [options] <book-id> Rip an online book
help [command] display help for command