Githug-sugar delivers components and models to interact with github.
Add the following line to your package.json file:
"github-sugar":"0.0.6"
or type
npm install --save github-sugar
You can add the component to a template file like so:
{{github-repository id="langens-jonathan/github-sugar"}}
This component offers the following display options:
option | default |
showId | false |
showLanguage | true |
showDescription | true |
showSubscribersCount | false |
showOwnerInformation | true |
showOwnerAvatar | true |
showReadme | true |
You can use the repository-list component as follows:
{{github-repository-list id="langens-jonathan"}}
The readme component is used like this:
{{github-readme-display id="langens-jonathan/github-sugar"}}