Need private packages and team management tools?Check out npm Teams »

prchive

0.1.1 • Public • Published

PRchive: Grab all the media from your PRs

Run npm install prchive -g, then prchive to start. Point PRchive at a project you have access to, and it'll grab all linked files and images from the project's pull requests and save them in a dir that looks like this:

The leading number before each filename is the PR number. PRchive also include a list of the original URLs, an HTML with images src-ing those URLs, and another page of images pointing to the local copies.

Development

Run npm run prepublish && node lib/test.js to test the script while in development. Create a file called .config.json in the root to save on typing time, and fill it with your credentials like this:

{
  "username" : "averyvery",
  "password" : "password",
  "repo"     : "vigetlabs/prchive"
}

Install

npm i prchive

DownloadsWeekly Downloads

0

Version

0.1.1

License

ISC

Last publish

Collaborators

  • avatar