A widget for displaying GitHub activity for a user.
npm install github-activity-feedThis is a small Javascript plugin that creates a stream of your recent GitHub activity. It displays the user's name, username, photo, and a list of each individual activity type. Click here for a demo.


The two dependencies for the plugin are the Mustache templating library and Octicons (if you want the icons to show). You can include these along with the scripts for the plugin in the head of your page with the following HTML:
``html
`
Install the library:
`bash`
npm install --save github-activity-feed
Add the files to your webpage:
`html
`
If you'd like to build the files yourself:
`bashInstall dependencies
npm install
Usage
To use the library, begin by creating a new div with an id in the body of your page:
`html
`Then call the feed method via Javascript:
`js
GitHubActivity.feed({
username: "your-username",
repository: "your-repo", // optional
selector: "#feed",
limit: 20 // optional
});
`Credits
Fork and Enjoy
Please feel free to contribute to the application by following the steps below:
1. Fork it
2. Create your feature branch (
git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature`)