Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
src
 
 
 
 
 
 
 
 

README.md

code.viget.com / 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"
}

Code At Viget

Visit code.viget.com to see more projects from Viget.

About

Grab all the media from your pull requests

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.