API for fetching public repo summary images for use in GitHub profile READMEs.
To fetch an image for a public GitHub repository, in your README.md, use this markdown:
Here's what that looks like for this repository:
Some examples of other repositories:
This project's dependencies:
This project depends on node-canvas. If you run into issues with an npm install, follow the instructions in their repository: https://github.com/Automattic/node-canvas
Several image libraries need to be present in order to build node-canvas with proper support:
brew install pkg-config cairo pango libpng jpeg giflib librsvgTo run the server locally:
npm startAnd visit http://localhost:6069/repo/ryan-willis/gria to see the image for this repository.