A small react component showcasing the latest contributions to your Github profile.
Uses headers to keep style consistent with your theme.
Still under development, but usable! Can as of May 1st, 2018 be seen in action at janschoepp-dev.
npm install react-github-showcase
Add this component to your project and style the wrapping Div however you want! Provide the component with a username to look up and your own API-key from Github so that the component can use GraphQL to query for information.
import GithubShowcase from 'react-github-showcase';
<div>
<GithubShowcase
username={"jangerhard"}
api_key={API_KEY}/>
</div>
Pass these values as props to change the behaviour of the component
username: (Required) The username of Github profile to showcase - String
api_key: (Required) A Github API key to access Github's API - String
showProfileInfo: Display basic profile info from Github - Boolean (Default: true)
numRepositories: How many repositories should be displayed - Number (Default: 3)
numCommits: How many repositories should be displayed - Number (Default: 2)
Proper formatting of dates
Add ability to specify number of repositories and commits to showcase
Add ability to hide basic profile info