If you’re an active user of GitHub and work on any open-source projects then may want to show off your projects and activity on your own website. This is where Gitview comes in.
Gitview allows you to display all your GitHub repos, and gives the option to display a detailed version including a graph of your project activity, or a simple compact version if you prefer. Not only that, but all the information displayed is live.
The full feature list is:
- Asynchronous loading of all date
- All data is 100% live
- The Activity Graph uses the Canvas element
- You can toggle the regular or small version
- No need for additional styles
- Works with all JS frameworks (jQuery, Prototype, Mootools, etc)
- WTFPL license
Using it is very simple:
1. Include the script on your page
<script src="http://logicalcognition.com/Projects/Gitview/Gitview.js"></script>
2. Create a GitView anywhere on your page from a script tag or a JavaScript file:
var view = new Gitview({ user : 'cubewebsites', // any github username domNode : document.body, // domNode to attach to compact : false // if set to true, will display smaller version of widget (no participation graph) });
Enjoy!
There was a major update pushed to Github a few minutes ago. You should consider pulling the latest code and / or updating the screenshots!
Great blog!
Hey Dan, thanks for the reply.
I’ve had a look and you’re right, it has change. It appears that the author is somewhat unhappy with the current design so it may still change. I’ll look out for a more stable design version and then update the screenshot.
CooL!