An open API service indexing awesome lists of open source software.

https://github.com/smuyyh/GitHubWidgets

GitHub html widget, include User Widget、Repo Widget and Activity Widget.
https://github.com/smuyyh/GitHubWidgets

github github-html-widget gua-jian javascript weibo

Last synced: 4 months ago
JSON representation

GitHub html widget, include User Widget、Repo Widget and Activity Widget.

Awesome Lists containing this project

README

          

# GitHubWidgets
GitHub html widget, include User Widget、Repo Widget and Activity Widget.

## Priview
### User Widget

## Repo Widget

## Activity Widget

## How to use
- User Widget

Copy and paste this code in your HTML body, replacing “data-username” with your GitHub username
```xml

```

- Repo Widget

Copy and paste this code in your HTML body, replacing “data-repo” with your GitHub username/reponame
```xml


```
or
```xml


var git_name ="/smuyyh/IncrementallyUpdate"

```

- Activity Widget

Copy and paste link in your HTML head, and div/script in your HTML body, replacing “username” with your GitHub username
```xml





$(function(){
$('#widget-container').activity({
username: 'smuyyh'
});
});

```

## 为博客添加GitHub挂件(以CSDN博客为例)
管理博客 -> 博客栏目 -> 添加栏目
```xml

```
![csdn](https://github.com/smuyyh/GitHubWidgets/blob/master/screenshot/csdn_widget_1.png?raw=true)

### 效果