carlmcdade / gh-activity

A widget to display your GitHub activity anywhere on the web

Home Page:http://colmdoyle.github.com/gh-activity/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unofficial GitHub activity widget

This Activity widget allows you to show events related to users and individual repositories on any webpage you choose. It displays

  • The Gravatar associated with the user or repo
  • The user's name
  • The number of GitHub Followers a user has or the number of times a repo has been forked
  • All public events associated with that user or repo

Usage

The widget can be included by simply using an iframe with the following format -

<iframe allowtransparency="true" frameborder="0" scrolling="no" seamless="seamless" 
src="http://colmdoyle.github.io/gh-activity/gh-activity.html?user=colmdoyle&type=user" width="300" height="300"></iframe>

Fields

user - GitHub username required

repo - Github repository you want to display required for type repo

type - What activity you want to display user or repo required

Samples

Activity by colmdoyle

<iframe allowtransparency="true" frameborder="0" scrolling="no" seamless="seamless" 
src="http://colmdoyle.github.io/gh-activity/gh-activity.html?user=colmdoyle&type=user" width="300" height="300"></iframe>

Activity on the gh-activity repo

<iframe allowtransparency="true" frameborder="0" scrolling="no" seamless="seamless" 
src="http://colmdoyle.github.io/gh-activity/gh-activity.html?user=colmdoyle&repo=gh-activity&type=repo" width="300" height="300"></iframe>

Author

Colm Doyle

Acknowledgements

This widget was inspired by a mix of Mark Otto's GitHub Buttons and Facebook's Activity Feed

Also, the following plugins/frameworks are used and acknowledged in the code.

License

Copyright 2012 Colm Doyle

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A widget to display your GitHub activity anywhere on the web

http://colmdoyle.github.com/gh-activity/