Coder Social home page Coder Social logo

starhub-apps / starhub-alternative-activity-public-limited-widget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from colmdoyle/gh-activity

0.0 2.0 0.0 538 KB

A widget to display your GitHub activity anywhere on the web

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

License: Apache License 2.0

HTML 100.00%

starhub-alternative-activity-public-limited-widget's Introduction

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.

starhub-alternative-activity-public-limited-widget's People

Contributors

colmdoyle avatar mikestowe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.