Convert an online CGP book to .pdf
  • TypeScript 50.7%
  • JavaScript 45%
  • HTML 4.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-06-15 01:52:41 +01:00
src fix url, allow no svgs 2024-04-18 10:11:19 +01:00
.gitignore first commit 2022-10-04 20:14:37 +01:00
.npmignore first commit 2022-10-04 20:14:37 +01:00
package.json update version 2024-04-18 10:11:43 +01:00
page.html Added svg. Need to add outlines 2023-02-06 23:08:01 +00:00
README.md Update README.md 2024-06-15 01:52:41 +01:00
tsconfig.json first commit 2022-10-04 20:14:37 +01:00

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