A simple activity monitor for a list of Github repositories.
-
Include jQuery and Underscore.js
-
Include the githubActivity javascript and CSS files:
<link rel="stylesheet" href="githubActivity.css"> <script src="githubActivity.js"></script>
-
Create an empty
div
tag for the widget, and initialize it with a list of repositories:<div id="github-activity" style="width: 400px"></div> <script> $('#github-activity').githubActivity({ repos: ["okfn/dashboard", "okfn/openspending"] }); </script>